Forums / General Questions / Changing text makes page go blank

Changing text makes page go blank

Views: 478

Results 1 to 6 of 6
15 May 2011, 9:08 PM
#1
autopaintpro avatar

autopaintpro

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

Changing text makes page go blank

Hey,
i just installed the same zen cart,classic and am having the same problem.
i am able to get into the index.php but when i change the text to somthing diferent my page goes blank.
i have tried almos a whole day but it's the same blank page.
thanks
Z

15 May 2011, 9:23 PM
#2
autopaintpro avatar

autopaintpro

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

Re: Changing text makes page go blank

Hi again,
why does the text message work with this code ,define('HEADING_TITLE', 'This is my new line.');

but does not work with this code
define('HEADING_TITLE', 'where the pro's go');

Z

15 May 2011, 9:26 PM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Changing text makes page go blank

Please read this:

https://www.zen-cart.com/tutorials/index.php?article=129

Read this tutorial also..

https://www.zen-cart.com/tutorials/index.php?article=139

Especially this section..
click on notepad++
To edit the files on your PC for customizing, you will need a text editor. A good free one with syntax highlighting is Crimson Editor or Notepad++.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

15 May 2011, 9:28 PM
#4
autopaintpro avatar

autopaintpro

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

Re: Changing text makes page go blank

got my own answer
it doesn't like the pro's,the upper sign it works fine without it.
so how do i make it work pro's?
thanks
Z

15 May 2011, 9:42 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Changing text makes page go blank

autopaintpro:

got my own answer
it doesn't like the pro's,the upper sign it works fine without it.
so how do i make it work pro's?

What text editor are you using then, to make changes to the .php files??

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

15 May 2011, 10:28 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing text makes page go blank

autopaintpro:

got my own answer
it doesn't like the pro's,the upper sign it works fine without it.
so how do i make it work pro's?
thanks
ZYou need to "escape" the apostrophe with a backslash, i.e. enter it as:
define('HEADING_TITLE', 'where the pro's go');However, a more general piece of advice on forum etiquette, dredging up a five year old forum thread and then taking it off in an unrelated direction won't win you many friends from those who like a well-ordered forum. if you have a new question, I recommend starting a new thread.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)