Page 1 of 1

[SOLVED] Stupidly deleted the Config.php file!

Posted: Wed Jul 13, 2011 6:40 pm
by raul8171
Hi everyone,

Just now I was cleaning up the root folder for a website and I deleted a bunch of files, among those was the config.php file....! As it turns out cmsms needs this file for the site to work. I'm getting this message now:

"There is no config.php file or install/index.php please correct one these errors!"

Now the install folder was ofcourse deleted some time ago and that should not matter, correct?

But how can I get the right config.php file back on to the server?

Your help is much appreciated!

Re: Stupidly deleted the Config.php file!

Posted: Wed Jul 13, 2011 7:22 pm
by RonnyK
You could retrieve the config.php from the backup, if you have that.

Otherwise you could check the version.php file in the root of your cmsms installation. Then download the package from that version. Unpack and upload the /install-folder (only that folder).

Then execute the install where in step 5, you UNCHECK the two bottom ticks (create table, install default content). With those two UNTICKED, your installation will NOT touch the database, but will create a new config.php.

Ronny

Re: Stupidly deleted the Config.php file!

Posted: Wed Jul 13, 2011 7:24 pm
by raul8171
Thanks so much for the fast reply! I'm going to give it a try now and i'll get back to you when it works!