Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    red flag 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 &copy; ' . 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!

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Powered by Zen Cart - blank pages

    Can you post your modified code which is causing the blank pages?

  3. #3
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Powered by Zen Cart - blank pages

    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 &copy; ' . 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.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Powered by Zen Cart - blank pages

    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

  5. #5
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    Default 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. #6
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

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

    No problem. Good to hear it's working now

  7. #7
    Join Date
    Jan 2009
    Location
    Saint-Petersburg, Russia
    Posts
    21
    Plugin Contributions
    0

    Default 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!

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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++.

 

 

Similar Threads

  1. Removing "Powered by ..." Left hand header
    By Mr.Pea in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Aug 2011, 01:35 PM
  2. Company logo will not change! Always showing "powered by zen cart"
    By chungenhung in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Apr 2010, 09:13 PM
  3. Space below "Copyright © 2007 Zen Cart. Powered by Zen Cart"
    By gogolf in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 16 Sep 2008, 04:43 PM
  4. Replies: 5
    Last Post: 14 Jun 2007, 12:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR