Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2012
    Posts
    4
    Plugin Contributions
    0

    Default Lost Admins Icons and Buttons after admin_log table reset

    All:

    I have been running my zencart for over a year with very few issues. Recently I got the notification from the cart that i need to run the purge on the admin activity table. I ran the purge and it seemed to work ok but when I went back into the admin backend all of the icons and cart logo are gone. The admin console still works but I would like to recover the icons.

    Does anyone have any idea as to how running that purge would cause the icons to not show up?

    Thanks,

    Art

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Lost Admins Icons and Buttons after admin_log table reset

    Quote Originally Posted by ajs5mz2 View Post
    Does anyone have any idea as to how running that purge would cause the icons to not show up?
    No, because the activity log has nothing to do with icons. They're entirely different and unrelated things.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Lost Admins Icons and Buttons after admin_log table reset

    Quote Originally Posted by DrByte View Post
    No, because the activity log has nothing to do with icons. They're entirely different and unrelated things.
    Kinda figured that. Any idea as to why icon would not be available? I have checked the admin/images dir and the admin/images/icons dir, all are present and accounted for.

    All of the functions work, just that the buttons and icons as missing.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Lost Admins Icons and Buttons after admin_log table reset

    As with any "broken image", the URL is probably wrong, and you can confirm that by right-clicking on the missing-image-placeholder and choosing "Open image in new tab", and then inspect the URL for accuracy. Then fix whatever is wrong.
    Similar can be done by right-clicking the page and choosing View Page Source and looking at the IMG SRC= value for that image.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Lost Admins Icons and Buttons after admin_log table reset

    Quote Originally Posted by DrByte View Post
    As with any "broken image", the URL is probably wrong, and you can confirm that by right-clicking on the missing-image-placeholder and choosing "Open image in new tab", and then inspect the URL for accuracy. Then fix whatever is wrong.
    Similar can be done by right-clicking the page and choosing View Page Source and looking at the IMG SRC= value for that image.
    I am getting a 403 forbidden error when I true to bring up the image by its URL. Just as a test I change the permissions to 777 - but I am still getting the 403 error

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Lost Admins Icons and Buttons after admin_log table reset

    A permissions error displayed by a web browser has nothing to do with the file-system permissions. Instead it is driven by Apache security rules, such as are enforced via .htaccess files.
    The .htaccess files that come with Zen Cart will specifically allow images and icons where they ought to be.
    But if you've been altering those files, or have added your own, then your changes need to be reviewed.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Lost Admins Icons and Buttons after admin_log table reset

    I got it back. There was a rewrite rule in my .htaccess that was causing the problem.

    Thanks for guidance.

    Art

 

 

Similar Threads

  1. Lost links from buttons after upgrade
    By takinden in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 27 Jul 2010, 03:34 AM
  2. HELP. i lost login, and add to cart buttons
    By vanhorn_s in forum General Questions
    Replies: 2
    Last Post: 22 Apr 2010, 03:05 PM
  3. My ADD TO CART and CONTINUE SHOPPING buttons have lost...
    By Mainlandweb in forum General Questions
    Replies: 6
    Last Post: 8 Jan 2010, 04:31 PM
  4. aligning icons/buttons in header and footer
    By elishama3 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Mar 2008, 10:20 PM

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