News:

Looking for documentation? Take a look on our wiki

Main Menu

Error on Migrate VM 1.1.9 to 2.0.4. My Site Down!

Started by Truja, April 10, 2012, 07:35:38 AM

Previous topic - Next topic

Truja

Hi.

I migrate to new version and my site down.

This error appear --> Fatal error: Cannot redeclare class convertECB in ../public_html/administrator/components/com_virtuemart/classes/currency/convertECB.php on line 24

my site is www.insumosacuarios.com.ar

Any help?

PRO

Here are the instructions for migrating
http://forum.virtuemart.net/index.php?topic=95236.0


WHAT the problem is , you have an old file conflicting with the new files.

You were supposed to rename the folders before upgrading.


administrator/components/com_virtuemart

components/com_virtuemart

AND;  UNINSTALL all vmart 1.1 modules and plugins.

SO,

I would make a backup. 1ST

THEN, FTP over to the site, and rename the com_virtuemart folders.

Then install the 2.0 again.

BEFORE YOU DO THE MIGRATOR, MAKE SURE TO HAVE YOUR IMAGES IN THE RIGHT FOLDERS.

Truja

Ok, my mistake was thinking it was an upgrade but rather a new system.



So, i rename the old folders and re install the new version.

What do you mean that I noticed that the pictures are in the appropriate folders?

PRO

Did you look at the instruction for migrating? It says it right there.

The images have to be in the right folder BEFORE you click the migrate button.


Truja

i do a migraton.. but now appear this error

        vmError: port ST addresses db error FUNCTION insumosa_insumos.ISNULL does not exist SQL=SELECT `ui`.* FROM jos_vm_user_info as `ui` LEFT OUTER JOIN jos_virtuemart_userinfos as `vui` ON `vui`.`virtuemart_user_id` = `ui`.`user_id` WHERE `ui`.`address_type` = "ST" AND ISNULL (`vui`.`virtuemart_user_id`) LIMIT 0,10400
        vmError: port ST addresses db error SELECT `ui`.* FROM jos_vm_user_info as `ui` LEFT OUTER JOIN jos_virtuemart_userinfos as `vui` ON `vui`.`virtuemart_user_id` = `ui`.`user_id` WHERE `ui`.`address_type` = "ST" AND ISNULL (`vui`.`virtuemart_user_id`) LIMIT 0,10400
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0
        vmError: Port Categories Xref unknow : ID 0



PRO

Truja,

what steps have you taken to migrate?

Tell me exact what you have done since before starting this thread.


Truja

ok, but apparently it works ok. The only thing the images could not connect yet.

Truja

first uninstall all the components modules and plugins. then re name the old folders.
later re install de VM2. and use de migrator tools. is all.

PRO

Quote from: Truja on April 10, 2012, 22:26:17 PM
ok, but apparently it works ok. The only thing the images could not connect yet.

u keep clicking migrate, make sure images are published in

shop media,

also, go into a product, and see if the image is there.

You might just have the re-create the thumbnails with the dynamic thumbnails

Truja

i come back.

the images do not appear. As I can do? I not well understood before migrating over to the folders where the images are.

PRO

Quote from: Truja on April 11, 2012, 21:34:50 PM
i come back.

the images do not appear. As I can do? I not well understood before migrating over to the folders where the images are.



1.1 Images are    in   components/com_virtuemart/show_image/HERE

images/stories/virtuemart/HERE

BEFORE migrating you were supposed to move the images from the old folder, into the new folders


Did you not do this?


Truja

no..

I do it manually now?

VM1

components/com_virtuemart/show_image/HERE OK!
images/stories/virtuemart/HERE OK!

VM2

Root??

Tnks 4 u help..

PRO

Quote from: Truja on April 11, 2012, 22:10:54 PM
no..

I do it manually now?

VM1

components/com_virtuemart/show_image/HERE OK!
images/stories/virtuemart/HERE OK!

VM2

Root??

Tnks 4 u help..

Yes, root/images/stories/virtuemart

YOU should have done it BEFORE clicking migrate.

You can try it, but you might have to start over.



Truja

ok, if I do the migration again .. folders with moving images .. should work no?

PRO

Quote from: Truja on April 11, 2012, 22:43:49 PM
ok, if I do the migration again .. folders with moving images .. should work no?

yes