Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    26
    Plugin Contributions
    0

    Default Blank page after moving create_account.php to override folder

    Hi,

    I have a problem when copying create_account.php to the override directory, upon creating a new account, I get forwarded to a blank page. This happens even if I do not modify the create_account.php file. The welcome email actually gets sent succesfully and also appears in "Admin->Tools->Email Welcome", just that after creating an account, I do not get forwarded to the confirmation screen.

    If I delete the file from the override directory, everything works back to normal.

    Does anyone have any idea how I may fix this?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Blank page after moving create_account.php to override folder

    Either provide more detail on what you are doing or a url to the site as most here will not post to one that does not provide enough to go on(we do not like to guess)...

    what template are you using?
    what directory is it in "name"
    what dir did you copy the override to?

    Have you tried to do this with the classic template active?
    Does this work?

  3. #3
    Join Date
    Nov 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Blank page after moving create_account.php to override folder

    Sorry, the url is http://www.thebooktrove.com . I'm using the nifty zen template, and it works with the classic template.

    The problem is when I try to change the welcome email by copying create_account.php to the override directory "booktrove", and modifying it. After this, whenever I create a new account, I get forwarded to a blank url instead of the confirmation screen. But the welcome email gets sent successfully and it also appears successfully in Admin->Tools->Email Welcome.

    I tried not modifying create_account.php and just copying the original to the override directory and the problem still persists. Deleting the file from the override directory fixes it the blank page problem.

    I checked the error logs and see this error there:

    [Fri Apr 27 20:43:53 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/thebookt/public_html/includes/languages/english/booktrove/create_account.php:142) in /home/thebookt/public_html/includes/functions/functions_general.php on line 44 [Fri Apr 27 20:43:53 2007] [error] PHP Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Cannot send session cookie - headers already sent by (output started at /home/thebookt/public_html/includes/languages/english/booktrove/create_account.php:142) in /home/thebookt/public_html/includes/functions/sessions.php on line 156 [Fri Apr 27 20:43:28 2007] [error] [client 155.69.2.5] File does not exist: /home/thebookt/public_html/404.shtml [Fri Apr 27 20:43:28 2007] [error] [client 155.69.2.5] File does not exist: /home/thebookt/public_html/niftyCorners.css



    Any help is appreciated. Thanks!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Blank page after moving create_account.php to override folder

    Quote Originally Posted by dcschan View Post
    [Fri Apr 27 20:43:53 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/thebookt/public_html/includes/languages/english/booktrove/create_account.php:142
    Here's an FAQ on how to deal with the causes of that error message:
    https://www.zen-cart.com/tutorials/index.php?article=87
    .

    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.

  5. #5
    Join Date
    Nov 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Blank page after moving create_account.php to override folder

    my god...i've been trying to fix this for 2 weeks!!! can't believe it's solved now!

    thank you thank you thank you

 

 

Similar Threads

  1. index.php?main_page=create_account is blank / shows a white page
    By Monsunemoon in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2012, 05:28 AM
  2. v138a Moving to another folder, main page blank
    By ribow in forum General Questions
    Replies: 7
    Last Post: 26 Jun 2012, 03:08 PM
  3. blank page after renaming admin folder
    By gbengoose in forum Basic Configuration
    Replies: 10
    Last Post: 10 Nov 2010, 09:54 AM
  4. index.php?main_page=create_account is blank
    By mynullvoid in forum Addon Language Packs
    Replies: 4
    Last Post: 22 Nov 2009, 07:10 PM
  5. Spanish.php override makes page blank
    By Nugar in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Dec 2007, 06:11 PM

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