News:

Looking for documentation? Take a look on our wiki

Main Menu

Bug CurrencyDisplay after upgrade 1.1 > 2.0 [fixed]

Started by DevilOfExcitement, July 29, 2011, 15:10:07 PM

Previous topic - Next topic

DevilOfExcitement

Today I tried to update Virtuemart 1.1 to 2.0RC in my test environment but I have the following problem: When I go to "products" or "orders' in the back-end I get the following error:

Fatal error: Cannot redeclare class CurrencyDisplay in ***ROOT DIR***/administrator/components/com_virtuemart/classes/currency/class_currency_display.php on line 38

I assume this is a bug or is this something in my configuration?

edit: I went to tools and pressed on every button containing "migrate". I also pressed "Renew config by file". Now I get a different error (only the class is different though):


Fatal error: Cannot redeclare class convertECB in ***ROOT DIR***/administrator/components/com_virtuemart/classes/currency/convertECB.php on line 24

Studio 42

You must delete your old VM1.1 install, because this class exist in VM2 and Vm1.1

DevilOfExcitement

That solved the problem indeed. Thank you very much.

Milbo

Did you take a look already here? http://dev.virtuemart.net/projects/virtuemart/wiki/Upgrading_VM1_to_VM2_with_provided_packages

there is written "When you have trouble and getting strange errors, please check if your toolbar.virtuemart.php is deleted."

the new package should delete this file.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/