Jump to content
Sign in to follow this  
timmay

Made error with purchase without account/help if you can

Recommended Posts

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


www.raffleland.com

Share this post


Link to post
Share on other sites

did you tried to look at those line numbers ???

 

it is just not possible to declare them TWICE with loading the osC


Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Share this post


Link to post
Share on other sites
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 ;)


Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Share this post


Link to post
Share on other sites

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();

}

}

?>


www.raffleland.com

Share this post


Link to post
Share on other sites

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


--

 

http://www.auctionpals.com

 

Long Distance as low as 2.9 cents

http://www.phonecow.com

Share this post


Link to post
Share on other sites

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


www.raffleland.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×