Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: radnor302 - helmikuu 15, 2020, 02:58:30 IP

Otsikko: Hacked
Kirjoitti: radnor302 - helmikuu 15, 2020, 02:58:30 IP
I'm on 2.0.17 or was...

Couldn't log in.  Error 500 from server.  So I looked at some files. settings had a length of 0. Changed on Friday night.
New file in cache dir from Friday.

So, I have a working setup in a sub folder (MY sandbox with it's own databese).  WORKING also on .17

On LIVE side, I deleted all folders replaced them from sandbox
Replaced all files on LIVE side with those from the sandbox.

Edited settings to use LIVE paths and LIVE database.

Now getting Unknown column 'a.attachment_type' in 'field list'

Thoughts or suggestions???
Otsikko: Re: Hacked
Kirjoitti: Shambles - helmikuu 15, 2020, 03:03:26 IP
Lainaasettings had a length of 0

Happens occasionally - does not mean you have been hacked.
Otsikko: Re: Hacked
Kirjoitti: radnor302 - helmikuu 15, 2020, 03:06:35 IP
Solution to get site running?

Solution to get rid of Unknown column 'a.attachment_type' in 'field list'?
Otsikko: Re: Hacked
Kirjoitti: Illori - helmikuu 15, 2020, 04:28:03 IP
do you have a backup of your Settings.php file you can restore? if so restore that to the root of your SMF install.
Otsikko: Re: Hacked
Kirjoitti: radnor302 - helmikuu 15, 2020, 04:38:29 IP
Did that initially from the sandbox. Made path changes and db name from sandbox db to live db. BOTH were @ .17.

Now getting error unknown column ...
Full error at bottom of original post.
Otsikko: Re: Hacked
Kirjoitti: Shambles - helmikuu 15, 2020, 04:56:29 IP
And does that column actually exist in your {smf_}attachments table? In both your installations?
Otsikko: Re: Hacked
Kirjoitti: radnor302 - helmikuu 15, 2020, 07:12:20 IP
Making some progress...  Now looking at "Unknown column 'add_deny' in 'field list'"