exitbuy Posted January 10, 2005 Posted January 10, 2005 Hi My Home of My Shop Gives Me Errors Error Message is Fatal error: Cannot redeclare tep_session_recreate() (previously declared in \\premfs18\sites\premium18\satishkumar\webroot\Shop\includes\functions\sessions.php:178) in \\premfs18\sites\premium18\satishkumar\webroot\Shop\includes\functions\sessions.php on line 222 My homepage URL is www.exitbuy.com/shop What Can I Do For This. Regards, Satish Kumar ExitBuy.Com
Simmy Posted January 10, 2005 Posted January 10, 2005 Hi My Home of My Shop Gives Me Errors Error Message is Fatal error: Cannot redeclare tep_session_recreate() (previously declared in \\premfs18\sites\premium18\satishkumar\webroot\Shop\includes\functions\sessions.php:178) in \\premfs18\sites\premium18\satishkumar\webroot\Shop\includes\functions\sessions.php on line 222 My homepage URL is www.exitbuy.com/shop What Can I Do For This. Regards, Satish Kumar ExitBuy.Com <{POST_SNAPBACK}>
Simmy Posted January 10, 2005 Posted January 10, 2005 There's no end to your problems is there? looks like you've got two instances of that function in the same file! Get Beyond Compare (www.scootersoftware.com) text compare tool and a copy of the default osc installation and compare you'ye screwed site with the original files. It'll save you a lot of time and it's a great tool for osc development!
exitbuy Posted January 10, 2005 Author Posted January 10, 2005 You Told me I have Two instances of function file Where is the How Do I Find.. Regards, Satish Kumar
Simmy Posted January 10, 2005 Posted January 10, 2005 open the file and do a find for the function 'tep_session_recreate'! But seriously, there's been so many probs with you're site the errors could be anywhere, they're not always where they say they are. Get a text compare tool and it'l be much easier for you to find them!
exitbuy Posted January 10, 2005 Author Posted January 10, 2005 OKk The Code Is // <<< END REGISTER_GLOBALS return session_destroy(); } function tep_session_recreate() { if (PHP_VERSION >= 4.1) { $session_backup = $_SESSION; unset($_COOKIE[tep_session_name()]); tep_session_destroy(); if (STORE_SESSIONS == 'mysql') { session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy', '_sess_gc'); } Is This Correct Reagrds, Satish Kumar
exitbuy Posted January 10, 2005 Author Posted January 10, 2005 let Me Tell That Since My REGISTER_GLOBALS is turned off I Had To Use The Patch below http://www.oscommerce.com/community/contributions,2097 Can You Tell If There is Any Problem. Regards, Satish Kumar
Simmy Posted January 10, 2005 Posted January 10, 2005 Sorry, can't help you again. Go to the support thread for this contribution! http://www.oscommerce.com/forums/index.php?&showtopic=93343
Simmy Posted January 10, 2005 Posted January 10, 2005 I Am Trying...Regards, Satish Kumar <{POST_SNAPBACK}> Quiet time on the forum. Most of the world is asleep!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.