I followed the upgrade instructions. As I want to be safe and not dead in the water (as the -dev site is now), I made a copy of the production database and web installation and upgraded that. All that is kept from the production area is tmp and upload, and I copied them in over the extracted files.
The upgrade wizard worked OK up until the database upgrade. It displays a page saying it will upgrade from DB version 177 to version 259. This is with pgsql. I "click here ot continue", and then there is a blank page at
limesurveydev.example.org/index.php/admi...e/sa/db/continue/yes
With debug set to 2, this page is displaying:
Parse error: syntax error, unexpected '[' in /usr/local/www/limesurveydev/application/models/User.php on line 340
That line number contains:
data-user='".$this->getName($this->uid)[0]."'
So there seems to be a problem with the username. I have not logged in during this upgrade, so there is no user name - we got here from the upgrade script. If I visit the page /admin, it doesn't prompt for a login, but displays the same upgrade wizard page for the DB upgrade. We used ldap for authentication if that might matter.
Any ideas what is wrong or how to debug it further?