Guest Posted February 23, 2003 Share Posted February 23, 2003 Hi: Getting the following message when I start admin. Any suggestions. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/sperwill/public_html/chinecusa/admin/includes/configure.php:56) in /home/sperwill/public_html/chinecusa/admin/includes/functions/sessions.php on line 67 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sperwill/public_html/chinecusa/admin/includes/configure.php:56) in /home/sperwill/public_html/chinecusa/admin/includes/functions/sessions.php on line 67 Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted February 23, 2003 Share Posted February 23, 2003 Try setting session.auto_start to 0. http://www.php.net/manual/en/ref.session.php Christian Lescuyer Link to comment Share on other sites More sharing options...
Ajeh Posted February 24, 2003 Share Posted February 24, 2003 I broke the heck out of my shops turning that to a value rather than 0 last month or so. :shock: Thought I was gonna die until I realized what the heck I had my hosting guy do for me that was such a bad, bad, bad ... really bad idea to suggest when fooling with settings. Really bad idea ... :roll: Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted February 24, 2003 Share Posted February 24, 2003 Not sure what you mean? Christian Lescuyer Link to comment Share on other sites More sharing options...
Ajeh Posted February 24, 2003 Share Posted February 24, 2003 That when I do not use: session.auto_start to 0 it messes up the shop terribly. Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted February 24, 2003 Share Posted February 24, 2003 Oh right. Sorry I was confused. This is one of the settings you have to set correctly in php.ini or a .htaccess file. You can't set it in the PHP code, it's too late! Christian Lescuyer Link to comment Share on other sites More sharing options...
etilley Posted February 26, 2003 Share Posted February 26, 2003 Hi - I get the same error on my win2k/IIS installation of MS1 and my session.auto_start in php.ini is already 0. The references in the php.net session discussion point to a bug in php that OSCommerce is tripping over. Any other ideas out there? Ed Ed Link to comment Share on other sites More sharing options...
etilley Posted February 26, 2003 Share Posted February 26, 2003 Setting auto session to 1 fixed the problem folks. Thanks very much ! Ed Ed Link to comment Share on other sites More sharing options...
etilley Posted February 26, 2003 Share Posted February 26, 2003 After fixing my session problem, I later had to go into application_top.php and remove the if (PHP_VERSION < 4) condition at line 288. Seems to work well now - will keep you posted. Ed Ed Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.