VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Valdez360 on July 10, 2013, 09:49:22 AM

Title: Upgrade to 20.0.22 from 20.0.20a
Post by: Valdez360 on July 10, 2013, 09:49:22 AM
I have got this error twice trying an install (once after site restore) whilst trying to upgrade from 20.0.20a to 20.0.22:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in/var/sites/h/howtoclone.co.uk/public_html/administrator/components/com_virtuemart/models/updatesmigration.php on line 303

Any suggestions? Can anyone reproduce?
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: jenkinhill on July 10, 2013, 11:04:29 AM
What PHP version are you using?
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Zer0g on July 10, 2013, 12:04:32 PM
Got the same problem

My PHP Version: 5.2.12
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Valdez360 on July 10, 2013, 15:47:51 PM
Thanks for your replies . Jenkinhill I was using 5.2.6, but have just changed to 5.3.10 (actually to help with site speed rather than compatibility). Will this def. fix prob? I haven't dared to try upgrade a third time without being forearmed with some clue.

And for info, I am running on Joomla! 2.5.11.
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: jenkinhill on July 10, 2013, 17:20:03 PM
You should not see that issue using PHP5.3 - which in any case is recommended for J2.5
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Valdez360 on July 10, 2013, 17:32:34 PM
Thanks Global Super Moderator Hero. I will give it a spin after the next backup and let you know how it goes.
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Shimon Hirschhorn on July 10, 2013, 20:47:58 PM
I do not have a solution, however I can tell you what it means.

This is a transliteration of Hebrew and it means "Double Colons"  i.e.  ::
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: jenkinhill on July 11, 2013, 23:45:57 PM
Possible fix: http://forum.virtuemart.net/index.php?topic=117072.msg395217#msg395217
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Valdez360 on July 16, 2013, 13:16:22 PM
PHP 5.3 fixed this for me.
Thank you Jenkinhill
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Uke on July 16, 2013, 15:33:36 PM
I got the same error and downloaded the new updatemigration.php file, put it under /administrator/components/com_virtuemart/models/.

Then i try with tools -> install or update tables and got the same error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /var/www/.../administrator/components/com_virtuemart/models/updatesmigration.php on line 303

I have PHP Version 5.2.17 and Virtuemart Version 2.0.21g

:'(
Title: Re: Upgrade to 20.0.22 from 20.0.20a
Post by: Uke on July 16, 2013, 15:43:10 PM
I just downloaded the Version 2.0.22a and install it successfully. After this i try to install/update the tables once again and it was successfully!  :)