VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: FUSCHA on January 05, 2016, 14:23:05 PM

Title: error with paypal plugin
Post by: FUSCHA on January 05, 2016, 14:23:05 PM
I am getting the following error when I try to login to my backend,

require(JPATH_VM_PLUGINS/vmpsplugin.php): failed to open stream: No such file or directory in/home/shopdirtyceleb/public_html/plugins/vmpayment/paypal/paypal.phpon line 24

Warning: require(JPATH_VM_PLUGINS/vmpsplugin.php): failed to open stream: No such file or directory in/home/shopdirtyceleb/public_html/plugins/vmpayment/paypal/paypal.phpon line 24

Fatal error: require(): Failed opening required 'JPATH_VM_PLUGINS/vmpsplugin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/shopdirtyceleb/public_html/plugins/vmpayment/paypal/paypal.phpon line 24

Fixed last time by uninstalling virtuemart but really need this to work without reinstalling tables again.
Title: Re: error with paypal plugin
Post by: GJC Web Design on January 05, 2016, 14:29:52 PM
did u install the AIO?

are any plugins for VM there?
Title: Re: error with paypal plugin
Post by: FUSCHA on January 05, 2016, 22:41:47 PM
AIO was installed. All virtuemart plugins are active. I actually recreated the missing file at vmpsplugin.php and pointed it to the right direction but now getting error Parse error: syntax error, unexpected end of file in /home/shopdirtyceleb/public_html/plugins/vmpayment/vmpsplugin.php on line 1332.

Here is the PHP file as rendered (last lines):

   }

   function plgVmSetOnTablePluginParamsPayment($name, $id, &$table) {
      return $this->setOnTablePluginParams($name, $id, $table)

>php

I will attach the rest
Title: Re: error with paypal plugin
Post by: GJC Web Design on January 06, 2016, 01:43:05 AM
it must be in
administrator\components\com_virtuemart\plugins\vmpsplugin.php not the Joomla plugins folder

BTW - reinstalling VM wont touch any products, orders or shoppers etc

sounds like an incomplete install
Title: Re: error with paypal plugin
Post by: FUSCHA on January 06, 2016, 21:10:07 PM
Cool. Locked out of my backend though. Anyway I can uninstall virtuemart and reinstall with myphpadmin or SQL?
Title: Re: error with paypal plugin
Post by: GJC Web Design on January 06, 2016, 21:19:32 PM
I really don't know what your asking.. what has myphpadmin or SQL to do with installing a Joomla extension?

Just install it like any other Joomla extension with the Joomla installer!
Title: Re: error with paypal plugin
Post by: FUSCHA on January 06, 2016, 21:29:43 PM
Yeah but PHP error from the partial install has locked me out of the backend so keep just getting PHP error.
Title: Re: error with paypal plugin
Post by: GJC Web Design on January 06, 2016, 22:03:43 PM
why not just ftp the vm files back up to correct any which seem to be missing?