VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: keora on April 01, 2017, 12:38:43 PM

Title: Problem with Shipments-Update
Post by: keora on April 01, 2017, 12:38:43 PM
Hi guys!

I got the following problem (see attatchment) when I try to change something with the shipment methods.

There was no migration or anything with the page - just standard update through the extension managers.
I tried to update and install tables then I got another error (2nd one).

Anybody got a similar problem?

System:  Joomla 3.6.5 and VM 3.2.1

Thanks, Stefan
Title: Re: Problem with Shipments-Update
Post by: GJC Web Design on April 01, 2017, 17:38:10 PM
https://forum.virtuemart.net/index.php?topic=79800.0

have u tried the table updater in Tools?
Title: Re: Problem with Shipments-Update
Post by: keora on April 04, 2017, 10:08:44 AM
@GJC: Yes I did, then I get the 2nd Error (see original post).
Title: Re: Problem with Shipments-Update
Post by: GJC Web Design on April 04, 2017, 12:35:40 PM
I guess u have to correct then these errors manually by phpmyadmin etc
Title: Re: Problem with Shipments-Update
Post by: keora on April 04, 2017, 21:14:39 PM
And unfortunately I have no idea how. The Problem also occurred now the 2nd time on one of my pages for no reason. The first one I thought I might have made an error with the migration, but that one just happened.
Title: Re: Problem with Shipments-Update
Post by: Milbo on April 05, 2017, 13:17:13 PM
You just need to drop all keys of that table, and to execute the tableupdater again.

important KEYS, INDEXES, not a normal data column. Keys can be regenerated within seconds.
Title: Re: Problem with Shipments-Update
Post by: keora on May 08, 2017, 19:01:00 PM
@Milbo: Sorry for being such a database noob, but how do I drop the keys and indexes?! :(
Title: Re: Problem with Shipments-Update
Post by: GJC Web Design on May 08, 2017, 19:18:29 PM
see screen  .. open the table in your phpmyadmin
Title: Re: Problem with Shipments-Update
Post by: keora on May 11, 2017, 09:39:47 AM
@GJC: Thanks a lot!

I was able to find everything, but now I am running into another problem:

a. I am not 100% sure which table to take (there are several shipment methods) and
b. if I want tot drop a Pimary it reads an error, telling me I can't do that!?
Title: Re: Problem with Shipments-Update
Post by: GJC Web Design on May 11, 2017, 13:13:23 PM
there is only one #__virtuemart_shipmentmethods

just drop non primary and test