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: [thinkng] Getting Error: Warning: session_start...

By Jason - July 29, 2010

Hi,

On some servers, this problem can be caused by blank spaces at the top of the page. Make sure your <?php tag is at the very top of the page with no blank lines. Also, if you have something that looks like this:

<?php
* SOME CODE*
?>

<?php
*SOME MORE CODE*


at the top of the page, remove the blank line between ?> and <?php. Give this a try. If you're still running into a problem, please attach your .php file to this thread and I'll take a closer look.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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

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 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/