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.
Code:
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
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:
Code:
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
Re: Create account returns blank page. Error report included
Quote:
Originally Posted by
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?
Re: Create account returns blank page. Error report included
Quote:
Originally Posted by
slappadudle
Oh and while we're at it,
Seems like these are problems with one or more addons you've installed incorrectly.
Quote:
Originally Posted by
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.
Re: Create account returns blank page. Error report included
Quote:
Originally Posted by
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
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?
Re: Create account returns blank page. Error report included
Quote:
Originally Posted by
DrByte
If the one you uploaded contains a PHP error, yes.
What's the debug log saying now?
Same same but different :wacko:
Code:
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
Re: Create account returns blank page. Error report included
Quote:
Originally Posted by
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.
Re: Create account returns blank page. Error report included
Quote:
Originally Posted by
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: