Results 1 to 2 of 2

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 ...

      
  1. #1
    f10
    f10 is offline
    Lurker
    Join Date
    Jun 2003
    Posts
    2
    Rep Power
    0


    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.

  2. #2
    f10
    f10 is offline
    Lurker
    Join Date
    Jun 2003
    Posts
    2
    Rep Power
    0


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •