Author Topic: Thumbnails missing  (Read 15979 times)

bigsl34

  • Beginner
  • *
  • Posts: 17
Re: Thumbnails missing
« Reply #15 on: February 27, 2009, 21:24:51 pm »
Which directory would that be?

macallf

  • Full Member
  • ***
  • Posts: 2411
    • Mark Callf Design
Re: Thumbnails missing
« Reply #16 on: February 27, 2009, 22:24:12 pm »
Which directory would that be?

How vague do you want to be??

I believe I said check your error logs. Your error logs will tell you exactly which directories have permission errors.

And I'm talking about your server error logs, which will be available via your cpanel.
Mark
All of My old mods are now available on my website.
Mark Callf Designs

If you like the work I've done for VM please fell free to Donate

Please Note: I am no longer actively developing or involved with VM development.

garagestmarien

  • Beginner
  • *
  • Posts: 2
Re: Thumbnails missing
« Reply #17 on: March 04, 2009, 01:26:47 am »
Just to add a big thanks.
I had the same problems - thumbnails not appearing on the category page.
Went through all the files in cpanel checking them, but they were okay.
Checked error log and it said my components file was writable by group.
Changed that to 755 and everything is perfect.
I would recommend anyone having a problem to check this file first - public_html and then look for components header and change it to 755, it will most likely be 777.
John

fanlokbun

  • Beginner
  • *
  • Posts: 19
Re: Thumbnails missing
« Reply #18 on: April 28, 2009, 17:58:30 pm »
Hi there, same problems on two sites I am building concurrently:
http://www.xxx.co.uk/
http://www.xxx.com/
I installed the Joomla and Virtuemart using the ip address as a domain before the domain names were registered if that makes a difference.
They are hosted on Nativespace.

This is the error I get in the error log when I list products in a category but it doesn't make much sense to me:
[Tue Apr 28 16:37:05 2009] [error] [client 99.99.163.71] File does not exist: /home/xxx/public_html/500.shtml, referer: http://www.xxx.com/index.php?page=shop.browse&category_id=6&option=com_virtuemart&Itemid=2
[Tue Apr 28 16:37:05 2009] [error] [client 99.99.163.71] SoftException in Application.cpp:544: Directory "/home/xxx/public_html/components" is writeable by group, referer: http://www.xxx.com/index.php?page=shop.browse&category_id=6&option=com_virtuemart&Itemid=2


Any ideas anyone?

fanlokbun

  • Beginner
  • *
  • Posts: 19
Re: Thumbnails missing
« Reply #19 on: April 28, 2009, 22:05:10 pm »
Fixed. Permissions were messed up. I had 777 for most everything. Setting files to 644, and folders to 755 seemed to resolve this and make images appear.

bconnelly

  • Beginner
  • *
  • Posts: 6
Re: Thumbnails missing
« Reply #20 on: September 23, 2009, 19:35:58 pm »
Guys - sorry to reawaken this one but i'm at my wits end with it, I've even wiped my site clean and reinstalled just Joomla and VirtueMart. I get thumbnails for categories but not for product listing. I cant find the error logs mentioned but I have double checked file and folder permisions (644 and 755 respectively. Both category and product folders have the same permissions but the latter wont work!

If you want to have a look - http://bconnelly.com/index.php/shop?page=shop.browse&category_id=2

ANY help would be appreciated.

Thanks

Bryan

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10319
  • VirtueMart Version: 3+
Re: Thumbnails missing
« Reply #21 on: September 23, 2009, 19:41:20 pm »
Guys - sorry to reawaken this one but i'm at my wits end with it, I've even wiped my site clean and reinstalled just Joomla and VirtueMart. I get thumbnails for categories but not for product listing. I cant find the error logs mentioned but I have double checked file and folder permisions (644 and 755 respectively. Both category and product folders have the same permissions but the latter wont work!

If you want to have a look - http://bconnelly.com/index.php/shop?page=shop.browse&category_id=2

ANY help would be appreciated.

Thanks

Bryan

Turn off your cookie check, and then try another browse page and see if it works
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

I do NOT do development work for hire.

bconnelly

  • Beginner
  • *
  • Posts: 6
Re: Thumbnails missing
« Reply #22 on: September 23, 2009, 19:49:37 pm »
No difference im afraid - even tried another PC to be sure.

Seiko

  • Jr. Member
  • **
  • Posts: 115
    • My finished site
Re: Thumbnails missing
« Reply #23 on: September 24, 2009, 06:20:07 am »
I'm having similar problem and couldn't figure out what's causing this problem yet.
However I found a workaround. It may help you too.
Change browse_1.tpl.php
Line 15:
Code: [Select]
  document.write( '<?php echo ps_product::image_tag$product_thumb_image'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"'?></a>' );
Line 20:
Code: [Select]
  <?php echo ps_product::image_tag$product_thumb_image'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"'?>

I set ps_product::image_tag to pass resize value '0'.
It's '1' by default.
Do you have questions and need some help for your Virtuemart project?
I'm ready to help you. Hire Me on oDesk

erick_alcala

  • Jr. Member
  • **
  • Posts: 155
  • Everything is Possible!
    • Ofix-Comp
Re: Thumbnails missing
« Reply #24 on: October 06, 2009, 02:30:51 am »
Thanks!! this helped a lot.
wanting to learn to create good templates

floren

  • Beginner
  • *
  • Posts: 4
Re: Thumbnails missing
« Reply #25 on: October 10, 2009, 15:55:27 pm »
If no permission problem maby readfile problem:

http://forum.virtuemart.net/index.php?topic=58147

Uriel

  • Jr. Member
  • **
  • Posts: 78
    • Web design Hosting & Seo
Re: Thumbnails missing
« Reply #26 on: March 24, 2010, 15:44:16 pm »
I know this is an old post but I have the same issue.

Thumnails not displaying.

www.scrapbooking-scrapbook.co.za

I checked file permissions and been reading for over a day.... no solution.

please see if you can pick up errors - I also checked Server Logs and I do get errors but nothing like explained in here.

Pasting a small section of error log :

[Wed Mar 24 10:29:18 2010] [error] [client 196.215.25.190] File does not exist: /home/scrapboo/public_html/templates/ja_fagus/css/ja-newslight.css, referer: http://www.scrapbooking-scrapbook.co.za/
[Wed Mar 24 09:39:53 2010] [error] [client 196.210.155.40] File does not exist: /home/scrapboo/public_html/templates/ja_fagus/css/ja-newslight.css, referer: http://www.scrapbooking-scrapbook.co.za/index.php/chipboard%20embellishments.html
[Wed Mar 24 09:38:57 2010] [error] [client 196.210.155.40] File does not exist: /home/scrapboo/public_html/templates/ja_fagus/css/ja-newslight.css, referer: http://www.scrapbooking-scrapbook.co.za/
[Wed Mar 24 09:38:37 2010] [error] [client 196.210.155.40] File does not exist: /home/scrapboo/public_html/templates/ja_fagus/css/ja-newslight.css, referer: http://www.scrapbooking-scrapbook.co.za/index.php/Tutorials/
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10319
  • VirtueMart Version: 3+
Re: Thumbnails missing
« Reply #27 on: March 24, 2010, 19:37:54 pm »
Uriel, those are template images, NOT thumbnails
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

I do NOT do development work for hire.

Uriel

  • Jr. Member
  • **
  • Posts: 78
    • Web design Hosting & Seo
Re: Thumbnails missing
« Reply #28 on: March 25, 2010, 06:38:45 am »
I now found an error log of Virtuemart :

the 1st lot of errors :

[21-Jan-2010 12:16:21] PHP Warning:  Division by zero in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 199
[21-Jan-2010 12:16:21] PHP Warning:  Division by zero in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 199
[21-Jan-2010 12:16:21] PHP Warning:  imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 245
[21-Jan-2010 12:16:21] PHP Warning:  imageantialias(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 250
[21-Jan-2010 12:16:21] PHP Warning:  imagealphablending(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 251
[21-Jan-2010 12:16:21] PHP Warning:  imagesavealpha(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 253
[21-Jan-2010 12:16:21] PHP Warning:  imagecolorallocatealpha(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 255
[21-Jan-2010 12:16:21] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 258
[21-Jan-2010 12:16:21] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 169
[21-Jan-2010 12:16:21] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/scrapboo/public_html/administrator/components/com_virtuemart/classes/class.img2thumb.php on line 170


The second type of errors :
[19-Mar-2010 15:41:34] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:41:34] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:41:34] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:41:34] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:41:34] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:47:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:47:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:47:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:47:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:48:02] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/fetchscript.php on line 226
[19-Mar-2010 15:48:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:32] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:33] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:33] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:33] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:33] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
[19-Mar-2010 15:48:34] PHP Warning:  readfile() has been disabled for security reasons in /home/scrapboo/public_html/components/com_virtuemart/show_image_in_imgtag.php on line 125
Managing Member of Hosting-Webdesign http://www.hosting-webdesign.co.za