osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Fatal error in sessions.php when creating a new account

This is a discussion on Fatal error in sessions.php when creating a new account within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, I am new at this and just installed and have been adding some mods, which may have led to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-13-2003, 12:28 AM
f10 f10 is offline
Lurker
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
f10
Default Fatal error in sessions.php when creating a new account

Hello, I am new at this and just installed and have been adding some mods, which may have led to this error, but I didn't modify sessions.php.
I must have made an error while installing the United States Format Mod.

When I try to enter a new account (for testing) I get this error message:

Fatal error: Cannot redeclare tep_session_start() (previously declared in /home/myusername/public_html/catalog/includes/functions/sessions.php67) in/home/myusername/catalog/includes/functions/sessions.php on line 68

Any clues would be appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-14-2003, 10:11 PM
f10 f10 is offline
Lurker
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
f10
Default

I found the problem!

While auditing the osc files and my mods and noted that there are two versions of the create_account_process.php file. One in catalog/ and one in catalog/includes/languages/english/ (also one for each language). In fact most of the files in those folders have the same file names but are not the same file.

I had accidentally uploaded the version from the catalog/ folder to the english/ folder. Therefore tep_session_start() was getting called twice.

I hope my mishap helps others. It is not that hard a mistake to make.

Randy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Creating an account Milmod osCommerce 2.2 Installation Help 0 09-05-2005 08:30 PM
1064 error when creating new account CTapia osCommerce 2.2 Installation Help 2 10-01-2004 02:20 AM
Runtime error when creating account kjscannondale osCommerce 2.2 Installation Help 9 07-03-2004 04:39 PM
Buying without creating an account???? streby osCMax v1.7 General Mods Discussion 12 05-16-2004 11:57 AM
Error when creating account herwig osCommerce 2.2 Installation Help 1 12-14-2003 11:19 AM


All times are GMT -8. The time now is 07:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax