Forums / General Questions / Blank page when I press send in the contact us page!!

Blank page when I press send in the contact us page!!

Locked

Started by joudesign on 29 Aug 2009, 9:41 AM · Views: 3,411

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
29 Aug 2009, 9:41 AM
#1
joudesign avatar

joudesign

New Zenner

Join Date:
Jan 2009
Posts:
48
Plugin Contributions:
0

Blank page when I press send in the contact us page!!

Hello

I have a real problem, few days before launching, I suddenly get a white page when I want to send a contact us form :dontgetit

I tried:
https://www.zen-cart.com/tutorials/index.php?article=82

the errors I see are:

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

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home/jeshop/public_html/includes/languages/french/email_extras.php on line 56

Notice: Constant OTHER_IMAGE_ already defined in /home/jeshop/public_html/includes/languages/french/other_images_names.php on line 35

Notice: Constant OTHER_IMAGE_ already defined in /home/jeshop/public_html/includes/languages/french/other_images_names.php on line 36

Notice: Constant OTHER_IMAGE_ already defined in /home/jeshop/public_html/includes/languages/french/other_images_names.php on line 37

Notice: Constant OTHER_IMAGE_ already defined in /home/jeshop/public_html/includes/languages/french/other_images_names.php on line 38

Notice: Constant BUTTON_IMAGE_GOTO_PROD_DETAILS already defined in /home/jeshop/public_html/includes/languages/french/other_images_names.php on line 44

Notice: Constant BUTTON_GOTO_PROD_DETAILS_ALT already defined in /home/jeshop/public_html/includes/languages/french/other_images_names.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /home/jeshop/public_html/includes/local/configure.php:1) in /home/jeshop/public_html/includes/init_includes/init_templates.php on line 78

Notice: Constant HEADING_TITLE already defined in /home/jeshop/public_html/includes/languages/french/contact_us.php on line 15

Notice: Undefined index: customer_id in /home/jeshop/public_html/includes/modules/pages/contact_us/header_php.php on line 23

Notice: Undefined index: EMAIL_TO_NAME in /home/jeshop/public_html/includes/functions/functions_email.php on line 83

Notice: Undefined index: EMAIL_TO_ADDRESS in /home/jeshop/public_html/includes/functions/functions_email.php on line 84

Notice: Undefined index: EMAIL_SUBJECT in /home/jeshop/public_html/includes/functions/functions_email.php on line 85

Notice: Undefined index: EMAIL_FROM_NAME in /home/jeshop/public_html/includes/functions/functions_email.php on line 86

Notice: Undefined index: EMAIL_FROM_ADDRESS in /home/jeshop/public_html/includes/functions/functions_email.php on line 87

Notice: Undefined variable: email_reply_to_address in /home/jeshop/public_html/includes/functions/functions_email.php on line 219

Notice: Undefined variable: email_reply_to_name in /home/jeshop/public_html/includes/functions/functions_email.php on line 220

Warning: Cannot modify header information - headers already sent by (output started at /home/jeshop/public_html/includes/local/configure.php:1) in /home/jeshop/public_html/includes/functions/functions_general.php on line 44

my page:
jeshop.ma/index.php?main_page=contact_us

any clue?:cry:

...........Being zenned............

29 Aug 2009, 10:44 AM
#2
joudesign avatar

joudesign

New Zenner

Join Date:
Jan 2009
Posts:
48
Plugin Contributions:
0

Re: Blank page when I press send in the contact us page!!

I actually receive the email but the client is redirected to a blank page!

I tried a previous backup and still same problem :(

...........Being zenned............

29 Aug 2009, 1:02 PM
#3
dropbop avatar

dropbop

Zen Follower

Join Date:
Apr 2008
Location:
Athlone, Ireland
Posts:
177
Plugin Contributions:
1

Re: Blank page when I press send in the contact us page!!

Go to /public_html/includes/languages/french/email_extras.php & /public_html/includes/languages/french/other_images_names.php.

Open them in your PHP/HTML editor (ie: dreamweaver) and go to the very end of the code. Check to see if there is any blank lines or spaces after the last '?>'

If so remove them and upload back to server.

Sometimes you can get blank pages if this happens.

Hope it helps.

DB

31 Aug 2009, 8:57 AM
#4
joudesign avatar

joudesign

New Zenner

Join Date:
Jan 2009
Posts:
48
Plugin Contributions:
0

Re: Blank page when I press send in the contact us page!!

Thank you dropbop

unfortunatly it didnt solve it

I didnt change any file relatd to sending emails and though I have this embarassing error

i hope somebody can help

...........Being zenned............

25 Nov 2009, 1:15 AM
#5
milky13 avatar

milky13

New Zenner

Join Date:
Nov 2009
Posts:
1
Plugin Contributions:
0

Re: Blank page when I press send in the contact us page!!

I had the same problems with blank pages after a contact us was sent or after logins. Check to see if there is any blank space or text at the end of english.php (Found in /includes/languages).

The last line should end with ?> (With no spaces or lines after.)

2 Jan 2010, 7:53 AM
#6
jahan avatar

jahan

New Zenner

Join Date:
Dec 2009
Location:
North Idaho, USA
Posts:
9
Plugin Contributions:
0

Re: Blank page when I press send in the contact us page!!

Same problem. New install, not live yet. Please help. Usinc ZC Classic template. I have changed permissions as advised in security threads.
Thank you.

Latest version of ZC.

2 Jan 2010, 4:18 PM
#7
jahan avatar

jahan

New Zenner

Join Date:
Dec 2009
Location:
North Idaho, USA
Posts:
9
Plugin Contributions:
0

Re: Blank page when I press send in the contact us page!!

(continued) It seemed to happen after I installed my standard SSL.

Please Help.

ThankYou.
Jahan

10 May 2010, 2:20 PM
#8
jman avatar

jman

New Zenner

Join Date:
Dec 2004
Location:
Austin, TX
Posts:
24
Plugin Contributions:
0

Re: Blank page when I press send in the contact us page!!

Using the debug log (now standard in 1.3.9, but available as an add-on for some previous versions) I discovered a spurious space in

/includes/extra_datafiles/about_filenames.php

after the closing tag. Removing the space allowed the sent success page to show.

BTW, the // EOF idea is good, hopefully it will be propagated throughout the code before too long!