News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with Shipments-Update

Started by keora, April 01, 2017, 12:38:43 PM

Previous topic - Next topic

keora

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

GJC Web Design

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

keora

@GJC: Yes I did, then I get the 2nd Error (see original post).

GJC Web Design

I guess u have to correct then these errors manually by phpmyadmin 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

keora

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.

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

keora

@Milbo: Sorry for being such a database noob, but how do I drop the keys and indexes?! :(

GJC Web Design

see screen  .. open the table in your phpmyadmin
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

keora

@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!?

GJC Web Design

there is only one #__virtuemart_shipmentmethods

just drop non primary and test
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