Page 27 of 72 FirstFirst ... 17252627282937 ... LastLast
Results 261 to 270 of 712
  1. #261
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,402
    Plugin Contributions
    94

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    That repeated message in the debug information, similar to:


    calculate_size, file does not exist. ... returning images/categories/astinlautaaudiq3.jpg


    Indicates that IH is not finding that file in your store's file-system. Do you have any .htaccess modifications in the root of your store's file-system?

  2. #262
    Join Date
    Mar 2012
    Posts
    132
    Plugin Contributions
    0

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Hi,

    yes we did had to add .htaccess because we were pestered with hundreds of hits from nonbehaving robots:
    Code:
    ExpiresActive On
    # Format: A where n is a number of seconds. Expires cache n seconds after access
    # A2629740
    ExpiresByType application/javascript A2629740
    ExpiresByType application/x-javascript A2629740
    ExpiresByType text/javascript A604800
    ExpiresByType text/css A604800
    ExpiresByType image/gif A900
    ExpiresByType image/x-icon A900
    ExpiresByType image/icon A900
    ExpiresByType image/jpg A900
    ExpiresByType image/jpeg A900
    ExpiresByType image/png A900
    
    SetEnvIfNoCase User-Agent .*rogerbot.* bad_bot
    SetEnvIfNoCase User-Agent .*exabot.* bad_bot
    SetEnvIfNoCase User-Agent .*mj12bot.* bad_bot
    SetEnvIfNoCase User-Agent .*dotbot.* bad_bot
    SetEnvIfNoCase User-Agent .*gigabot.* bad_bot
    SetEnvIfNoCase User-Agent .*ahrefsbot.* bad_bot
    SetEnvIfNoCase User-Agent .*sitebot.* bad_bot
    
    <Limit GET POST HEAD>
    Order Allow,Deny
    Allow from all
    Deny from env=bad_bot
    Deny from 110.0.0.0/8
    Deny from 111.0.0.0/8
    Deny from 112.0.0.0/5
    Deny from 120.0.0.0/6
    Deny from 124.0.0.0/8
    Deny from 125.0.0.0/8
    Deny from 147.0.0.0/8
    Deny from 46.4.62.121
    Deny from 46.229.168.139
    Deny from 88.99.250.124
    Deny from 46.229.168.163
    Deny from 46.229.168.149
    Deny from 144.76.68.88
    Deny from 88.99.250.124
    Deny from 46.229.168.0/8
    Deny from 46.4.62.0/8
    Deny from 46.4.62.0/8
    Deny from 144.76.68.0/8
    Deny from 46.229.168.0/8
    Deny from 144.76.68.0/8
    Deny from 46.229.168.0/8
    Deny from 46.229.168.154
    Deny from 46.229.168.0/8
    Deny from 46.4.62.0/8
    Deny from 46.4.62.121
    Deny from 46.229.168.144
    Deny from 46.229.168.145
    Deny from 144.76.68.88
    </Limit>

  3. #263
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,402
    Plugin Contributions
    94

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Can you verify that the image identified above does exist?

  4. #264
    Join Date
    Mar 2012
    Posts
    132
    Plugin Contributions
    0

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Hi,

    problem is that the old image handler also removed folders from /images like images/categories if I interpret log files right. There is only images folder left.

  5. #265
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,402
    Plugin Contributions
    94

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Quote Originally Posted by OopsIbrickedIT View Post
    Hi,

    problem is that the old image handler also removed folders from /images like images/categories if I interpret log files right. There is only images folder left.
    Well, that s-cks! I wish I could help more, but my experience with IH-4 is very limited.

    That at least explains why IH-5 can't display those images.

  6. #266
    Join Date
    Mar 2012
    Posts
    132
    Plugin Contributions
    0

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Quote Originally Posted by lat9 View Post
    Well, that s-cks! I wish I could help more, but my experience with IH-4 is very limited.

    That at least explains why IH-5 can't display those images.
    Yes it really does now I tried to recreate the folder structure from backup before image handler 4 installation and same folder disappearing happens also with IH5. Only thing I can think of which originates from old is the database and something is clearly wrong with some setting in it. This is just my hunch but perhaps only logical explanation.

    I am in deep Rabbit Hole with this right now.

  7. #267
    Join Date
    Mar 2012
    Posts
    132
    Plugin Contributions
    0

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    I got an idea. How if I copy all of the images from old IH-4 bmz_cache to new shop images folder and turn before that the hashing off? Because seems that images from /images folder are also partly missing. Would that possibly work? the db references would be same.

  8. #268
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,402
    Plugin Contributions
    94

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Unfortunately, IH-4 has hashed those image-names upon creation in the /bmz_cache directory and it's not an easy/possible task to un-hash those names.

  9. #269
    Join Date
    Mar 2012
    Posts
    132
    Plugin Contributions
    0

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    Shouldn't the IH-5 be backward compatible with IH-4 regarding the bmz_cache? So we have all the image info in bmz_cache only and db should have the linking info. Problem persists but perhaps there is a solution. Should we possibly remove IH-5 and install older IH4_3_2 instead with same settings so we could use the old bmz_cache?

  10. #270
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,816
    Plugin Contributions
    0

    Default Re: Image Handler 5 images missing after upgrade from 4 to IH5

    IH4 and IH5 use completely different naming for the bmz cached images. additionally, the bmz cached filenames are not stored in the database, only the original image filename is store in the database. I have been using image handler since it was first introduced and have never seen what you describe
    "problem is that the old image handler also removed folders from /images like images/categories"
    I don't even think there is a mechanism in code for image handler that would do that. When I do an upgrade I don't concern myself with the bmz cache folder, I leave it behind and start over fresh, because of things like new naming conventions. When changing image sizes on the site when tweaking the look of the site, I purge the bmz cache many times until I have everything the way I want it. I would love to know all of the steps to reproduce the issue of sub-folders in the iomages folder being deleted by image handler (any version). I know if one of my clients came to me and told me that I would tear the server logs apart to determine who nuked them by accident and is blaming it on image handler...
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
Page 27 of 72 FirstFirst ... 17252627282937 ... LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 160
    Last Post: 28 Oct 2024, 10:50 PM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 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