Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    Default Images not showing after migration

    Hello. I just transferred my ZC to a new host. Now images are not showing up at all. Also, in Chrome and FF, the CSS doesn't appear to be working. It works in IE. I checked image properties and the paths appear to be correct. If I go to the images folder I can find and download and then view the image. If I try to open the image directly in the browser it just goes back to the home page.

    Here are some example links:
    The site is at http://www.aifashions.com/
    Here is a direct image link to one image: http://www.aifashions.com/zencart/images/black.jpg

    I've tried different permission settings.
    I've googled it for hours and searched here with no luck.

    Any suggestions as to where to start looking will be greatly ppreciated!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Images not showing after migration

    Same results when using the default ZC template?

    How long has the site been on the new server?

    Sure the configure.php files have been updated to the correct path(s)?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Images not showing after migration

    Thanks for the questions. It really helps to have some possibilities to focus on!


    Quote Originally Posted by mc12345678 View Post
    Same results when using the default ZC template?
    Not sure. I uploaded the old files over the default as soon as it looked like the install had succeeded. I probably should have examined it a little closer but at a glance it seemed to be correct.


    Quote Originally Posted by mc12345678 View Post
    How long has the site been on the new server?
    Since this morning...perhaps 3-4 hours before I sent out this Mayday.

    Quote Originally Posted by mc12345678 View Post
    Sure the configure.php files have been updated to the correct path(s)?
    Not sure of anything! I've checked them and tweaked them and tried various alternatives repeatedly. I also suspect that this may be where the problem lies so I'll go over these again.

    Thanks for the thoughts. I'll update any progress (or lack of same). Any other suggestions would be welcome in the meantime.

  4. #4
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: Images not showing after migration

    Is the store supposed to be located under the folder zencart?
    These 2 links lead to the same page:
    http://www.aifashions.com/index.php?...products_id=74
    http://www.aifashions.com/zencart/in...products_id=74

  5. #5
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Images not showing after migration

    Quote Originally Posted by Thannaree View Post
    Is the store supposed to be located under the folder zencart?
    These 2 links lead to the same page:
    http://www.aifashions.com/index.php?...products_id=74
    http://www.aifashions.com/zencart/in...products_id=74
    The shop is in a folder called zencart. I also have the server settings to point to that sub-directory so if someone types "aifashions.com" it auto directs to the store in the sub-directory.

  6. #6
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Images not showing after migration

    I'm beginning to suspect it may be with an .htaccess file. This seems to come up a lot as a problem. I've started by examining files in 5 locations. First, in the root directory. Then root>zencart. Next root>zencart>includes. Then root>zencart>adminChanged. Finally root>zencart>adminChanged>includes.

    The one in the root directory appears to be left over from a default WordPress install that came with the hosting plan. I tried turning it off and no change. Any reason not to delete this one?

    The one at root>zencart is blank.

    The other three are very similar to one another. The all include the following:

    Code:
    # deny *everything*
    <FilesMatch ".*">
      Order Allow,Deny
      Deny from all
    </FilesMatch>
    
    # but now allow just *certain* necessary files:
    <FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
      Order Allow,Deny
      Allow from all
    </FilesMatch>
    
    IndexIgnore */*
    [/INDENT]

    The one in zencart>adminChanged also has this bit:
    Code:
    # The following makes adjustments to the SSL protocol for Internet Explorer browsers
    <IfModule mod_setenvif.c>
      <IfDefine SSL>
        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0
      </IfDefine>
    </IfModule>
    
    #turn off X-PHP-Originating-Script header when sending emails from admin
    #uncomment to activate:
    # php_flag mail.add_x_header Off

    I'm not overly fluent in htaccess particularly when there are multiple instances scattered through the site. I understood that an htaccess file in one location would apply to all subdirectories within. May be wrong. Though.

 

 

Similar Threads

  1. v150 Problem with products images showing and not showing after refresh weird problem
    By kobiadato in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Sep 2016, 08:45 PM
  2. v139h Some Grid Images Not Loading After Hosting Service Migration
    By ssn1139 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 26 Feb 2013, 01:29 AM
  3. Images Not Showing After SSL
    By Dagoon in forum General Questions
    Replies: 3
    Last Post: 24 Apr 2011, 03:14 PM
  4. Images not showing after install?
    By troyandhope in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 3 Mar 2008, 07:41 AM
  5. Images do not show in product page after migration
    By jc307 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 18 Apr 2007, 05:15 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