Page 1 of 1

how to deal with this message

Posted: Wed May 27, 2009 2:32 pm
by kenzhu911
I got this message on my admin after I upload my ccount, what I can do?

Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path(s): (/home/boryah/:/tmp:/usr/local/lib/php/) in /usr/home/mysitename/domains/mysitenam.com/public_html/ccount/index.php on line 40

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /usr/home/mysitename/domains/mysitename.com/public_html/ccount/index.php on line 40

Posted: Wed May 27, 2009 2:52 pm
by Klemen
Contact your host and ask them to fix PHP sessions (they aren't working because the session.save_path is set to "/var/tmp/" but due to open_basedir enabled PHP scripts can't read inside that directory).