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.
Options

unexpected T_OBJECT_OPERATOR when installing

edited January 2010 in Vanilla 2.0 - 2.8
I read the « Extended How-to install Vanilla 2 » by iamkeir but I'm still getting this error when I browse to my install folder :
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in "my root directory here"/index.php on line 30

I couldn't find any related problem in this forum, but I hope no one asked the same question.
(And sorry if my English is not very sound.)

Comments

  • Options
    What version of PHP are you using Moecha? You must use version 5.1 or newer.

    http://vanillaforums.org/page/Requirements
  • Options
    Thank you for your remark!
    I followed the instructions provided by my hosting company to upgrade to PHP 5 and I get the installation board instead of the error line.

    But then I get a 404 Not Found page when I send the database info.
    And the URL changes from http://www.my_domain.com/a_folder/vanilla_directory/index.php/garden/gardensetup to http://www.my_domain.com/index.php/garden/gardensetup .
    Why does "a_folder/vanilla_directory/" disappear to end up as a 404 error?
  • Options
    Make sure mod_rewrite is set up for your server. By default the AllowOveride setting is set to "None" for your DocumentRoot. This setting needs to be changed to AllowOveride All if is not already.
  • Options
    It is something I have to add in the .htaccess file, right ? I tried to add the 'AllowOveride All' line in the tags, but it doesn't work. How do I do that?
  • Options
    Mod_Rewrite is a module in Apache. "AllowOverride All" is a setting for .htaccess. Both are configured in your httpd.conf file in Apache. It's something that your host would probably have to configure if it's not already set up I think. If I'm wrong someone else may be able to chime in with another solution.
  • Options
    Ok, so I'll try to figure that out with my host. Thanks for your kind help.
Sign In or Register to comment.