[Solved] Tried to create config.php - forum gone?
Hi, I am trying to set up Vanilla for the first time. I've been playing with it for a couple of days, having fun with the css styles, plugins and so on.
I was going to enable bbcode, and couldn't find any config.php file. So I created an empty one in the conf folder, and boom - I get the installer when trying to view the forum. When I deleted the empty config.php file, the installer is still there.
So, is my forum gone now?
Best Answer
-
whu606 MVP
Well, your DB and all your other files should still be there.
Try installing Vanilla into another folder, then just copying the config.php file over to your original installation.
You'll need to edit the config.php file to point to your original DB, and you might have to delete the ini files from the cache folder.
You will also need to re-enable relevant plugins, and choose your theme again.
5
Answers
@superrune
Well, your DB and all your other files should still be there.
Try installing Vanilla into another folder, then just copying the config.php file over to your original installation.
You'll need to edit the config.php file to point to your original DB, and you might have to delete the ini files from the cache folder.
You will also need to re-enable relevant plugins, and choose your theme again.
I could never find the config.php file in my original installation. It's supposed to be in the conf folder, right?
Also, should I point the new install to the same database, or will that mess things up?
I tried to setup a new forum pointing at the same database. That gave me this error message:
Fatal Error in Gdn_Database.Query();
Duplicate entry '1' for key 'PRIMARY'
I guess it's trying to create another admin user in the same database. Any ideas?
I tried it against a new database. This time it worked - thanks!!
config.php is created, if installation is done properly.
grep is your friend.
It was all because of my FTP app, which didn't update the folder information. The file was there but I just didn't see it.