Hi,
If your Virtuemart version is higher than Virtuemart 3.0.2, then keep reading....
This problem has started happening after VM3.0.4 (with VM3.0.2 everything was OK!). because the way Virtuemart handles the db select has changed (JTable has been replaced by VmTable class in some of the core files)
When adding a product to cart, or removing from the cart.. Console trows this Internal Server - 500 error message:
Attachment ScreenShot2015-06-02at7.00.43PM.png not found
Until we fix this problem and release a new version for FlexibleDropdown shopping cart module; there are 2 solutions that you can follow; DO ONLY ONE OF THEM:
1- If you follow this patch, the product pictures won't displayed in the dropdown shopping cart box after clicking the "add to cart" button, but after refreshing the file, the picture will be displayed. (the picture won't be displayed via AJAX loading)
- Open this PHP file: /plugins/system/FlexibleVm3cart/FlexibleVm3cart.php
- Find and delete all the highlighted lines:
Attachment ScreenShot2015-02-17at11.48.52PM_2015-05-23.png not found
2- use two of the VM3.0.2's core files in the VM3.0.4 (and above)
- Download the VM3.0.2 from the original source: dev.virtuemart.net/attachments/download/885/com_virtuemart.3.0.2.zip
UNZIP it; and find these 2 files:
com_virtuemart.3.0.2.ZIP / administrator / components / com_virtuemart / helpers / vmmodel.php
com_virtuemart.3.0.2.ZIP / administrator / components / com_virtuemart / helpers / vmtable.php
and upload them (overwrite with the existing ones) to here (BACKUP THE ORIGINALs FIRST):
yourwebsite.com / administrator / components / com_virtuemart / helpers / vmmodel.php
yourwebsite.com / administrator / components / com_virtuemart / helpers / vmtable
If you follow the 2nd method, everything works just like how it was before. The pictures will be displayed on the dropdown box.
Regards.