Forums / Templates, Stylesheets, Page Layout / site is not showing up at all - please help!

site is not showing up at all - please help!

Locked

Views: 940

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
15 Sep 2008, 10:03 PM
#1
alma1 avatar

alma1

New Zenner

Join Date:
Mar 2008
Location:
California
Posts:
81
Plugin Contributions:
0

site is not showing up at all - please help!

Hi All -
I wanted to change the Copyright message in the footer but something went south because the site is not showing up and instead it gives an error message "Parse error: syntax error, unexpected T_CLASS in /home/alma/public_html/includes/languages/english.php on line 16"

I followed a tutorial "How do I change the Copyright mesage in the footer?" but the text on the tutorial did not exactly match the language in my english.phs file. I changed it to this:

define('FOOTER_TEXT_BODY', 'latino t-shirts, latin tees, playeras latinas, cool t-shirts, latin clothing' <a class="lightLink" href="http://www.latinimpressions.com" target="_blank">Zen Cart</a>. Powered by <a class="lightLink" href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

I possibly removed something pretty important in the process but don't have the original text to put it back in.

Thank you in advance.:(

15 Sep 2008, 11:15 PM
#2
alma1 avatar

alma1

New Zenner

Join Date:
Mar 2008
Location:
California
Posts:
81
Plugin Contributions:
0

Re: site is not showing up at all - please help!

alma1:

Hi All -
I wanted to change the Copyright ...I possibly removed something pretty important in the process but don't have the original text to put it back in. Hi All - please ignore this thread. I took a break, had some milk and cookies, came back and found the problem. Thanks

12 Nov 2008, 3:03 PM
#3
koidragon avatar

koidragon

New Zenner

Join Date:
Jun 2008
Location:
Florida
Posts:
24
Plugin Contributions:
0

Re: site is not showing up at all - please help!

Hi Alma
Could you please explain the problem you found and how you fixed it becuase I am having the same issue. I am in panic mode. Your answer might help others in the same situation.

Much Gratitude

Monk

13 Nov 2008, 8:53 PM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: site is not showing up at all - please help!

I would hazard a guess that it was the ' after latin clothing in the original poster's code that was not escaped that was the culprit, or part of at least:

define('FOOTER_TEXT_BODY', 'latino t-shirts, latin tees, playeras latinas, cool t-shirts, latin clothing' <a class="lightLink" href="http://www.latinimpressions.com" target="_blank">Zen Cart</a>. Powered by <a class="lightLink" href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');
```If you need to use them, you need to escape them with a backslash....for example: 

define('FOOTER_TEXT_BODY', 'latino t-shirts, latin tees, playeras latinas, cool t-shirts, latin clothing' <a class="lightLink" href="http://www.latinimpressions.com" target="_blank">Zen Cart</a>. Powered by <a class="lightLink" href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe