tel8618217223380 / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

update to 2.6 is not working #593

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Trying to update 2.5.26 to 2.6 with this instruction 
https://code.google.com/p/mollify/wiki/Installation
2. Opening http://<fqdn>/fm/backend/update/ and see nothing

I turned on PHP error reporting. Now i see "Parse error: syntax error, 
unexpected '[' in 
/var/www/html/fm/backend/include/filesystem/FilesystemController.class.php on 
line 93" on update page

Original issue reported on code.google.com by au20...@gmail.com on 2 Feb 2015 at 7:35

GoogleCodeExporter commented 9 years ago
I've released 2.6.1 that has installer fixes.

The error you had, I still cannot see that happening, but made a "blind" fix. 
It is possible, I guess, that some PHP version cannot handle shortcut notation 
for function call and index accessor in the same line, like this

$value = $this->getSomeArrayValue()["index"];

so I separated them into two lines

$array = $this->getSomeArrayValue();
$value = $array["index"];

This should not be required, but hopefully this is enough.

Original comment by mollify....@gmail.com on 2 Feb 2015 at 9:36