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,711
    Plugin Contributions
    7

    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,711
    Plugin Contributions
    7

    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: http://tutorials.zen-cart.com/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,711
    Plugin Contributions
    7

    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
    21,090
    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. Blank page when adding to cart or removing from cart
    By Graphic Content in forum General Questions
    Replies: 6
    Last Post: 9 Apr 2010, 05:55 AM
  2. Removing powered by Zen Cart Logo in Header
    By corsair46 in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 4 Jun 2009, 08:40 PM
  3. Blank Pages when adding items or going to cart?
    By Nordy in forum General Questions
    Replies: 12
    Last Post: 13 Apr 2009, 08:02 PM
  4. Removing Powered by Zen Cart Banner from Invoice
    By Jippers in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Aug 2008, 12:11 PM
  5. Removing Add to cart on certain product pages
    By robiny in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Oct 2007, 08:43 PM

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
  •