VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: antonino78 on September 27, 2016, 18:16:29 PM

Title: After installation error 500 virtuemart.3.0.18_ext_aio [solved - crap plugin]
Post by: antonino78 on September 27, 2016, 18:16:29 PM
Hello,
I installed the folder (com_virtuemart.3.0.18)
And then right after I installed the folder (com_virtuemart.3.0.18_ext_aio)
When I try to open the front end site I see blank page with this error: HTTP ERROR 500  ??? ??? ???

The folder (com_virtuemart.3.0.18_ext_aio) do not have to install ????
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: GJC Web Design on September 27, 2016, 21:37:16 PM
and the error is?

Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 10:27:58 AM
activating the system debug I see this error:
Fatal error: Call to undefined method plgVmPaymentStandard::setConvertable() in /var/www/vhosts/mysite.com/httpdocs/plugins/vmpayment/standard/standard.php on line 39

This error is shown when I install the folder: virtuemart.3.0.18_ext_aio
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: Jörgen on September 28, 2016, 10:48:59 AM
Looks like the same problem as this thread:
http://forum.virtuemart.net/index.php?topic=135534.msg472123#msg472123 (http://forum.virtuemart.net/index.php?topic=135534.msg472123#msg472123)

regards

Jörgen @ Kreativ Fotografi
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 10:53:33 AM
Yes, but I just made the virtuemart upgrade to version 3.0.18
If I upgrade only virtuemart not see any error.
If I install virtuemart.3.0.18_ext_aio
I see the error
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: Jörgen on September 28, 2016, 11:01:56 AM
You must install the

virtuemart.3.0.18_ext_aio

Otherwise You will get other problems. It includes modules and other stuff used by VM 3.0.18.

Fram what Did You upgrade and how did You upgrade ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 11:06:13 AM
I updated the virtuemart component as doing it for years.
1 - I install the folder (com_virtuemart.3.0.18)
2 - I install the folder (com_virtuemart.3.0.18_ext_aio)
After installing com_virtuemart.3.0.18_ext_aio I get the error
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: Jörgen on September 28, 2016, 11:21:59 AM
But upgraded from what ?

Installed through Joomla uppload and install or just FTP ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 11:25:46 AM
I did the installation of Joomla uppload
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: Jörgen on September 28, 2016, 11:32:20 AM
http://forum.virtuemart.net/index.php?topic=79799.0 (http://forum.virtuemart.net/index.php?topic=79799.0)

regards

Jörgen @ Kreativ Fotografi
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 11:40:32 AM
Version Joomla! 3.6.2
Upgrading from version virtuemart: 3.0.16 the 3.0.18
Version PHP 5.5.37
Web Server Apache
Version database 5.5.5-10.1.16-MariaDB
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 12:52:30 PM
I forgot something?  ??? :-\
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: GJC Web Design on September 28, 2016, 13:12:03 PM
I don't understand your error

Fatal error: Call to undefined method plgVmPaymentStandard::setConvertable() in /var/www/vhosts/mysite.com/httpdocs/plugins/vmpayment/standard/standard.php on line 39

the std payment plugin calls a function that IS in the core of 3.0.18

$this->setConvertable(array('min_amount','max_amount','cost_per_transaction','cost_min_transaction'));

administrator\components\com_virtuemart\plugins\vmpsplugin.php line 48

public function setConvertable($toConvert) {
      $this->_toConvert = $toConvert;
   }

no one else is reporting a problem

r u using the standard payment plugin?  If not unpublish to get the site going
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: Jörgen on September 28, 2016, 13:45:43 PM
@GJC

This error looks strange I agree, the class should be available, but check this thread, here is Another with the same error code:

http://forum.virtuemart.net/index.php?topic=135534.msg472123#msg472123 (http://forum.virtuemart.net/index.php?topic=135534.msg472123#msg472123)

Do You have the correct version of vmpsplugin.php ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio
Post by: antonino78 on September 28, 2016, 17:42:07 PM
Problem solved!
The cause of the problem was a 3d party plugin that was not updated.
The plugin is this: VP Payment by Shipment
The developer has now solved the problem!


Thank you all for the help!  :)
Title: Re: After installation error 500 virtuemart.3.0.18_ext_aio [solved - crap plugin]
Post by: GJC Web Design on September 28, 2016, 23:59:27 PM
WTF did he call it plgVmPaymentStandard ?????

we already have this class