[SOLVED] Stupidly deleted the Config.php file!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
raul8171
New Member
New Member
Posts: 2
Joined: Wed Jul 13, 2011 6:35 pm

[SOLVED] Stupidly deleted the Config.php file!

Post 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!
Last edited by raul8171 on Wed Jul 13, 2011 7:30 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Stupidly deleted the Config.php file!

Post 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
raul8171
New Member
New Member
Posts: 2
Joined: Wed Jul 13, 2011 6:35 pm

Re: Stupidly deleted the Config.php file!

Post 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!
Post Reply

Return to “CMSMS Core”