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

Issue with UPS Shipping module - Undefined variable: ups_rates

Started by loungn14, November 19, 2013, 23:10:26 PM

Previous topic - Next topic

loungn14

VM 2.0.24B

Getting the following at checkout

Notice: Undefined variable: ups_rates in /var/www/vhosts/x.com/httpdocs/plugins/vmshipment/istraxx_ups/istraxx_ups.php on line 520 Notice: Undefined variable: ups_rates in /var/www/vhosts/x.com/httpdocs/plugins/vmshipment/istraxx_ups/istraxx_ups.php on line 521 Notice: Undefined index: in /var/www/vhosts/x.com/httpdocs/administrator/components/com_virtuemart/models/orders.php on line 977 Notice: Undefined index: in /var/www/vhosts/x.com/httpdocs/administrator/components/com_virtuemart/models/orders.php on line 990

anyone have any ideas?

It is able to accurately get UPS shipping data and calculate accordingly.  It just at checkout the error appears.  It also causes us to not get the email (nor the shopper) that the order was successful
We downloaded the latest UPS module/code and still the same problem


GJC Web Design

These are only php notices - not errors...

Normally on a production server you wouldn't want to display this low level of reporting - also this is highly unlikely to be causing the confirmation emails not to be sent..

Check in your Joomla Global Config that your error reporting is set to "Normal"  - if it is then it is a server setting - your host will advise.
You can blank these reports by putting at the top of each of these files (after the Joomla access code)

error_reporting(E_ERROR);

then only actual errors will report.

or for undefined varible errors you can just declare them in the file

e.g  put $ups_rates = '';
b4 line 520 etc
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