Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: sbalsen - huhtikuu 25, 2006, 10:59:34 AP

Otsikko: Fixing corrupted Forum
Kirjoitti: sbalsen - huhtikuu 25, 2006, 10:59:34 AP
My web site experienced a security breach and several php files were affected. I deleted them and replaced them with back up ones. The affected Forum file was index.php, but now when I try to access the forum, I get a server error that says "Premature end of script headers:"

What do I do?
Thanks!
Sy
Otsikko: Re: Fixing corrupted Forum
Kirjoitti: Deaks - huhtikuu 25, 2006, 11:28:37 AP
what version are you using and what files did you need to replace?
Otsikko: Re: Fixing corrupted Forum
Kirjoitti: sbalsen - huhtikuu 25, 2006, 12:53:48 IP
Lainaus käyttäjältä: sloopz - huhtikuu 25, 2006, 11:28:37 AP
what version are you using and what files did you need to replace?

I was on version 1.0.7 and index.php had to be replaced. When I realized that I replaced it with the index.php from version 1.0.5, I replaced all the remaining files. No sure if that was the best thing to do, but nothing was working anyway. Still getting the same error message. The forum was originally installed on my web site via Fantastico.
Otsikko: Re: Fixing corrupted Forum
Kirjoitti: Deaks - huhtikuu 25, 2006, 12:58:33 IP
try running repair_setting.php (http://www.simplemachines.org/community/index.php?topic=18096.0)
Otsikko: Re: Fixing corrupted Forum
Kirjoitti: sbalsen - huhtikuu 25, 2006, 02:09:03 IP
Lainaus käyttäjältä: sloopz - huhtikuu 25, 2006, 12:58:33 IP
try running repair_setting.php (http://www.simplemachines.org/community/index.php?topic=18096.0)

I managed to fix the problem, though maybe not in the most elegant way. I installed a totally new forum and then pointed in to the original mySQL database. Voila, a working forum! Not sure though why I couldn't get the old one working again.

Thanks for everyone's help on this!
Sy
Otsikko: Re: Fixing corrupted Forum
Kirjoitti: JayBachatero - huhtikuu 25, 2006, 03:51:57 IP
Did you get to find out how it was hacked or you don't know?  If you still don't know please email the access logs to [email protected] with other details.