Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Solution: Opern_basedir Restriction In Effect


No replies to this topic

Poll: SUCCESS?

Did this work?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote Guests cannot vote

#1 Kedishen

    Newbie

  • Kontributors
  • Pip
  • 0 posts

Posted 10 December 2008 - 02:46 AM

Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(/home/rifqi96/tmp) is not within the allowed path(s): (/home/...:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/.../public_html/brockworthnews.com/include/session.php on line 47

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


SOLUTION
In the .htaccess in your public_html folder, put:

php_value session.save_path /home/USERLOGIN/tmp
(Where it says USERLOGIN, put the login you use to access cpanel.
Example:(/home/moose:/usr/lib/php:/usr/local/lib/php:/tmp) in
/home/moose)
His login would be moose )


I believe this is an error on behalf of hosting provider. Looks like somebody hasn't set the tmp file location.. or perhaps its just a bug. I dunno. Anyhow, its fixed if you do what i wrote above.






Edited by Kedishen, 10 December 2008 - 02:54 AM.





Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users