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.
syntax error
hello, am following the setup, loaded the file to my sever and tried to open it but it gave me a syntax error as follow ;
Parse error: syntax error, unexpected ',', expecting '(' in /homepages/45/d348388532/htdocs/vanilla/bootstrap.php on line 64
i open the bootstrap.php and line 64 looks like this;
Gdn::FactoryInstall(Gdn::AliasConfig, 'Gdn_Configuration', PATH_LIBRARY_CORE.DS.'class.configuration.php', Gdn::FactorySingleton);
am i missing out something? please help me out. thx in advance
Parse error: syntax error, unexpected ',', expecting '(' in /homepages/45/d348388532/htdocs/vanilla/bootstrap.php on line 64
i open the bootstrap.php and line 64 looks like this;
Gdn::FactoryInstall(Gdn::AliasConfig, 'Gdn_Configuration', PATH_LIBRARY_CORE.DS.'class.configuration.php', Gdn::FactorySingleton);
am i missing out something? please help me out. thx in advance
0
Comments
/cd
/cd
am no php guru but i figured
PATH_LIBRARY_CORE.DS.'class.configuration.php'
is different from
PATH_LIBRARY_CORE . DS . 'class.configuration.php'
i just had to space out the . DS .
Wow after a day of headache i finally get to start enjoying vanilla!!!!
Possibly you had APC and the opcodes were cached wrong.
Vanilla Forums COO [GitHub, Twitter, About.me]