timmay Posted March 26, 2003 Share Posted March 26, 2003 Hi , i installed purchase without account con, and i now get this error. Fatal error: Cannot redeclare tep_session_start() (previously declared in /home/tnovakow/public_html/cart/includes/functions/sessions.php:67) in /home/tnovakow/public_html/cart/includes/functions/sessions.php on line 66 please help if possible. i would really like this option thanks Quote www.raffleland.com Link to comment Share on other sites More sharing options...
timmay Posted March 26, 2003 Author Share Posted March 26, 2003 Any help would be greatly appreciated :? Quote www.raffleland.com Link to comment Share on other sites More sharing options...
Druide Posted March 26, 2003 Share Posted March 26, 2003 did you tried to look at those line numbers ??? it is just not possible to declare them TWICE with loading the osC Quote Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Druide Posted March 26, 2003 Share Posted March 26, 2003 Hi , i installed purchase without account con, and i now get this error. Fatal error: Cannot redeclare tep_session_start() (previously declared in /home/tnovakow/public_html/cart/includes/functions/sessions.php:67) in /home/tnovakow/public_html/cart/includes/functions/sessions.php on line 66 please help if possible. i would really like this option thanks Mr Novakow, please copy/paste line 63 - 70 from cart/includes/functions/sessions.php that would be easier for everyone to give an answer ;) Quote Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
timmay Posted March 26, 2003 Author Share Posted March 26, 2003 Here is lines 50 through 130 i pasted these becuase 60 -70 did not have any thing about tep_session_start(). expiry = '" . $expiry . "', value = '" . $value . "' where sesskey = '" . $key . "'"); } else { return tep_db_query("insert into " . TABLE_SESSIONS . " values ('" . $key . "', '" . $expiry . "', '" . $value . "')"); } } function _sess_destroy($key) { return tep_db_query("delete from " . TABLE_SESSIONS . " where sesskey = '" . $key . "'"); } function _sess_gc($maxlifetime) { tep_db_query("delete from " . TABLE_SESSIONS . " where expiry < '" . time() . "'"); return true; } session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy', '_sess_gc'); } function tep_session_start() { return session_start(); } function tep_session_register($variable) { return session_register($variable); } function tep_session_is_registered($variable) { return session_is_registered($variable); } function tep_session_unregister($variable) { return session_unregister($variable); } function tep_session_id($sessid = '') { if ($sessid != '') { return session_id($sessid); } else { return session_id(); } } function tep_session_name($name = '') { if ($name != '') { return session_name($name); } else { return session_name(); } } function tep_session_close() { if (function_exists('session_close')) { return session_close(); } } function tep_session_destroy() { return session_destroy(); } function tep_session_save_path($path = '') { if ($path != '') { return session_save_path($path); } else { return session_save_path(); } } ?> Quote www.raffleland.com Link to comment Share on other sites More sharing options...
heyday Posted March 26, 2003 Share Posted March 26, 2003 I had this same problem... I've noticed from the readme.txt file that it says to replace these files... /catalog/includes/modules/languages/english/login.php /catalog/includes/modules/languages/english/images/buttons/button_create_account.gif But in the current snapshot they do not exists. When I installed everything I got an after entering the contact info about something about error encrypting password..... heyday Quote -- http://www.auctionpals.com Long Distance as low as 2.9 cents http://www.phonecow.com Link to comment Share on other sites More sharing options...
timmay Posted March 26, 2003 Author Share Posted March 26, 2003 I did see that myself but figured since it said that is working with new version that it was an wording error. But any help would be greatly appreciated on this.Somebody has to know how to fix this error. thanks Quote www.raffleland.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.