VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: mikekiy on December 26, 2013, 13:07:42 PM

Title: Upgrade from 2.0.24c to 2.0.26a produces 500 error
Post by: mikekiy on December 26, 2013, 13:07:42 PM
Hi all

J2.5.17

Puzzled over this - upgrade works OK through the backend of the site but front end returns 500 server error.

Having turned up error reporting to Maximum the Error log reports

PHP Notice:  Use of undefined constant VMLANG - assumed 'VMLANG' in /home/domainaccount/public_html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 549

That line is

$q = $select . ' FROM   `#__virtuemart_' . $this->_psType . 'methods_' . VMLANG . '` as l ';
      
Any ideas people?

Mike
Title: Re: Upgrade from 2.0.24c to 2.0.26a produces 500 error
Post by: molenwal1 on December 27, 2013, 10:42:42 AM
I have the same issue. Not yet a solution
Title: Re: Upgrade from 2.0.24c to 2.0.26a produces 500 error
Post by: molenwal1 on December 27, 2013, 12:05:06 PM
My upgrade was from 2.0.22a to 2.0.26a. Then the error 500 occurs.

Solved it this way:

Looks like an update issue.
Title: Re: Upgrade from 2.0.24c to 2.0.26a produces 500 error
Post by: mikekiy on December 28, 2013, 09:05:54 AM
Thanks - that works for me too.

Still have the VMLANG error reporting.

Mike
Title: Re: Upgrade from 2.0.24c to 2.0.26a produces 500 error
Post by: Milbo on January 04, 2014, 15:03:23 PM
Very strange. What happens with this file?

[attachment cleanup by admin]
Title: Re: Upgrade from 2.0.24c to 2.0.26a produces 500 error
Post by: jstvnson on January 05, 2014, 05:13:17 AM
The solution, if you have installed the latest version, is to install the 2.0.25g with the aio. The error is in the 2.0.26a install.