Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Error when creating new accounts

    Hey guys having problems when creating new accounts.

    I fill in the form correctly but when i hit submit i get:

    PHP Code:
    Warningsession_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id headers already sent in /includes/functions/sessions.php on line 162

    Warning
    Cannot modify header information headers already sent by (output started at /includes/languages/english/create_accountold.php:105in /includes/functions/functions_general.php on line 44 
    Not sure what ive done as i havent changed any of the php pages mentioned in the error message.

    Any clues would be much appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error when creating new accounts

    Quote Originally Posted by hencore View Post
    Warning: Cannot modify header information - headers already sent by (output started at /includes/languages/english/create_accountold.php:105) in ...
    Your error is in your /includes/languages/english/create_accountold.php file.
    By the name you've given it, you probably expected that to be treated as a backup file, but, since its filename starts the same as the original, both files are getting loaded.

    The rule is: Don't leave backup .php files on the server.
    If you *must* rename a file, rename the .php part to .php1 or .bak or .old or .orig .... but NOT .php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Error when creating new accounts

    DrByte thanks a lot.

    It was a case of I couldn’t see the wood for the trees

    What I had actually done was renamed create_account to create_accountold and copied in an unmodified version from another site to see if that was the problem.

    I was stumped when I got what I thought was the same error message, not noticing it was continuing to look at the old version even though it had been renamed. It obviously looks for "create_account" regardless of any additions to the name?

    Deleting that old renamed file has fixed the issue, thank you.

 

 

Similar Threads

  1. v154 Error message when creating new items on menu bar
    By AbbyTan in forum General Questions
    Replies: 1
    Last Post: 16 Sep 2015, 02:21 AM
  2. Error 500 when creating a new account
    By OldToot in forum Managing Customers and Orders
    Replies: 5
    Last Post: 15 Oct 2011, 07:04 PM
  3. Fatal Error when creating new customer
    By ejones in forum Managing Customers and Orders
    Replies: 0
    Last Post: 6 Dec 2009, 06:12 PM
  4. Error when creating new account
    By sinsor in forum Managing Customers and Orders
    Replies: 1
    Last Post: 17 Nov 2009, 10:14 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR