News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Internal server error on cart view page after upgrade to VM3

Started by ayushwebkul, May 01, 2015, 16:58:41 PM

Previous topic - Next topic

ayushwebkul

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.

jenkinhill

Exactly which VirtueMart 3 version?

What do the server error logs show as the cause of the internal server error?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

ayushwebkul

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

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum