Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Posts
    24
    Plugin Contributions
    0

    Default Define Email Text Errors.

    Aaaauuugh!

    Ok, so all I'm trying to do is change the text in the email which is delivered to a user after creating an account. I am copying: languages/english/create_account.php and overriding it with: languages/english/custom/create_account.php ... Brilliant!

    However, everytime I change define ('EMAIL_TEXT') and then create a new account I get a shed load of errors such as:

    Warning: session_regenerate_id(): Cannot send session cookie - headers already sent by (output started at /public_html/includes/languages/english/custom/create_account.php:105) in /public_html/includes/functions/sessions.php on line 154

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /public_html/includes/languages/english/custom/create_account.php:105) in /public_html/includes/functions/sessions.php on line 162


    The account is successfully created and the email is delivered.. but why oh why do I receive these errors rather than the "Congratulations.. your account has been created" screen!!??

    More weirdly... once I have edited my custom/create_account.php and then seen the above errors.. I can ctrl+Z the file back to its original state - reupload it and it still fires these errors back at me! If I put a new version of create_account.php into /custom/ it works fine!!!!????

    Please help somebody.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Define Email Text Errors.

    Quote Originally Posted by Webbo1969
    /includes/languages/english/custom/create_account.php:105
    blank line or white space at the line number indicated in the reported filename
    .

    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
    Aug 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: Define Email Text Errors.

    Thanks doc... u rule.

 

 

Similar Threads

  1. Changing text colour in centrebox & Define Pages Editor problem with text
    By annav in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Oct 2010, 10:55 AM
  2. Define Pages Editor errors
    By Scarlet in forum Customization from the Admin
    Replies: 8
    Last Post: 21 Apr 2009, 11:20 PM
  3. Define PayPal Errors
    By CrystalKoi in forum PayPal Website Payments Pro support
    Replies: 7
    Last Post: 27 Sep 2008, 04:32 AM
  4. text errors
    By jharvie in forum General Questions
    Replies: 7
    Last Post: 30 Mar 2008, 03:26 AM

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