WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: NorHei on December 04, 2013, 02:06:42 PM

Title: Any Items
Post by: NorHei on December 04, 2013, 02:06:42 PM
Hi, i got

WB 1.8.3
Bakery 1.70
Bakery Anyitems 0.6

Anytime i try to call Anyitems i get an error message :
Notice: Undefined index: main_image in /www/htdocs/w00daa6d/StudioWb/modules/anyitems/include.php on line 310

Then products are shown normally but whithout any Images.

To me it looks like the database structure has changed?

Any Ideas?
Title: Re: Any Items
Post by: freeSbee on December 04, 2013, 04:57:23 PM
Hi NorHei

Yes, you're right. The errors you've got are due to the improved item image handling of Bakery 1.7.0. The snippets Anyitems and Lastitems have never been updated to work with Bakery 1.7.0.

You might be able to fix the snippets yourself by using the Bakery file view_overview.php (starting at line 140), where you can find and adopt the correct code to include the images.

Regards Christoph