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

Paypal plugin issue - Joomla 3

Started by ne0beatsm0rp98, August 17, 2014, 17:12:56 PM

Previous topic - Next topic

ne0beatsm0rp98

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
http://www.computerwormsliverpool.com
PC Laptop & Console Repairs & Sales

jenkinhill

Which VM2.9?   2.9.9 is the latest test version and does not give me the error you describe.
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

ne0beatsm0rp98

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.
http://www.computerwormsliverpool.com
PC Laptop & Console Repairs & Sales

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ne0beatsm0rp98

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
http://www.computerwormsliverpool.com
PC Laptop & Console Repairs & Sales

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation