Forums / General Questions / Changed "welcome guest" in index.php now site won't load

Changed "welcome guest" in index.php now site won't load

Started by twobrothers on 19 Sep 2012, 5:21 PM · Views: 1,956

Results 1 to 4 of 4
19 Sep 2012, 5:21 PM
#1
twobrothers avatar

twobrothers

New Zenner

Join Date:
Mar 2012
Posts:
3
Plugin Contributions:
0

Changed "welcome guest" in index.php now site won't load

Ok, I was editing my index.php from ...

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');

to ...

define('TEXT_GREETING_GUEST', 'Welcome to South Western Ontario's Newest Martial Arts Supply Service <span class="greetUser">Guest!</span> <a href="%s">log in</a>');

now my site won't load ... it's only a blank page. I tried re-using my backup copy, but still nothing. what did I do wrong?

19 Sep 2012, 5:24 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changed "welcome guest" in index.php now site won't load

When you use special characters in define values, you need to 'escape' them by placing a backslash in front of the character. Try changing Ontario's to Ontario's.

19 Sep 2012, 5:37 PM
#3
twobrothers avatar

twobrothers

New Zenner

Join Date:
Mar 2012
Posts:
3
Plugin Contributions:
0

Re: Changed "welcome guest" in index.php now site won't load

nope, still nothing showing.

19 Sep 2012, 5:56 PM
#4
twobrothers avatar

twobrothers

New Zenner

Join Date:
Mar 2012
Posts:
3
Plugin Contributions:
0

Re: Changed "welcome guest" in index.php now site won't load

changed template to another one and then back and now everything is ok ... thanks.