News:

Support the VirtueMart project and become a member

Main Menu

console error on add to cart button

Started by xbass540, August 29, 2016, 13:27:36 PM

Previous topic - Next topic

xbass540

hi,
i have a 2.5.18 joomla installation with virtue mart. I have bought a template for the joomla that styles the e-shops as well. The site has been working a s a gallery but now my customer asked me for e-shop functionality so i enabled the e-shop but when i click add to cart button i get the console error

GET http://keysiamo.gr/index.php?option=com_virtuemart&nosef=1&view=cart&task=a...anufacturer_id%3D4%26virtuemart_category_id%255B%255D%3D14&_=1472469007208 500 (Internal Server Error)send @ jquery.js:2ajax @ jquery.js:2p.(anonymous function) @ jquery.js:2getJSON @ jquery.js:2sendtocart @ vmprices.js:60(anonymous function) @ vmprices.js:26dispatch @ jquery.js:2h @ jquery.js:2

and nothing happens.

I remember making some changes in the past to the core files but now i cant figure out what was these after all these years.

I tried to rewrite the joomla files on top of the existing ones, in order to replace any corrupted files with the good ones, with no success.

I think that the problem is a damaged file but i cant find out which one.

thanks!

GJC Web Design

could be an out of date template.. try witht he std. VM template files

otherwise cart handling is in the FE helper/cart.php and controllers/cart.php mainly

you could also just paste the ajax url and find the 500 error by the std methods
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation