envy2000 Posted May 9, 2003 Posted May 9, 2003 Cart was always empty. Now it finally works. Thanks to all who tried helping. raq3 php 4.2.3 Apache/1.3.6 (Unix) register_globals = On In .../catalog/includes/functions/sessions.php, I changed this: function tep_session_close() { if (function_exists('session_close')) { return session_close(); } } to this: function tep_session_close() { if (function_exists('session_write_close')) { return session_write_close(); } if (function_exists('session_write')) { session_write(); } if (function_exists('session_close')) { return session_close(); } } That seems to have helped. It looks like the PHP session API has changed somewhat. The existing code avoids crashing with "undefined function" when it's missing, but it doesn't try any alternatives, so the session never gets saved.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.