Page 1 of 1

Site issues [solved]

Posted: Mon Jul 29, 2013 1:16 pm
by eXcaliburN
Hey all,

Using CMSMS 1.11.7 - Getting this error instead of my site.
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 2545 is not allowed to access /tmp owned by uid 0 in /home/bananaba/public_html/include.php on line 51

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/bananaba/public_html/include.php on line 51


AND getting this at the top of my admin area (admin still works though)
Warning: session_start() [function.session-start]: open(/tmp/sess_dacf7c65d2ae27d9509108322f21ea54, O_RDWR) failed: No space left on device (28) in /home/bananaba/public_html/include.php on line 51

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/bananaba/public_html/include.php:51) in /home/bananaba/public_html/include.php on line 51



I've been having issues for the last few days, it's crashed completely a few times. So bad I had to go into cPanel /public_html/tmp/cache and delete all the files there just to get the pages to load.
That's no longer a functioning workaround

Added a php.ini with memory_limit = "128M" hoping that will help...

I'm using a reseller hosting package that has been pretty good to me and my clients so far, but this is for an event that I'm running and it's been pretty popular so I'm not sure what's happening... If it's the CMS being overloaded by users, or the server, or both.

Anyway, I've been having a pretty bad week constantly clearing the cache and getting calls asking why it's not working - any help would be greatly appreciated. I'm in Australia, so it's bed time for me unfortunately; but I will check here in the morning!
Again, thank you for any help!

If it helps; URL: http://bananabash.com.au/

Re: Site issues

Posted: Mon Jul 29, 2013 2:02 pm
by velden
I *think* you should contact your provider and ask them to clean up some space.

It looks like there's not enough space for cmsms to safe session cookies.

Ask them too if that can cause the first warning, which suggests another issue.

Re: Site issues

Posted: Mon Jul 29, 2013 2:44 pm
by Jo Morg
eXcaliburN wrote:Using CMSMS 1.11.7 - Getting this error instead of my site.Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 2545 is not allowed to access /tmp owned by uid 0 in /home/bananaba/public_html/include.php on line 51
Try to set SAFE MODE to off on php.ini.
SAFE MODE usually is more of a headache than a benefit, IMO.

http://ca.php.net/manual/en/ini.sect.safe-mode.php

Re: Site issues

Posted: Mon Jul 29, 2013 5:27 pm
by calguy1000
joMorg is correct:

it appears that your host is improperly setup. Going through the system information, or the second step of the install process would tell you this.

a: CMSMS does not support safe mode. Make sure it is disabled
b: Adjust your session.save_path to a location writable by your web server's user account. Depending on your server config (which we know nothing about) you can adjust it in the .htaccess or one (or more) php.ini files.
(there's lots of stuff about this on google).

Re: Site issues

Posted: Thu Aug 01, 2013 2:32 pm
by eXcaliburN
Added the php.ini with safe mode, and rectified the other config issues to what CMSMS recommends.
It's all working now.

Also; http://www.php.net/manual/en/ini.sect.s ... .safe-mode

^ Safe mode going to be deprecated / removed - Will that cause or solve more issues in future?

Edit: Forgot to add a huge thank you for all of your help, how terribly rude of me.
Thank you all very much!

Re: Site issues

Posted: Thu Aug 01, 2013 2:45 pm
by Jo Morg
eXcaliburN wrote:^ Safe mode going to be deprecated / removed - Will that cause or solve more issues in future?
As removed will be the same as OFF/disabled.... :)
calguy1000 wrote:a: CMSMS does not support safe mode. Make sure it is disabled
Please add [Solved] ;)