Jump to content

Xoops And Tch Php 5 Update


Recommended Posts

Hi,

 

My XOOPS website stopped working when PHP was upgraded lately to 5 version with a "Fatal error: Unknown: Cannot find save handler files in Unknown on line 0"

 

Just for anyone interested I solved it by editiing mainfile.php and adding:

 

ini_set('session.save_handler', 'files');

ini_set('session.save_path', '/home/username/tmp/');

 

And the most important, set NO in persistent connection.

 

// Use persistent connection? (Yes=1 No=0)

// Default is 'Yes'. Choose 'Yes' if you are unsure.

define('XOOPS_DB_PCONNECT', 0);

 

Hope this helps anybody.

 

Cheers.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...