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:
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 :(
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
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
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.)
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.
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
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!