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

Fatal Error Encountered After VM Updated

Started by Way2exhale, November 14, 2013, 11:51:50 AM

Previous topic - Next topic

Way2exhale

Hi everyone:

I recently updated my VirtueMart from 2.0.22c to 2.0.24

Now I am encountered with this error message when I view the shopping cart, whether there is/not any product in the cart.

Fatal error: Call to undefined method plgVmPaymentPaypal::convert_condition_amount() in /home/content/40/11946240/html/plugins/vmpayment/paypal/paypal.php on line 887

My paypal account is in test mode and prior to this error message I was receiving customer receipts and vendor emails for test purchases. Now I am getting this error message and not sure what to do. I have been searching and reading like topics but I am not able to find any issues that can help me resolve my issue.

My website is still in development mode and close to completion. 

VM: 2.0.24
Joomla 2.5.16
PHP: 5.3.24
Currently using:
VM 2.0.24b
Joomla 2.5.16
Php 5.3.24

GJC Web Design

did you also upgrade your VM AIO to v2.0.24?
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

Way2exhale

Yes, I updated the "aio" from the Joomla Admin Panel

However, my VM Control Panel indicates I need to update the same file (this is confusing) do I still need to download this file?



[attachment cleanup by admin]
Currently using:
VM 2.0.24b
Joomla 2.5.16
Php 5.3.24

GJC Web Design

How did u update to VM2.0.24?

live update gets the current version from administrator/components/com_virtuemart/virtuemart.xml

My server resolutely refuses to update VM via the Joomla installer so I do it by just expanding the zips in the components but always forget to upload the virtuemart.xml (till I remember again  ;))

also in VM tools have you clicked  "install or if necessary update tables  " - this runs all the fixes in administrator/components/com_virtuemart/install/script.virtuemart.php which won't have run if you manually updated.
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

Way2exhale

Hi GJC:

To update the VM2.0.24 I just clicked on the link "update VM plugin tables" see pic it indicates that I have updated the database. After clicking the update link I just  selected my cart and now it is working again. Mmm ??? I thought I had updated the plugin tables earlier?

I have not clicked "install or update the tables from VM Tools. Which is probably why I have the indicator to update in my control panel. Should I go ahead and download and install from here too?

[attachment cleanup by admin]
Currently using:
VM 2.0.24b
Joomla 2.5.16
Php 5.3.24

GJC Web Design

The normal way to update is to download the latest zip from VM  - unpack and there are 2 zips - one the component and one the AIO
Back up everything!
Install both these as normal Joomla installs while holding your breath...

then in AIO click the update tables and in VM tools click "install or if necessary update tables"

These run a small script in both (if present) that does any updates to tables that may be nesscesary - I does no harm to click them and would advise always to do so after an update

One last point after updates (Joomla) that is often missed is to update any Joomla tables with Extensions->Extensions Manager->Database
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

Way2exhale

Currently using:
VM 2.0.24b
Joomla 2.5.16
Php 5.3.24

GJC Web Design

you should never update a live site without a full backup - I personally always clone the site - backup - test - fix - transfer to live

Akeeba backup
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

Way2exhale

Perfect,
I truly appreciate your advice and support. I will now backup and update VM as suggested.  :)

Currently using:
VM 2.0.24b
Joomla 2.5.16
Php 5.3.24