VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: eboons99 on November 28, 2013, 15:24:01 PM

Title: Undifined property TableShipmentmethods after Update to 2.0.24c
Post by: eboons99 on November 28, 2013, 15:24:01 PM
Hi,

i'm facing an error after i updated to VM 2.0.24c after a customer put some stuff into his cart and he wants to select a shipment and payment method, this error occurs
Notice: Undefined property: TableShipmentmethods::$shipment_logos in /var/www/koi4sale.nl/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 755
Also i noticed that when i'm into the admin pannel by shipmentmethods an informational message was put COM_VIRTUEMART_MISSING_FLAG.

can anyone please help me?

Running on:
Joomla 2.5.15
VM 2.0.24c

with regards Edwin

Title: Re: Undifined property TableShipmentmethods after Update to 2.0.24c
Post by: GJC Web Design on November 29, 2013, 00:19:09 AM
It's not an error - just a notice..

try putting

error_reporting(E_ERROR);

after the first line  -

defined ('_JEXEC') or die('Restricted access');

in   administrator/components/com_virtuemart/plugins/vmpsplugin.php

although strangely theres no var $shipment_logos that I can find in VM - 3rd party shipping plugin maybe?

the other is

COM_VIRTUEMART_MISSING_FLAG="Missing Flag %1$s for language  %2$s.<br />Go to Extensions > Language Manager > Content, and check the parameter <em>Image Prefix</em> for this language.

by flag it actually means a Flag image   (you know - things Americans wave..)

it's looking for an image here :

$image_flag="../media/mod_languages/images/".$img.".gif";
Title: Re: Undifined property TableShipmentmethods after Update to 2.0.24c
Post by: eboons99 on November 30, 2013, 12:21:37 PM
Wow !

Thnx

works great now
Title: Re: Undifined property TableShipmentmethods after Update to 2.0.24c
Post by: GJC Web Design on November 30, 2013, 14:18:10 PM
No prob..

make sure your Joomla 2.5.15 is updated to Joomla 2.5.16 - it was released immediately after with an extra bug fix