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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
|
#2
| |||
| |||
| 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 |
| Thread Tools | |
| |
| ||||
| 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 |