VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: authentic on July 14, 2013, 18:44:33 PM

Title: T_PAAMAYIM_NEKUDOTAYIM - Update Failure
Post by: authentic on July 14, 2013, 18:44:33 PM
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /hsphere/local/home/flekser/orange20bikes.com/administrator/components/com_virtuemart/models/updatesmigration.php on line 303

Im not sure why this happened, but upon failing, broke my store. 

I now get...
- Category id 0 not published -  on the home page (oddly there does not even seem to be a category 0 in the category browser)
http://orange20bikes.com/index.php

I also get a slew of errors should i navigate to any other category.
http://orange20bikes.com/index.php/store/accessories1.html

Any assistance on how to fix would be appreciated.  I'd rather not resort to a backup.
Title: Re: T_PAAMAYIM_NEKUDOTAYIM - Update Failure
Post by: authentic on July 14, 2013, 18:48:56 PM
Fixed the site, reverted to 2.0.18a

Any help on how to fix the T_PAAAMAYIM error would be appreciated however as I would like to update the site to the new version.
Title: Re: T_PAAMAYIM_NEKUDOTAYIM - Update Failure
Post by: jenkinhill on July 14, 2013, 19:26:16 PM
It is related to having PHP5.2 on your server rather than the recommended 5.3+  so upgrade the server, or apply this fix for old versions ( http://forum.virtuemart.net/index.php?topic=117072.msg395217#msg395217 ) or wait for 2.0.20a being tested right now which is backwards compatible with 5.2