Images not displaying + more
Database: MySQL 5.5.55
PHP Version: 7.0.23 (Zend: 3.0.0)
Image Handler 4
Winchester responsive template
I haven't made any changes to my site in a while, and I noticed an issue yesterday.
IMAGES
Product images are not displaying. Product page
I looked in the directory - and found the image was not where I expected it to be filed. I moved it to where I wanted the file using my control panel. I then used admin to point to >images>sub_directory_category>file_name. I used the image file name and selected the >images>sub_directory_category>, selected use existing file name and clicked preview. No change.
This product displayed the image once, and not again after using IH4
Image handler is also not working correctly - the displayed image is cut off and has a weird file extension: pmk0005.jpg.3p7GUE
I also can't use my control panel (plesk) to upload:
Quote:
Failed to copy files storage to destination path. stderr: filemng: Error writing /var/www/vhosts/joburlnx.ehost-services221.com/joburgonline.com/images/kitchen/pmk0005.jpg.3p7GUE System error 122: Disk quota exceeded stdout: filemng: Error writing /var/www/vhosts/joburlnx.ehost-services221.com/joburgonline.com/images/kitchen/pmk0005.jpg.3p7GUE System error 122: Disk quota exceeded
I have used 1.1gb of 40gb storage, 313mb of 400gb traffic?
FOOTER
displaying:
Copyright © 2018
STORE_NAME
Re: Images not displaying + more
looks like your image is there but the height and width is set to 0px
<img src="images/fbh6000.jpg" alt="Hamilton Beach food Blender" title=" Hamilton Beach food Blender " width="0" height="0" />
Re: Images not displaying + more
Seems that possibly a few issues occurring considering you are also receiving that "quota" error. Note that quota also tends to include the number of files. But, would inspect the folder permissions for the images directory to be sure that it is writeable.
As to the current issue of not displaying the image of that product: well, ran a quick html validation: https://validator.w3.org/check?uri=h...Inline&group=0
And there were errors identified, which may impact the overall display. Reviewed the source code for the image and was able to access the image from the server.
Now then, after loading the page some 4 different times (to inspect different areas) the image is now presented though the same number of errors exist in the html validator. Not sure what, if anything, has changed since first reviewing.
Re: Images not displaying + more
Quote:
Originally Posted by
steveyork136
looks like your image is there but the height and width is set to 0px
<img src="images/fbh6000.jpg" alt="Hamilton Beach food Blender" title=" Hamilton Beach food Blender " width="0" height="0" />
Thanks - my whole site seems to be affected - the home page is not right, the category pages...
Re: Images not displaying + more
Quote:
Originally Posted by
mc12345678
Seems that possibly a few issues occurring considering you are also receiving that "quota" error. Note that quota also tends to include the number of files. But, would inspect the folder permissions for the images directory to be sure that it is writeable.
As to the current issue of not displaying the image of that product: well, ran a quick html validation:
https://validator.w3.org/check?uri=h...Inline&group=0
And there were errors identified, which may impact the overall display. Reviewed the source code for the image and was able to access the image from the server.
Now then, after loading the page some 4 different times (to inspect different areas) the image is now presented though the same number of errors exist in the html validator. Not sure what, if anything, has changed since first reviewing.
This has me stumped - it's almost as if the site files (php) have been corrupted - like I mentioned in my reply above. There's chunks missing all over the show.
Re: Images not displaying + more
Quote:
Originally Posted by
Parafanaylya
This has me stumped - it's almost as if the site files (php) have been corrupted - like I mentioned in my reply above. There's chunks missing all over the show.
I don't see what version of zen cart you are using. When I was using a different Picaflor template (Responsive Sheffield Blue) with IH4 and a number of other mods on zc 1.5.5e I couldn't use php v 7 without the images and rest of site going whack on me.
Re: Images not displaying + more
Quote:
Originally Posted by
soxophoneplayer
I don't see what version of zen cart you are using. When I was using a different Picaflor template (Responsive Sheffield Blue) with IH4 and a number of other mods on zc 1.5.5e I couldn't use php v 7 without the images and rest of site going whack on me.
Thanks - We're on 1.5.4e
Re: Images not displaying + more
Maybe that's 1.5.5e as there is only one 1.5.4. And, if you are in the 1.5.5 branch, there are many things that need to be done to the older templates to make them work with 1.5.5
Re: Images not displaying + more
There is definitely something unusual occurring. In my last post it looked like the issue described by steveyork146 had been resolved by the dimensions of the image being something other than 0. Today, tried and received two different responses. At one point the image showed, and then another the image dimension was again 0. As part of the review, tried to go to the parent category to see what the other issue(s) were and at one point there were no product in the category (on screen and in web page source code). Tried to navigate around to get back to the product again, image dimensions were 0, went to parent category and then product was presented as part of the category with images displayed.
Makes me wonder if there is some sort of cyclic database reference that is causing different sets of data to be pulled for the catalog side where one database may have different settings than another. Generally speaking the problems encountered with templates that need to be updated to support ZC 1.5.5 (sounds like ZC version is still in question) do not result in issues that have been seen with this site. (image dimension within the page source being set to 0, categories not showing product, etc...)
Re: Images not displaying + more
Quote:
Originally Posted by
dbltoe
Maybe that's 1.5.5e as there is only one 1.5.4. And, if you are in the 1.5.5 branch, there are many things that need to be done to the older templates to make them work with 1.5.5
1.5.4. Plain. My bad
Re: Images not displaying + more
There have been no changes to the site in the last few weeks other than disabling discontinued product.
Re: Images not displaying + more
What version of IH4? From plugins page or github? With Responsive Sheffield Blue I tried upgrading from IH4.3.2 from plugins page to IH4.4 from a github version. Pages went totally scewy - menus gone or altered, pictures getting cropped, admin page image loader not working, etc. Was resolved when I went back to 4.3.2. Don't know why.
Re: Images not displaying + more
i would talk to your hosting company about the disk quota error.
you are missing some language files. this can plainly be seen on your home page. the image for the button search header is:
http://joburgonline.com/includes/tem..._SEARCH_HEADER
the last part suggests to me a missing language file.
in addition, in the footer you have:
Copyright © 2018 STORE_NAME
STORE_NAME comes from the database, so i am not sure how that field got removed from your database, unless you never defined it previously.
best.
Re: Images not displaying + more
Quote:
Originally Posted by
carlwhat
i would talk to your hosting company about the disk quota error.
you are missing some language files. this can plainly be seen on your home page. the image for the button search header is:
http://joburgonline.com/includes/tem..._SEARCH_HEADER
the last part suggests to me a missing language file.
in addition, in the footer you have:
Copyright © 2018 STORE_NAME
STORE_NAME comes from the database, so i am not sure how that field got removed from your database, unless you never defined it previously.
best.
Hi - Thanks
I'll get hold of the hosting company - would you mind having a look at the site
Re: Images not displaying + more
Have you tried default template, might show if its template specific error!
Re: Images not displaying + more
Quote:
Originally Posted by
steveyork136
Have you tried default template, might show if its template specific error!
Thanks - just tried the classic template - no difference
Re: Images not displaying + more
I decided to build a new test site on another server.
- created new database
- Downloaded 1.5.5f,
- unzipped and uploaded to new test server
- carried out ZC install
Site installed correctly - no test products chosen - all good
- copied all images to /catalog/images
- uploaded Winchester Responsive template
- dropped all tables from DB
- exported DB tables from existing site with issues
- imported DB to new test site
(*]selected uploaded template in Admin
Site displayed with same problems as existing corrupted site.
Edited configure files to point to another database on test server - site displayed correctly albeit with no products
Uploaded ancient DB back up from 27 November 2017 to test site
Voila!
Somehow my DB was corrupted - I believe it may have been done when products were disabled (incorrectly) by my assistant in the Admin panel, but how?
Next step is to back up existing corrupted site to local folder (desktop), and drop the corrupted tables, and import the good tables.
Holding thumbs