Forums / General Questions / Blank page after moving create_account.php to override folder

Blank page after moving create_account.php to override folder

Locked

Started by dcschan on 28 Apr 2007, 3:08 AM · Views: 5,615

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Apr 2007, 3:08 AM
#1
dcschan avatar

dcschan

New Zenner

Join Date:
Nov 2006
Posts:
26
Plugin Contributions:
0

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!

28 Apr 2007, 3:19 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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?

Zen-Venom Get Bitten

28 Apr 2007, 6:49 AM
#3
dcschan avatar

dcschan

New Zenner

Join Date:
Nov 2006
Posts:
26
Plugin Contributions:
0

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!

28 Apr 2007, 8:34 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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

dcschan:

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

28 Apr 2007, 8:49 AM
#5
dcschan avatar

dcschan

New Zenner

Join Date:
Nov 2006
Posts:
26
Plugin Contributions:
0

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:clap: