Forums / Templates, Stylesheets, Page Layout / blank pages after removing "Powered by Zen Cart"

blank pages after removing "Powered by Zen Cart"

Locked

Views: 2,244

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 Oct 2009, 9:16 PM
#1
mmmm avatar

mmmm

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

blank pages after removing "Powered by Zen Cart"

  • Zen Cart v1.3.8a
  • New installation
  • No new modules

includes/languages/english.php

As soon I remove "powered buy zen cart" in line 31:

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

I start getting blank pages for category and currency pages.

Even when I put the old information back the blank pages are still there.

I repeated the zen cart installation, tested the category pages and everything was OK. Again, after I removed "powered by zen cart" my web site didn't work as intended.

1. Why do this php errors occur?
2. How to fix it?

Thank you!

18 Oct 2009, 11:13 PM
#3
mmmm avatar

mmmm

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: blank pages after removing "Powered by Zen Cart"

Thx for trying to help me Steven,

Even after I put back the old code (the original code), which is:

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

the blank pages are still showing.

This would be an example of a modified code I tried:

define('FOOTER_TEXT_BODY', 'test');

This problem occurred exactly after I changed the FOOTER_TEXT_BODY. It worked great before.
Putting back the old code didn’t help.

18 Oct 2009, 11:32 PM
#4
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: blank pages after removing "Powered by Zen Cart"

When you put the old code back, are you editing the bad file or overwriting the bad file with a fresh, untouched file? If it's the editing method, the problem might be to do with your text editing programme, or maybe blank spaces at the start or end of the file. If it's the overwriting method, it's possible the error might be to do with another file. I recommend you check your server error logs or try step 2a from this FAQ: https://www.zen-cart.com/tutorials/index.php?article=82

19 Oct 2009, 8:01 PM
#5
mmmm avatar

mmmm

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: blank pages after removing "Powered by Zen Cart"

Thank you Steven.

I used a fresh file to overwrite the old one and it worked. I also made my changes and they work.

The whole thing doesn't make much sense because I tried the same a day earlier and it didn't work.

Well, I won't complain. It works now.

Thanks again :)

6 Jul 2010, 9:41 PM
#7
dabone avatar

dabone

New Zenner

Join Date:
Jan 2009
Location:
Saint-Petersburg, Russia
Posts:
21
Plugin Contributions:
0

Re: blank pages after removing "Powered by Zen Cart"

The problem returned after I modified the file in any way, even small things like Powered by ZenCart. After struggling for a few days I thought it might be the Windows Notepad that does something wrong and installed the Notepad++, after I modified the file the way I need with this editor all works excellent. Bloody Windows Notepad killed plenty hours of my time, never use it!

7 Jul 2010, 7:27 AM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: blank pages after removing "Powered by Zen Cart"

Yes, Notepad can alter line breaks and possibly other things if you don't have the right settings active. It also doesn't have the syntax highlighting which is so useful in Notepad++.