Zen Cart Logo
Forums / General Questions / Contact Us Page

Contact Us Page

Locked

Views: 796

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Sep 2008, 4:13 AM
#1
redjama avatar

redjama

New Zenner

Join Date:
Aug 2008
Posts:
10
Plugin Contributions:
0

Contact Us Page

All of a sudden when people click on my contact us page they get a blank page. I have the description the debug code gave me but I have no idea of what to do to fix this. here is what the debug says:

[05-Sep-2008 20:32:47] PHP Parse error: parse error, unexpected T_STRING in /home/content/r/e/d/redjama1/html/includes/languages/english/contact_us.php on line 29

Like i said im not sure of how to fix the blank page. please help

6 Sep 2008, 4:29 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,615
Plugin Contributions:
0

Re: Contact Us Page

Something in your language file is not working properly - please post that line and the ones above and below it.

6 Sep 2008, 4:39 AM
#3
redjama avatar

redjama

New Zenner

Join Date:
Aug 2008
Posts:
10
Plugin Contributions:
0

Re: Contact Us Page

Line 25: define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME . ');

Line 29: define('ENTRY_NAME', 'Full Name:');

Line 31: define('ENTRY_EMAIL', 'Email Address:');

those lines are the only one with text right above and right below. i dont know how this could have gotten messed up I havent touched any of this

6 Sep 2008, 4:43 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,615
Plugin Contributions:
0

Re: Contact Us Page

If you have not made any customizations to the file, re-upload a clean copy of the file from the download for your version.

6 Sep 2008, 4:51 AM
#5
redjama avatar

redjama

New Zenner

Join Date:
Aug 2008
Posts:
10
Plugin Contributions:
0

Re: Contact Us Page

yea i just did that right before you said that and it fixed it

thank you for you time

11 Sep 2008, 12:58 PM
#6
edfollett avatar

edfollett

New Zenner

Join Date:
Jul 2008
Posts:
11
Plugin Contributions:
0

Re: Contact Us Page

the actual problem from what I can see is the coding on line25

Line 25: define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME . ');

the aptrophe after STORE_NAME shouln't be there.

For future reerence the T_STRING or other T_ errorstend to refer to the line prior to the one it names e.g. 29

thanks