News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

very large error Log; boolean

Started by Average Mom, February 12, 2011, 08:21:56 AM

Previous topic - Next topic

Average Mom

Once in a while, I'm getting an error log that appears, and it's HUGE. One day it's not there and the next it's 47mb. It basically contains the same error over and over (over a span of 20 seconds or so).

[11-Feb-2011 22:54:37] PHP Warning:  mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /...Sources/Subs-Db-mysql.php on line 143



Here's what I'm working with:

SMF 2.0 RC4

with TP 1.102

I'm using the Outline by Dziner theme

my mods:
1.    Sitemap    2.2.0
2.    Member Awards    2.2.3
3.    Referrals System    3.0.1
4.    TinyPortal    1.102
5.    More Spiders    1.2
6.    Users Online Today    1.5.6
7.    Contact Page    2.1.1

Kermit

Can you please add your Subs-Db-mysql.php to your next post ?
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Arantor

Don't bother attaching it at all. You will almost certainly find it is the stock file as shipped with SMF itself.

It's the same problem as discussed, and much further debugged, in http://www.simplemachines.org/community/index.php?topic=423482.0 complete with a possible solution at the end.

Advertisement: