Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default images not showing in my test site

    I have transferred my shop to a new server (not yet live) but the product images do not load. I've found elsewhere in the forum that v1.3.8a is not compatible with later versions of PHP so want to upgrade to the latest version.

    The FAQ gives quick instructions (which I'd much rather use!) for sites with no customisation, but what counts as 'customisation' in this context? Does it include layout changes made through the admin control?

    The existing shop is still on the old server at www.panachelace.com.au

    All help much appreciated.

    Kit
    Last edited by Panache; 24 May 2012 at 01:30 AM.

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: What counts as 'customisation' when upgrading?

    1) if all your customisations were done by the admin layout control thingie then those customisations should be safe.
    2) Just make sure in your case you back up your custom template
    3) Also any settings for your shipping and payment modules, will need to be backed up.

    From what i can see of your site it is very basic so it should be fairly easy to be update, just make sure you save a backup copy of it and the database and you should be fine
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: What counts as 'customisation' when upgrading?

    Sounds like you might be trying to do all this without following Zen Cart instructions. There are tutorials for upgrading and for transferring.
    Images will not come up with a new install if you don't copy them from the old site. That would be my quick guess at what's going on.

  4. #4
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: What counts as 'customisation' when upgrading?

    nigelt74,

    Thanks for that. I'm glad that I can use the simpler instructions as the full upgrade instructions look very complex.

    dbltoe,

    I have followed the instructions on the ZC site to the letter as far as I can tell. The images are all present on the new server and the config files all look OK. I'm hoping it's the incompatibility between the old version of ZC and the newer version of PHP. Will upgrade ASAP with everything crossed.

    Thanks for the prompt replies.

    Kit

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: What counts as 'customisation' when upgrading?

    Its unlikely php version or anything will effect the images showing, can you access the images using your browser, and what is the generated link for the image, when you look at the source of the page where the image is missing?

    When you say your new site isn't live yet, do you mean you are testing on your own computer, you are using a different domain, or you are using a testing directory on the current server, or you just don't want the link out there yet.
    as a link to the site would really help

    anyway

    1) browse to yourtestsite
    2) go to a page where the images aren't showing up
    3) view the source of the page
    4) Find where it links to the image, copy this link and paste it here, and also into your browser the link should look something like
    images/lace.jpg
    also try this
    yourtestdomain/theimagelink.jpg

    does the image appear?
    Webzings Design
    Semi retired from Web Design

  6. #6
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: What counts as 'customisation' when upgrading?

    Nigel,

    Thanks for taking the time to look at this.

    I'd prefer not to let anybody else have the server link at the moment as I've got everything wide open with passwords for the existing main site available to be seen.

    I can acces an image directly in the web browser with no problem.

    Here is some code from a page in the working site:

    <tr class="productListing-odd">
    <td class="productListing-data" align="center"><a href="http://www.panachelace.com.au/shop/index.php?main_page=product_info&amp;cPath=94&amp;products_id=315"><img src="images/categories/f sj light large" alt="Maple fansticks - large" title=" Maple fansticks - large " class="listingProductImage" /></a></td>

    And the same from the new site (URL edited)

    <tr class="productListing-odd">
    <td class="productListing-data" align="center"><a href="http://*************.myweb.westnethosting.com.au/panachelace/www/shop/index.php?main_page=product_info&amp;cPath=94&amp;products_id=315"><img src="images/categories/f sj light large" alt="Maple fansticks - large" title=" Maple fansticks - large " class="listingProductImage" /></a></td>

    Absolutely identical bar the server address. The files on the new server are copied directly from the old one, as is the database. The new site was built as a fresh install followed by overwriting with the old files (bar the new configuration.php files) as described in the moving to a new server FAQ.

    It has to be something very simple but I'm stumped as to what.

    Thanks again

    Kit

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: What counts as 'customisation' when upgrading?

    Quote Originally Posted by Panache View Post
    <img src="images/categories/f sj light large" alt="Maple fansticks - large" title=" Maple fansticks - large " class="listingProductImage" />
    Um ... that's not a valid image filename. I'm absolutely not surprised that the image isn't showing in that case.
    It would be more likely to show if it were a .jpg or .gif or .png filename.

    You'll need to fix the image filename which you've assigned to that product/category so that it points to the correct filename.
    .

    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.

  8. #8
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: What counts as 'customisation' when upgrading?

    I was surprised not to see the file extensions in the 'view source' data but this is the same for the non-working new site on the new server and the fully functional site on our old server. Have a look at www.panachelace.com.au to confirm.

    It's a Linux server and Linux doesn't use file extensions to identify file types so is this the answer? I'm looking at the site using Firefox on Windows 7 however.

    Thankyou for taking the time to look at this.


    Kit

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: What counts as 'customisation' when upgrading?

    Quote Originally Posted by Panache View Post
    but this is the same for the non-working new site on the new server and the fully functional site on our old server.
    Yes, I realize that.

    Quote Originally Posted by Panache View Post
    It's a Linux server and Linux doesn't use file extensions to identify file types so is this the answer?
    Um, that's an extremely generous broad statement that's technically not really completely accurate.
    You're giving Linux credit that it's not really entitled to. It would be more correct to say that the webserver engine could be configured to attempt to read the file's content and use its identification bits to guess what mime type is appropriate for the file. But there are many reasons why that auto-detection might not work properly.
    It's very possible that the web engine on your "new server" doesn't know how to properly detect what mime type to assign for those files.

    But, since you're not giving us URLs to your new server, we're left to let you tell us what it's doing, but so far you're not passing on useful information.

    Nigel already asked you to get URL for the image and access that image in your browser.
    I'm guessing you don't understand what he was asking, so I've done the work for you: substitute your new server's URL in place of this one:
    http://www.panachelace.com.au/shop/i...0light%20large
    What happens when you try to visit that address, after substituting the domain name. What's the error message?


    Apologies if I sound frustrated.
    .

    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.

  10. #10
    Join Date
    Feb 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: What counts as 'customisation' when upgrading?

    Found it!!!!!!!!!

    It turns out that while the image files all have their extensions as they should, my wife has been entering the filenames into the admin area of the shop without the extensions since that always worked on the old server. A problem of the left and right hands not knowing what the other is doing.
    I would never have found this without your prompting.

    My profound appologies for having wasted your time and thankyou for being there in the first place. Where do I sent the crates of beer?

    Regards

    Kit

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Images are not showing anymore on my site
    By faynart in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 13 Dec 2011, 02:28 AM
  2. Missing Images Not showing on Site
    By arran in forum General Questions
    Replies: 1
    Last Post: 14 Mar 2011, 08:48 PM
  3. images not showing after upload of new site
    By stitchnkitty in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Mar 2010, 04:18 PM
  4. Test site - sandbox not working!!!
    By trentham in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 2 Jan 2009, 08:47 PM
  5. Problem Moving Test Site - Switches to test site folder
    By bullseye in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 1 Jan 2008, 10: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