Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Parse error: syntax error, unexpected ',', expecting '(' in ~vanilla/bootstrap.php on line 71
Hi. I've just installed vanilla on my server. Unfortunatelly instead of installation page it shows me this text: "Parse error: syntax error, unexpected ',', expecting '(' in ~vanilla/bootstrap.php on line 71" Could You please explain me the reason and tell how to fix it? Note: I have PHP 5.
Tagged:
1
Comments
Cheers
Thomas
Gdn::FactoryInstall(Gdn::AliasCache, 'Gdn_Cache', CombinePaths(array(PATH_LIBRARY_CORE,'class.cac...he.php')) ' Gdn::FactoryRealSingleton, 'Initialize');
just recognized that the host vanilla should run lower php 5.x.x
I added the following to the .htaccess
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
This enforced (if version 5 is installed) the host (1und1) to use php5.
Hope it helps. If not you might run php4x.x - so talk to your hoster.
Cheers
Thomas
Replacing the first comma gives us:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in (my website)/vanilla/bootstrap.php on line 73
Replacing (only) the second comma gives us:
Parse error: syntax error, unexpected ',', expecting '(' in (my website)/vanilla/bootstrap.php on line 73
Replacing (only) the third comma gives us:
Parse error: syntax error, unexpected ',', expecting '(' in (my website)/vanilla/bootstrap.php on line 73
Replacing (only) the forth comma gives us:
Parse error: syntax error, unexpected ',', expecting '(' in (my website)/vanilla/bootstrap.php on line 73
Gdn::FactoryInstall(Gdn::AliasCache, 'Gdn_Cache', CombinePaths(array(PATH_LIBRARY_CORE,'class.cac...he.php')) ' Gdn::FactoryRealSingleton, 'Initialize');
Shouldn't that be:
Gdn::FactoryInstall(Gdn::AliasCache, 'Gdn_Cache', CombinePaths(array(PATH_LIBRARY_CORE,'class.cac...he.php')) , Gdn::FactoryRealSingleton, 'Initialize');
So a comma ( , ) instead of an apostrophy ( ' )
There was an error rendering this rich post.