I have a brand new installation of joomla 3. Installed VM 2.9 which I understand is still being developed for joomla 3.
Everything works fine apart from two issues: I am trying to configure Paypal as a payment method, in plugins as soon as I click on joomla standard I get the following message:
PayPal
vmpayment / paypal
PayPal
Warning: require(JPATH_VM_ADMINISTRATOR/helpers/shopfunctions.php): failed to open stream: No such file or directory in /home1/cmptrwrm/public_html/repairpartsuk.com/plugins/vmpayment/paypal/paypal/fields/paypalcreditcards.php on line 25
Warning: require(JPATH_VM_ADMINISTRATOR/helpers/shopfunctions.php): failed to open stream: No such file or directory in /home1/cmptrwrm/public_html/repairpartsuk.com/plugins/vmpayment/paypal/paypal/fields/paypalcreditcards.php on line 25
Fatal error: require(): Failed opening required 'JPATH_VM_ADMINISTRATOR/helpers/shopfunctions.php' (include_path='.:/opt/php54/lib/php') in /home1/cmptrwrm/public_html/repairpartsuk.com/plugins/vmpayment/paypal/paypal/fields/paypalcreditcards.php on line 25
Also I have an issue where my shopping cart isn't showing prices. Any ideas or help would be greatly appreciated.
The website in question is http://repairpartsuk.com
Thanks
Which VM2.9? 2.9.9 is the latest test version and does not give me the error you describe.
yes on 2.9.9 just reinstalled it and also the ext.aio and its still doing it. Only does it on the paypal plug in when I try to open that in plug ins joomla 3 back end.
QuoteI am trying to configure Paypal as a payment method, in plugins as soon as I click on joomla standard I get the following message:
this makes no sense to me - joomla standard? - but - I have a happy running J3.3.3/VM2.9.9 with multiple payments config incl. Paypal and no errors at all..
So something isn't right... if your JPATH_VM_ADMINISTRATOR/helpers/shopfunctions.php isn't there then I would imagine the whole shop wouldn't work
That's what I don't get, the whole shop works perfectly fine, no issues, skrill works fine, the plug in, all the other plug ins work too. But whenever I open the paypal: VM: Paypal plugin I get them errors on the page and I have to go back.
I have no idea because iv looked at line 25 which is where the apparent issue is and everything seems fine.
Is there anyway you can copy and paste your line 25 and I can check it against mine please?
Cheers
line 25 just includes the helper/shopfunctions.php file
if (!class_exists('ShopFunctions')) {
require(JPATH_VM_ADMINISTRATOR . '/helpers/shopfunctions.php');
}
the plugin files are in the AOI zip in the plugins folder... but highly unlikely this file is wrong in some way
You need to do a bit of debugging to find why it can't find the path to the file -
it is administrator/components/com_virtuemart/helpers/shopfunctions.php