Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Option Name Manager page displaying incorrectly

    Hi,

    PHP Version: 5.3.27 (Zend: 2.3.0) PHP Memory Limit: 90M
    Database: MySQL 5.1.56-log

    I downloaded and installed this manually. It has not yet been upgraded.

    When I navigate to Catalog > Option Name Manager the page displays some large black blocks and the layout is so messed up that I can't do any editing. This also happens on the Catalog > Option Values Manager.

    When I inspect the element using Chrome there is an img tag that looks like this:
    HTML Code:
    <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACwAAAAAAQABAAACAkQBADs=" border="0" alt="" width="100%">
    It seems like this img tag may be in the display of the header of the attribute list but i can't quite tell.

    Does anyone recognize this or have any suggestions on what I should do next?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Option Name Manager page displaying incorrectly

    I downloaded and installed this manually. It has not yet been upgraded.
    What version are you using, what addons are installed??
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Option Name Manager page displaying incorrectly

    Sorry, I didn't include the version in the message. I thought when I selected it when posting it would include it. I'm using v1.51. The only plugin I have is Easy Populate.
    Thanks!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Option Name Manager page displaying incorrectly

    Try reloading your admin files
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Option Name Manager page displaying incorrectly

    I compared the files in production with newly downloaded ones and they are the same. But, I did find something interesting. Occasionally the page displayed correctly. It did this the first time I opened it in Firefox so I grabbed the HTML from the page. When I hit it again it exhibited the problem so I grabbed that source also. The difference that is causing the problem is in the img tag:
    Code from working page:
    HTML Code:
    <img src="images/pixel_black.gif" border="0" alt="" width="100%" height="1">
    Code from bad page:
    HTML Code:
    <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACwAAAAAAQABAAACAkQBADs=" border="0" alt="" width="100%">
    Notice the difference in the src? I'm beginning to wonder if Zen Cart, PHP or Dreamhost is caching this and returning it incorrectly.
    I believe the PHP from options_name_manager.php where the problem occurs is this:
    PHP Code:
    <?php echo zen_draw_separator('pixel_black.gif''100%''2'); ?>
    So, I can probably edit the source file and remove this to get a workaround but it may occur in other places in my installation and I'd like to understand what's happening.
    Has anyone seen this or have any suggestions on what do to next?
    Thanks!

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Option Name Manager page displaying incorrectly

    I've seen that behavior on sites with mod_pagespeed enabled. You may want to ask your host if they have this installed and enabled.... And if you can have it disabled for the admin folder.

  7. #7
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Option Name Manager page displaying incorrectly

    That worked! The actual solution was to put the following statement in the .htaccess file in the admin directory:
    ModPagespeed off
    Thanks so much for the clue.

    Jim

  8. #8
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Option Name Manager page displaying incorrectly

    Quote Originally Posted by AustinJim View Post
    That worked ...
    Thank You for reporting back the issues were caused by mod_pagespeed. It's good to see your hosting provider allows you to modify the configuration settings using a .htaccess file

    On the topic of mod_pagespeed, I understand why some hosting providers are installing and enabling this module by default. However, I'd estimate about 98% of the optimizations done by mod_pagespeed can be done by a competent Web Developer / Server Administrator without the need to rely upon the module to automatically "optimize" the site content "on the fly". In some cases the "optimizations" done by mod_pagespeed can be overzealous or actually cause problems.

    Don't get me wrong, I'd not saying mod_pagespeed is bad... Just saying you will want to be aware of how it impacts your website... And take the time to learn how the module "optimizes" the site content... And then configure mod_pagespeed to better fit your websites needs (or possibly lack of needs if the site is already optimized)...
    Last edited by lhungil; 27 Jan 2014 at 03:30 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. Option name manager page keeps timing out
    By waterbender in forum General Questions
    Replies: 1
    Last Post: 24 Aug 2013, 04:22 PM
  2. Problem with Attributes Controller, Option Name Manager, Option Value Manager
    By Wulf359 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Jun 2013, 08:54 PM
  3. blank Option Name Manager page, etc
    By phytir in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 8 Sep 2006, 10:29 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