Guest Posted December 9, 2005 Posted December 9, 2005 Hello, I am a new user so hope you can help. I am using brinkster as my web host. I have installed the site and it showing up ok on my web space except i get 3 error messages at the top of the screen. They begin Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent Can anyone explain what i need to do to fix these issues. Thanks.
Kjolebutikken Posted December 9, 2005 Posted December 9, 2005 Hello, I am a new user so hope you can help. I am using brinkster as my web host. I have installed the site and it showing up ok on my web space except i get 3 error messages at the top of the screen. They begin Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent Can anyone explain what i need to do to fix these issues. Thanks. Hi, I had same troublle and did this: ....... Cause : Previous bug in PHP fixed in latest version (Chances are your ISP has updated to the new version) Fix: Goto Admin / Configuration / Sessions and change the "Sessions Directory" to tmp (no slashes) If you can't get into Admin, goto your Database Admin page (usually PhPAdmin app.) Click on any table on the left hand side. Click on SQL at the top of the screen Overtype whatever appears in the SQL window with ... UPDATE configuration SET configuration_value = 'tmp' WHERE configuration_key='SESSION_WRITE_DIRECTORY' Click GO ........... God luck Kjolebutikken Best regards Kjolebutikken
♥Vger Posted December 10, 2005 Posted December 10, 2005 The problem has nothing to do with the above post. Your hosting company is running PHP in Safe Mode. This means that you have to supply a full pathway to the 'tmp' folder in osC Admin --> Configuration --> Sessions - even if you have set your configure.php files to store sessions in the database and not in files. Look in one of the configure.php files for the full DIR_FS pathway. Let's say, as an example only, that it's /var/www/htdocs/ This would make the pathway you have to input into osC Admin --> Configuration --> Sessions /var/www/htdocs/tmp/ Vger
AlanR Posted December 10, 2005 Posted December 10, 2005 The problem has nothing to do with the above post. Your hosting company is running PHP in Safe Mode. This means that you have to supply a full pathway to the 'tmp' folder in osC Admin --> Configuration --> Sessions - even if you have set your configure.php files to store sessions in the database and not in files. Actually he's right. We had a user yesterday in this thread: http://www.oscommerce.com/forums/index.php?sho...45entry754745 with the same old problem and he dug out the real cause and the solution. I pointed kjolebutikken to that thread and it solved the problem for him. It's much simpler than posting a longer, more complicated answer. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
AlanR Posted December 10, 2005 Posted December 10, 2005 I added a thread to Tips & Tricks with the solution so as to make it easy to point to and find. http://www.oscommerce.com/forums/index.php?showtopic=184484 Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.