Site issues [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
eXcaliburN
Forum Members
Forum Members
Posts: 13
Joined: Thu Sep 08, 2011 6:23 am

Site issues [solved]

Post 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/
Last edited by eXcaliburN on Fri Aug 02, 2013 2:46 am, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Site issues

Post 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.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Site issues

Post 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
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Site issues

Post 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).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
eXcaliburN
Forum Members
Forum Members
Posts: 13
Joined: Thu Sep 08, 2011 6:23 am

Re: Site issues

Post 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!
Last edited by eXcaliburN on Fri Aug 02, 2013 2:45 am, edited 1 time in total.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Site issues

Post 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] ;)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “CMSMS Core”