Getting Error: Warning: session_start...

5 posts by 2 authors in: Forums > CMS Builder
Last Post: July 29, 2010   (RSS)

By ScottL - July 29, 2010 - edited: July 29, 2010

Any idea what is causing this error message? I've checked all the permissions.


Warning: session_start(): open(/var/php_sessions/sess_f90adda248cf43dd23469041a991ddf5, O_RDWR) failed: No such file or directory (2) in /hermes/bosweb/web149/b1492/XXX.XXX/public_html/cmsAdmin/lib/init.php on line 319 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web149/b1492/XXX.XXX/public_html/cmsAdmin/lib/init.php:319) in /hermes/bosweb/web149/b1492/XXX.XXX/public_html/cmsAdmin/lib/init.php on line 319



thanks

Re: [Jason] Getting Error: Warning: session_start...

By ScottL - July 29, 2010

I tried that with no success. I found another post specific to this same error and the web host PHP set-up. I've sent them an email to see if it's an issue.

http://www.interactivetools.com/forum/gforum.cgi?post=74637;search_string=Warning:%20Unknown:%20open(/var/php_sessions/sess;#74637

My php file is attached.

Thanks

Re: [thinkng] Getting Error: Warning: session_start...

By ScottL - July 29, 2010

Fixed it. I went into the php.ini file and made this change:

LOOK FOR THIS LINE:
;session.save_path = "/tmp"


CHANGE:
remove the ; and change the /tmp to a path to a folder on your website.

In CMS Builder, if you go to: Admin > General > Program Directory, it will list the filepath for the directory CMS Builder is in, such as:
/var/www/vhosts/yourdomain.com/httpdocs/cmsAdmin

If that was your path, you'd want to create a directory here and use this path:
/var/www/vhosts/yourdomain.com/php_sessions

You need to also create the new folder where the filepath points to!


It's working as usual now. Thanks!

Re: [thinkng] Getting Error: Warning: session_start...

By Jason - July 29, 2010

Hi,

That's great! Glad that everything is working for you now.

Thanks for posting a solution.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/