VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: bluezeyes on July 11, 2013, 14:21:55 PM

Title: [SOLVED] Error on auto-update / manual update to VM 2.0.22
Post by: bluezeyes on July 11, 2013, 14:21:55 PM
Hello,

I got some Error while I try to upgrade from VM 2.0.20b -> 2.0.22.

Here are my system Infos in short:



I got the Error messages each time it try to update manually or to call the upgrademigration.php directly.

Need some help,

because i now get some errors too (Category0 not published, missing column 'customer_number' in tbl orders) when i try to checkout the card.


Kind regards,

Jörn-Ingo Weigert
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: TAIWAR on July 11, 2013, 15:51:31 PM
SAME PB CAN T UPGRADE ERROR 500
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: jenkinhill on July 11, 2013, 18:10:38 PM
@bluezeyes the auto-updater does not work on many shared hosts. The T_PAAMAYIM_NEKUDOTAYIM error only appears if you are using PHP5.2 - it does not happen with PHP5.3 or 5.4.  A fix will be made available for those stuck on hosts who have not updated their PHP version. If you cannot upgrade the PHP then stay on 2.0.20b for the moment.
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: bluezeyes on July 11, 2013, 18:23:48 PM
Quote from: jenkinhill on July 11, 2013, 18:10:38 PM
@bluezeyes the auto-updater does not work on many shared hosts. The T_PAAMAYIM_NEKUDOTAYIM error only appears if you are using PHP5.2 - it does not happen with PHP5.3 or 5.4.  A fix will be made available for those stuck on hosts who have not updated their PHP version. If you cannot upgrade the PHP then stay on 2.0.20b for the moment.
Hmm the problem is that my providers backup is not working and I had to stuck now on that version..
And also i cant upgrade PHP to a more recend version, my provider announced that to end of 3 quartal of 2013...

Now there are some missing colums in tables which are not updated, like the orders table.. wich affects that the shop had to be off until the fix is ready ..
really bad ...

Kind regards,

Jörn-Ingo Weigert
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: Stonedfury on July 11, 2013, 19:38:19 PM
I had this issue with the aoi and the component. I did a joomla install just like the first time you install, instead and it updated just fine. Also some shared host have several versions of the php and you can change yours via the .htaccess file
RewriteEngine On
AddHandler application/x-httpd-php53 .php
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: Milbo on July 11, 2013, 23:07:49 PM
I found a solution, use this file and update the tables via tools

[attachment cleanup by admin]
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: bluezeyes on July 12, 2013, 00:13:19 AM
Quote from: Milbo on July 11, 2013, 23:07:49 PM
I found a solution, use this file and update the tables via tools

Thanks Milbo for this quick solution!
It worked like a charm.

Kind regards,

Jörn-Ingo Weigert
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: DCJunior06 on July 12, 2013, 03:59:09 AM
Quote from: Milbo on July 11, 2013, 23:07:49 PM
I found a solution, use this file and update the tables via tools

Resolved for me!
Title: Re: Error on auto-update / manual update to VM 2.0.22
Post by: cpp on July 12, 2013, 14:10:37 PM
Quote from: Milbo on July 11, 2013, 23:07:49 PM
I found a solution, use this file and update the tables via tools

I have the same problem . I am not an expert. Can you tell me how i will use the file from Virtuemart -> Tools.

Or i have to update the DB using phpmyadmin?

PHP: 5.2.17
virtuemart: 2.0.20b

Thanks

Title: Re: [SOLVED] Error on auto-update / manual update to VM 2.0.22
Post by: bestpoint on July 13, 2013, 20:01:21 PM
tanks.
new updatesmigration.php is worked.
cpp - its in attachment.
Title: Re: [SOLVED] Error on auto-update / manual update to VM 2.0.22
Post by: cpp on July 13, 2013, 23:51:46 PM
Quote from: bestpoint on July 13, 2013, 20:01:21 PM
tanks.
new updatesmigration.php is worked.
cpp - its in attachment.

Thanks !!!!!!!!!!!!!!!!!!!!!!!! (i am not an expert......)

I had to replace the file to /administrator/components/com_virtuemart/models
And i install it manual!

Thanks! Lets see if all works ok.....