Thread: weird banner

Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2013
    Location
    Oak Harbor, Washington, United States
    Posts
    7
    Plugin Contributions
    0

    Default weird banner

    Please help!

    My site now has some weird banner on it FROM Zen-Cart I believe. I've looked all over the EZ cart to disable it with no luck.

    " Warning: I am able to write to the configuration file: /home/discaddi/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance. See this FAQ"


    I contacted my host company and they tried to correct the issue:

    Hello,

    I've confirmed that both configure.php files on includes/ and zcadmin/includes folder are set to 444 but it appears your site may have contained some sort of caching. Even after I deleted the session files on the cache/ folder the issue persists.

    Code:
    -r--r--r-- 1 discaddi discaddi 3309 Sep 18 2013 configure.php


    As the Zen Cart version is also outdated, I recommend contacting their support as I'm unable to find any recent resources to possibly fix this for you.

    If you have any questions or concerns, please let us know.

    Best regards,

    Meg Dalagan
    Technical Support Team

    I just want the stupid banner gone PLEASE HELP!!

    www.DiscAddiction.com

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: weird banner

    To answer your question;

    around line 299 of /includes/languages/english.php (default install)
    define('WARNING_CONFIG_FILE_WRITEABLE', ... ');

    put to forward slashes in front of the that line to comment it out.
    // define('WARNING_CONFIG_FILE_WRITEABLE', ... ');

    This thread, although for older versions of Zen Cart, may help to shed some light:
    http://www.zen-cart.com/forum/showthread.php?t=59371

    You should also verify the 'includes' dir. has permissions of 755.

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: weird banner

    Quote Originally Posted by dcb777 View Post
    Please help!
    My site now has some weird banner on it FROM Zen-Cart I believe. I've looked all over the EZ cart to disable it with no luck.
    The error has noting to do with 'EZ'., and this 'banner' cannot be 'disabled'. The write problem needs to be fixed

    My biggest concern at the moment is that since it (assumedly) hasn't always been displaying this error, then who changed what to have caused it to suddenly appear?

    Quote Originally Posted by dcb777 View Post
    I contacted my host company and they tried to correct the issue:

    Hello,

    I've confirmed that both configure.php files on includes/ and zcadmin/includes folder are set to 444 but it appears your site may have contained some sort of caching. Even after I deleted the session files on the cache/ folder the issue persists.

    Code:
    -r--r--r-- 1 discaddi discaddi 3309 Sep 18 2013 configure.php
    Apologies for being a little cynical here, but they say they changed *both* files, but the 'code' only demonstrates the change to one of them, and I am going to assume that the one shown here is from your admin folder.


    If *both* files are set with these same permissions, then you wouldn't/shouldn't be getting that warning.

    Cheers
    RodG
    Last edited by RodG; 17 Feb 2017 at 04:11 AM.

  4. #4
    Join Date
    Sep 2013
    Location
    Oak Harbor, Washington, United States
    Posts
    7
    Plugin Contributions
    0

    Default Re: weird banner

    THANK YOU THANK YOU!!

    This did it for me!!


    To override the default behaviour for your unique hosting configuration, simply set up an override for the init_header.php file:

    /includes/init_includes/overrides/init_header.php
    change line 24 to say 'false':
    [FONT="Courier New"]define('WARN_CONFIG_WRITEABLE', 'false');[/FONT]

  5. #5
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: weird banner

    And you need to change your admin folder name, since you made it public !!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 30 Jun 2014, 04:55 PM
  2. weird thing... weird question
    By mipavluk in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Nov 2008, 01:01 AM
  3. Help banner not wide enough & on top of zen cart banner!!!
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Oct 2008, 12:54 PM
  4. Image Handler makes my banner look weird!
    By jensurge in forum Basic Configuration
    Replies: 4
    Last Post: 16 Feb 2008, 06:54 AM
  5. 1 Banner not showing and other banner appearing twice
    By wolf99 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Oct 2006, 05:26 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR