VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: fffzql on October 11, 2012, 07:05:19 AM

Title: "Problems while loading image" when open the product detail page
Post by: fffzql on October 11, 2012, 07:05:19 AM
Hello, I use virtuemart 2.0.12, joomla 2.54.
Website works very well on localhost, but when moved to web hosting, some thumbnails don't show at frontend. And when open each product detail page, it always shows: "Problems while loading image", image could not be loaded.
Could anyone tell me how to do or where to change? Thank you in advance.
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on October 11, 2012, 12:48:43 PM
Hello,

Whats your PHP version? Could be probably your provider issue.
Also please check the size of your images and it a good way to use akeeba backup (free edition) to backup your site and after restore it to your server.

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: fffzql on October 11, 2012, 13:51:36 PM
Hi bytelord, thank you for your answer, php version of localhost is: php5.2.9, web hosting is php5.2.17.
Yes I use akeeba to backup and restore.
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on October 11, 2012, 15:31:47 PM
Hello,

Provide a live url, but i would suggest you to upgrade your PHP to 5.3.x. Try with a local PHP first and disable the E_STRICT errors in your php.ini file because are be default enabled in php 5.3.x

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: fffzql on October 12, 2012, 15:11:39 PM
Hi, live url is: www.59tousu.com, I upgraded localhost and web hosting to php5.3 version. Re-installed the website, the same problem.
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on October 12, 2012, 15:53:11 PM
Hello,

You have wrong path for images, can you check your vm configuration for assets in the backend? Images return the following url:

http://www.59tousu.com/imagesstoriesvirtuemartproducthurleyswimwear.jpg

As you an see the "/" is missing on the urls, may be is a configuration issue and use the wrong "/" or"\" making the path. So check the assets configuration from the backend.

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: fffzql on October 12, 2012, 16:21:18 PM
Could you please help to check if this path setting is incorrect? Thanks.
(http://www.59tousu.com/images/cut.png)
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on October 12, 2012, 23:46:45 PM
Hello,

The configuration is the right one, i check again your site using firebug. May be the problem is not vm issue that joomla or joomla template issue.
First the products is bot displayed for the custom slider vm module you have for your products (this is not a vm product).

What i am suggesting is to try your installation without template overrides. If is working then is a problem of your commercial template. Did you install the quickinstall package including with your commercial template? If yes then try a custom joomla and vm installation and then apply your commercial template, is always better, using quckinstallls cause issues.

Also as i see some of your language selector is not working properly.Last please ask for support also from your template provider, that error does not product from vm.

Use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Creating Template overrides: https://forum.virtuemart.net/index.php?topic=98505.0

Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: fffzql on October 13, 2012, 12:07:44 PM
Thank you bytelord.
Title: Re: "Problems while loading image" when open the product detail page
Post by: harvester on November 09, 2012, 12:28:53 PM
i have the same problem!!

did you find the solution???


this is what i have bytelord

images are changing path

and / disappear

please!!!! any help???
thnx
Title: Re: "Problems while loading image" when open the product detail page
Post by: harvester on November 09, 2012, 12:43:30 PM
i found something strange too


the site is working under any folder ( ex try www.rockaine.com/a )i copied it there

but not at the root folder!!!

www.rockaine.com

is there any solution for this???
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on November 09, 2012, 18:17:15 PM
Please try with SEF urls disabled. Also check your .htaccess file for any mistakes.

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: bdimov on December 10, 2012, 18:09:47 PM
I have the same problem...The problem is only in some categories....
My site is http://ognis.bg
Have a look here for this problem: http://ognis.bg/index.php/uredi-za-otoplenie/%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F-%D0%B7%D0%B0-%D0%B3%D0%B0%D0%B7%D0%BE%D0%B2%D0%B8-%D0%BA%D0%BE%D1%82%D0%BB%D0%B8

I checked the path folder and everything else and don't know how to fix that problem.
When I'm in virtuemart in some product with that problem I see the picture but the thumbnail don't loading....
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on December 10, 2012, 19:36:18 PM
Hello,

Try without template overrides and also with sef option disabled on both joomla and vm2.

for example the images is been loaded false: http://ognis.bg/imagesstoriesvirtuemartproduct19284.jpg

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: bdimov on December 10, 2012, 20:56:32 PM
How to do this 2 steps? Without template overrides? And where is that sef option?
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on December 10, 2012, 20:59:59 PM
Hi,

Under joomla Global Configuration -> Site -> SEO Settings -> set Search Engine Friendly URLs to No ... also for Use URL rewriting.

For your template overrides just rename the folder joomla_folder/template/your_joomla_template/html/com_virtuemart to something else ... just for testing, then you can renamed back.

Also please read this: http://docs.joomla.org/Beginners

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: bdimov on December 10, 2012, 21:13:31 PM
So I set the Search Engine Friendly Urls to No....
I upload again the three pictures in that category http://ognis.bg/index.php?option=com_virtuemart&view=category&virtuemart_category_id=109&Itemid=524 and now the thumbnail is here but when I go to product info page is the same problem with loading image....

I try with rename that folder but nothing change except that the products in category are mess....
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on December 10, 2012, 21:21:11 PM
You are using a jqzoom module/plugin that loads wrong the images ... this is not related to vm2 ... please disable the module and try again ..

<a title="FS 40SCW01" rel="gal1" class="jqzoom" href="http://ognis.bg/images/stories/virtuemart/product/asd.png" style="outline-style: none; text-decoration: none;"><img class="iceproductimage" title="FS 40SCW01" src="http://ognis.bg/imagesstoriesvirtuemartproductasd.png"></a>
<img class="iceproductimage" title="FS 40SCW01" src="http://ognis.bg/imagesstoriesvirtuemartproductasd.png">

Regards
Title: Re: "Problems while loading image" when open the product detail page
Post by: bdimov on December 10, 2012, 21:25:44 PM
Ooo thank you man!!! You are gorgeous!!! That problem is all fixed when I stopped the IceVm....stupid plugin!!!
So I have to buy some drink....
Title: Re: "Problems while loading image" when open the product detail page
Post by: bytelord on December 10, 2012, 21:36:09 PM
Nice then, drink one for me also :)

btw, contact the plugin provider to fix it for you ... epsecially if is a commerial product.

Regards