Help needed! I erased my config.php by mistake...

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
Apprentice
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 11, 2008 11:25 pm

Help needed! I erased my config.php by mistake...

Post by Apprentice »

Hello,

I'm new to the board, but already in need of help! I was trasferring CMSMS files with FTP, when I uploaded and replaced config.php and .htaccess files to the CMSMS root. Unfortunately they were wrong files :'(  I got confused with two similarly named files on my computer. I don't have backup of the original files, but everything else is as it was and database is not corrupted. There is CMS Made Simple 1.2.3 "Black Rock" installed. 

What is there to do to get the site runnig again?!?

I'm already thankful for any solution. 
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Help needed! I erased my config.php by mistake...

Post by calguy1000 »

guru says:)  well, you can restore from backup...
you say: but I don't have a backup
guru says:)  too bad for you.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Help needed! I erased my config.php by mistake...

Post by Nullig »

If you do a reinstall, without populating the database with the sample data when the installer asks, you should get a newly created config.php.

Caution: backup your db before doing this - just in case.

Nullig
Apprentice
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 11, 2008 11:25 pm

Re: Help needed! I erased my config.php by mistake...

Post by Apprentice »

Thank you very much for the answers! I got my site regenerated. After all I found a backup that was made by a coincidence to quite an unlikely place... Anyways, Nullig, your suggestion sounds definitely worth a try for anybody in my situtation.  Hopefully this serves as a lesson for other people as well. It certainly did for me!  ;)
Pierre M.

Re: Help needed! I erased my config.php by mistake...

Post by Pierre M. »

Apprentice wrote: There is CMS Made Simple 1.2.3 "Black Rock" installed.   
Warning : this version has known security holes. Use the latest official stable release or be cracked.

Pierre M.
Post Reply

Return to “CMSMS Core”