Author Topic: [SOLVED] Error on auto-update / manual update to VM 2.0.22  (Read 5357 times)

bluezeyes

  • Jr. Member
  • **
  • Posts: 80
  • VirtueMart Version: 3.0.3
[SOLVED] Error on auto-update / manual update to VM 2.0.22
« 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:


  • Server: Linux sh16-55 2.6.24-32-server (ubuntu) shared hoster
  • PHP: 5.2.17-0.dotdeb.0
  • MySQL: 5.0.96-0ubuntu3
  • memory_limit: 256M
  • max_execution_time: 60
  • Joomla-Version: Joomla! 2.5.11 Stable [ Ember ] (Plattform 22.4.0 Stable)
  • Old Version: Virtuemart 2.0.20b
  • Upgrade to: Virtuemart 2.0.22
  • Displayed error message:
       Auto-update: Das Archiv kann nicht geöffnet werden! Das Auspacken des Aktualisierungspakets ist fehlgeschlagen. Bitte aktualisieren Sie die Erweiterung manuell.
       Manuell (upload): Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /hp/by/aa/jk/www/zb.com/administrator/components/com_virtuemart/models/updatesmigration.php on line 303
       Manuell (FTP): Same error when FTPed it on the server and run updatemigration.php
  • RO Permissions: No not writable dirs permissions afaik?
  • Hoster: 1blue

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

TAIWAR

  • Jr. Member
  • **
  • Posts: 219
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #1 on: July 11, 2013, 15:51:31 pm »
SAME PB CAN T UPGRADE ERROR 500

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27602
  • Always on vacation
    • Jenkin Hill Internet
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #2 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

bluezeyes

  • Jr. Member
  • **
  • Posts: 80
  • VirtueMart Version: 3.0.3
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #3 on: July 11, 2013, 18:23:48 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

Stonedfury

  • Jr. Member
  • **
  • Posts: 266
    • Stonedfury
  • Skype Name: Stonedfury
  • VirtueMart Version: 2.0.24
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #4 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
Code: [Select]
RewriteEngine On
AddHandler application/x-httpd-php53 .php
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10000
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #5 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]
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

bluezeyes

  • Jr. Member
  • **
  • Posts: 80
  • VirtueMart Version: 3.0.3
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #6 on: July 12, 2013, 00:13:19 am »
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

DCJunior06

  • Beginner
  • *
  • Posts: 1
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #7 on: July 12, 2013, 03:59:09 am »
I found a solution, use this file and update the tables via tools

Resolved for me!

cpp

  • Beginner
  • *
  • Posts: 3
Re: Error on auto-update / manual update to VM 2.0.22
« Reply #8 on: July 12, 2013, 14:10:37 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


bestpoint

  • Beginner
  • *
  • Posts: 1
Re: [SOLVED] Error on auto-update / manual update to VM 2.0.22
« Reply #9 on: July 13, 2013, 20:01:21 pm »
tanks.
new updatesmigration.php is worked.
cpp - its in attachment.

cpp

  • Beginner
  • *
  • Posts: 3
Re: [SOLVED] Error on auto-update / manual update to VM 2.0.22
« Reply #10 on: July 13, 2013, 23:51:46 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.....