Loading...
 
Architecture / Installation

Architecture / Installation


Help - Intermitant Fatal Error

posts: 45 United Kingdom

I have just upgrade the server i am running am Mandrake 10.1, MySQL 4.0, Appache 2.0 on. Before, I never had this problem, but now I intermitantly get the following error:

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /var/www/html/*****/tiki-setup_base.php on line 180

where the stars are the particular wiki directory.

If I click on refresh immediately the same error comes up. If I leave the page for a few minutes then refresh, the page that I was on, & not the link I clicked on appears.

I am not sure whether this happens from outside my LAN, but assume it does.

Any suggestions?

Maarten

posts: 45 United Kingdom

Although it isn't the same error message as described in the Tikiwiki requirements document, I have updated my PHP.INI file with memory increase to 32M. I hope this rectifies the fatal error...

Maarten


posts: 2881 United Kingdom

Sounds like PHP is unable to write to /tmp possible down to openbasedir being enabled: InstallTikiUnderSafeMode could help

Damian
http://tikihost.net

posts: 45 United Kingdom

> Sounds like PHP is unable to write to /tmp possible down to openbasedir being enabled: InstallTikiUnderSafeMode could help
>

I looked at this document and found that the base assumptions were not relevant to myself as I have full access to the server. I have also granted all permissions to everyone on the /tmp directory to test and have found that the problem still occurs?

Should I pursue the openbasedir route?

posts: 2881 United Kingdom

> > Sounds like PHP is unable to write to /tmp possible down to openbasedir being enabled: InstallTikiUnderSafeMode could help
> >
>
> I looked at this document and found that the base assumptions were not relevant to myself as I have full access to the server. I have also granted all permissions to everyone on the /tmp directory to test and have found that the problem still occurs?
>
> Should I pursue the openbasedir route?

Depends on the settings within your php.ini

Damian
http://tikihost.net

posts: 45 United Kingdom

> Sounds like PHP is unable to write to /tmp possible down to openbasedir being enabled: InstallTikiUnderSafeMode could help
>
> Damian
> http://tikihost.net

I have tried what is recommended in this document. I have set the smarty.class.php variable to false. I haven't installed the PEAR locally, as I am running 1.8.5 and 1.9.0 (error occurs in both versions) as it states that it is not required in these versions.

I have tried changing the permissions on the /tmp directory to incorporate myself, apache and root. Even with tese settings, I am still coming up with the error message.

Can anybody help?

Maarten


posts: 45 United Kingdom

Thanks Damian, I will look at that as a possible solution as the increase in memory in the PHP.INI file did not work.

A question on your answer, why would it only be intermitant?


posts: 45 United Kingdom

I have ensured that the /tmp file is accessable. Now the error message comes from a different function call.

Fatal error: Call to undefined function: aswign() in /var/www/html/nnef/tiki-setup.php on line 441

Any ideas where this function is defined & why this message is coming up?