After upgrade my joomla site from 2.5.8 to joomla 3.4.1 and upgrade virtuemart 2 to virtuemart 3 got an internal server error in cart view page and on category view page. please reply thanks in advance.
Exactly which VirtueMart 3 version?
What do the server error logs show as the cause of the internal server error?
vituemart version is 3.0.8
joomla version 3.4.1
error are
Notice: Undefined index: virtuemart_state_id in /home/ayush/public_html/agriculture/administrator/components/com_virtuemart/helpers/calculationh.php on line 1265
Notice: Undefined variable: document in /home/ayush/public_html/agriculture/templates/green_machine/html/com_virtuemart/productdetails/defaultsecond.php on line 18
Fatal error: Call to a member function addScript() on a non-object in /home/ayush/public_html/agriculture/templates/green_machine/html/com_virtuemart/productdetails/defaultsecond.php
The notices are not relevant, as they can be turned off.
The fatal error is caused by your template override which appears to need updating for VM3, as addScript() is not used in VM3.
Try using the VM default productdetails/default.php template instead, although if you have other overrides then thay may also still be for VM2 versions so there could be other problems. There are major differences between VM2 and VM3 default templates.