Vanilla wants to make the Setup again.

edited July 2006 in Vanilla 1.0 Help
Hi! I have installed Vanilla 7 days ago. Now it wants to make the Setup again, after I've installed the "Announcement" extension. Do you have any idea how i can turn off the setup?

Comments

  • I had a similar problem. Somehow permissions on my server where strange. Maybe similar thing happened to your server or permissions since you installed it. I noticed that changing the permissions on the conf folder to anything less than 777 results in the vanilla setup screen appearing. ONce I changed it to 777 I was back in business as usual.
  • edited July 2006
    Ok, i'll try that. Thanks. :)

    EDIT: I changed the permissions now, but that didn't help. :(
  • MarkMark Vanilla Staff
    Open up conf/settings.php and make sure that this line is in there:

    $Configuration['SETUP_COMPLETE'] = '1';
  • Yes, this line is in there. :(
  • MarkMark Vanilla Staff
    edited July 2006
    Well then it's definitely a permissions error.

    It's failing to include the conf/settings.php file and therefore failing to see that configuration setting. Try chowning the folder and files to the apache user and group.

    EDIT: Your quick-fix for the problem is to turn off the code that redirects you to the setup screen. You can do it by editing appg/settings.php and commenting out the following lines, like so:

    // if ($Configuration['SETUP_COMPLETE'] == '0') { // header('location: ./setup/index.html'); // }

    Keep in mind that you will likely come across other problems until you get your permissions set up properly.
  • Ok, thanks. The quick-fix doesn't work, I get many warnings. :) (The permissions ...) I'm waiting for the admin, so that he can change the user an group. Thank you for your help! :)
  • Ok, i've found the problem! :) There was a problem in /conf/settings.php. The "Announcement" extension copied a part of the annoucement, so that all the code under this string was commented. And: Sorry for my poor english. ;)
This discussion has been closed.