Thush Posted October 9, 2008 Posted October 9, 2008 Hi, I am getting an error message like below on my website Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32319 is not allowed to access /tmp owned by uid 0 in /home/ddgraphi/public_html/includes/functions/sessions.php on line 162 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ddgraphi/public_html/includes/functions/sessions.php:162) in /home/ddgraphi/public_html/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ddgraphi/public_html/includes/functions/sessions.php:162) in /home/ddgraphi/public_html/includes/functions/sessions.php on line 97 Can any one please help me to fix this up also I do not have much knowledge about this. Thanks Thushara
shooter-boy Posted October 10, 2008 Posted October 10, 2008 That's the long and drawn out answer... Just change your configuration options for tmp and session handlers to non-root directories. So /tmp should be just tmp etc. That's all there is to it - the errors magically go away :D Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
Thush Posted October 10, 2008 Author Posted October 10, 2008 Thank you all for your kind support ! Its working now. Changed the /tmp to tmp. I never thought "/ " make a this much of trouble Thank you again. Thush
shooter-boy Posted October 10, 2008 Posted October 10, 2008 Yeah, it's because /tmp is trying to use the root /tmp directory, but for security on shared servers, this is not allowed. Unfortunately the default configuration for oscommerce has /tmp in the config options, so the issue pops up all the time :D Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.