PHP Warning: getimagesize(…) view_cart.php on line 86


scratch

Many thanks!
I changed the view_cart file and it's working great now!
Much appreciated!
J

freeSbee

Hi Scratch

The function getimagesize() does only work with urls if your server configuration (php.ini) has set the option allow_url_fopen = 1:
http://php.net/manual/de/function.getimagesize.php
Ask your hosting provider to do so.

Alternatively you can modify the Bakery file view_cart.php on line 83:
$items[$i]['thumb_url'] = WB_URL.MEDIA_DIRECTORY.$thumb_dir.$items[$i]['main_image'];
Change it to
$items[$i]['thumb_url'] = WB_PATH.MEDIA_DIRECTORY.$thumb_dir.$items[$i]['main_image'];

Regards Christoph

scratch

Having problems with a slow loading basket in Bakery..

The server log states the following error:

PHP Warning: getimagesize(...) view_cart.php on line 86

Can anyone help?

Many thanks