Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Taglar Dreskk - syyskuu 10, 2011, 08:57:58 AP

Otsikko: Need some help, Forum seemed to break overnight
Kirjoitti: Taglar Dreskk - syyskuu 10, 2011, 08:57:58 AP
SMF 1.1.14
http://mercs.firespray.net/forum
Error:

"2: Missing argument 2 for db_query(), called in /home/firespr/public_html/mercs/forum/Sources/Subs.php on line 3920 and defined
File: /home/firespr/public_html/mercs/forum/Sources/Subs.php
Line: 238"

The rundown:
We've got a lot of mods running on the forum, but we haven't installed any new ones in months...so I know this can't be a mod install issue.  At some point last night the forum just started tossing out this error for no reason.  We can't get into the forum AT ALL other than through FTP at this point.

I'm at a total loss for words on how to even go about fixing it.  I searched a bit on the error I was receiving but kept getting answers for completely different errors.

Help?  If someone is able to devote their time to getting this solved this morning I'm willing to offer some minor compensation.  I need serious helpers though, not just someone who is bs'ing their way through it.  Thanks.
Otsikko: Re: Need some help, Forum seemed to break overnight
Kirjoitti: mashby - syyskuu 10, 2011, 09:04:04 AP
So, since you can get to your site files via FTP, how about downloading and attaching Sources/Subs.php to a reply here?
Otsikko: Re: Need some help, Forum seemed to break overnight
Kirjoitti: Taglar Dreskk - syyskuu 10, 2011, 09:06:27 AP
Here you go.
Otsikko: Re: Need some help, Forum seemed to break overnight
Kirjoitti: mashby - syyskuu 10, 2011, 09:13:47 AP
It was this mod:
http://custom.simplemachines.org/mods/index.php?mod=1396
Line 3920 of your Subs.php had this:
");
when it should have been this:
" , __FILE__, __LINE__);
Try the attached out and let us know how it turns out.
Otsikko: Re: Need some help, Forum seemed to break overnight
Kirjoitti: Taglar Dreskk - syyskuu 10, 2011, 09:18:56 AP
Oh we appreciate that SO VERY MUCH.

Unfortunately I'm no coder so these simple little things tend to skip by me completely.  Thank you thank you thank you thank you.

You've got PM.