Forums / General Questions / Create account returns blank page. Error report included

Create account returns blank page. Error report included

Locked

Views: 9,541

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
8 Dec 2009, 3:00 AM
#1
slappadudle avatar

slappadudle

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Create account returns blank page. Error report included

Hi all.

Create account submission returns a blank page all of a sudden! I have fixed blank pages before by removing empty lines from the bottom of language files but that doesn't seem to work for this one... Can anyone make sense of the errors below?

Thanks.

Notice: Undefined index: ssu in /var/virtual/web/w0757/html/includes/autoload_func.php on line 86

Notice: Undefined index: ssu in /var/virtual/web/w0757/html/includes/autoload_func.php on line 86

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /var/virtual/web/w0757/html/includes/languages/english/email_extras.php on line 103

Notice: Undefined index: customer_id in /var/virtual/web/w0757/html/includes/init_includes/overrides/init_customer_auth.php on line 73

Notice: Undefined index: customer_id in /var/virtual/web/w0757/html/includes/init_includes/overrides/init_customer_auth.php on line 245

Parse error: syntax error, unexpected T_STRING in /var/virtual/web/w0757/html/includes/languages/english/create_account_success.php on line 13

Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0
8 Dec 2009, 3:33 AM
#2
slappadudle avatar

slappadudle

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Re: Create account returns blank page. Error report included

Oh and while we're at it, I'm having a similar problem with another site in development!! But this one affects all pages, making the entire site blank :blink: Homepage error report below.

Appreciate your support :wink:

Notice: Constant TABLE_SUBSCRIBERS already defined in /home/disler/public_html/includes/extra_datafiles/subscription_manager_filenames.php on line 24

Notice: Constant FILENAME_SUBSCRIBE already defined in /home/disler/public_html/includes/extra_datafiles/subscription_manager_filenames.php on line 26

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/disler/public_html/includes/extra_datafiles/subscription_manager_filenames.php:24) in /home/disler/public_html/includes/functions/sessions.php on line 108

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home/disler/public_html/includes/languages/english/email_extras.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /home/disler/public_html/includes/extra_datafiles/subscription_manager_filenames.php:24) in /home/disler/public_html/includes/init_includes/init_templates.php on line 78

Notice: Constant SUBSCRIBE_DUPLICATE_CUSTOMERS_ERROR already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 3

Notice: Constant SUBSCRIBE_DUPLICATE_NEWSONLY_ERROR already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 4

Notice: Constant SUBSCRIBE_DUPLICATE_NEWSONLY_ACCT already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 5

Notice: Constant SUBSCRIBE_DUPLICATE_OTHER_ACCT already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 6

Notice: Constant TEXT_SUBSCRIBER_DEFAULT_NAME already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 9

Fatal error: Call to undefined function zen_get_languages() in /home/disler/public_html/index.php on line 25

Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0
8 Dec 2009, 8:04 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: Create account returns blank page. Error report included

slappadudle:

Parse error: syntax error, unexpected T_STRING in /var/virtual/web/w0757/html/includes/languages/english/create_account_success.php on line 13
Best to start by dealing with the syntax error you've got on line 13 of that file.
Perhaps it's a bad upload? an incomplete file? A wrongly-edited definition? Mismatched quotes? Mismatched { and } braces?

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

8 Dec 2009, 8:07 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Create account returns blank page. Error report included

slappadudle:

Oh and while we're at it,Seems like these are problems with one or more addons you've installed incorrectly.

slappadudle:

Fatal error: Call to undefined function zen_get_languages() ...That means what it says: the file that normally defines the zen_get_languages() function is missing or damaged or altered in a way that has either removed or broken that function.
Maybe an addon has replaced the file, or maybe something didn't upload properly.

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

9 Dec 2009, 3:50 PM
#5
slappadudle avatar

slappadudle

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Re: Create account returns blank page. Error report included

DrByte:

Best to start by dealing with the syntax error you've got on line 13 of that file.
Perhaps it's a bad upload? an incomplete file? A wrongly-edited definition? Mismatched quotes? Mismatched { and } braces?

Thank DrByte, the problem was caused by a misplaced apostrophe!

But the second site is still down. I have tried disabling the add-on but little did I know when installing it (failed to check) that it had overwritten certain files. The add-on is called Newsletter Subscribe.

I had already installed a CSS Drop Menu add-on with no probs. It turns out both add-ons include an override file for tpl_header.php. Could this conflict cause the entire site to produce blank pages?

RM

9 Dec 2009, 5:48 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Create account returns blank page. Error report included

If the one you uploaded contains a PHP error, yes.
What's the debug log saying now?

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

9 Dec 2009, 11:56 PM
#7
slappadudle avatar

slappadudle

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Re: Create account returns blank page. Error report included

DrByte:

If the one you uploaded contains a PHP error, yes.
What's the debug log saying now?

Same same but different :wacko:

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home/disler/public_html/includes/languages/english/email_extras.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /home/disler/public_html/includes/languages/english/email_extras.php:103) in /home/disler/public_html/includes/init_includes/init_templates.php on line 78

Notice: Constant SUBSCRIBE_DUPLICATE_CUSTOMERS_ERROR already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 3

Notice: Constant SUBSCRIBE_DUPLICATE_NEWSONLY_ERROR already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 4

Notice: Constant SUBSCRIBE_DUPLICATE_NEWSONLY_ACCT already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 5

Notice: Constant SUBSCRIBE_DUPLICATE_OTHER_ACCT already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 6

Notice: Constant TEXT_SUBSCRIBER_DEFAULT_NAME already defined in /home/disler/public_html/includes/languages/english/extra_definitions/subscription_manager_extra_definitions.php on line 9

Fatal error: Call to undefined function zen_get_languages() in /home/disler/public_html/index.php on line 49

Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0
10 Dec 2009, 12:14 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Create account returns blank page. Error report included

slappadudle:

Fatal error: Call to undefined function zen_get_languages() in /home/disler/public_html/index.php on line 49
Well, again, since a proper index.php which would be directly in the public_html folder doesn't make any reference to zen_get_languages, you still clearly have the wrong index.php file there.

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

10 Dec 2009, 2:40 AM
#9
slappadudle avatar

slappadudle

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Re: Create account returns blank page. Error report included

DrByte:

Well, again, since a proper index.php which would be directly in the public_html folder doesn't make any reference to zen_get_languages, you still clearly have the wrong index.php file there.

CORRECT!! It seems that file was somehow overwritten by mistake. Thanks for your help Doc, awesome :clap: