Recent Topics

1 Feb 16, 2005 16:18    

Hello,
I get these error messages if - and only if - the log_hit() function is called in the _main.php skin template:

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user: 'wwwrun@localhost' (Using password: NO) in /www/htdocs/defrag/b2evocore/_class_db.php on line 125

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /www/htdocs/defrag/b2evocore/_class_db.php on line 125

(...repeated several times...)

Access denied for user: 'wwwrun@localhost' (Using password: NO)(Errno=1045)

Your query:
INSERT INTO evo_hitlog( visitTime, visitURL, hit_ignore, referingURL, baseDomain, hit_blog_ID, hit_remote_addr, hit_user_agent ) VALUES(FROM_UNIXTIME(1108565781), '', 'invalid', '', '', 1, '', '')

The strange thing is: I get these error messages only from time to time (I think it occurs mostly when accessing the site with different browsers at the same time, though I don't know if I just imagining this...). If I disable the log_hit() call, no errors show up at all. So far, there were never any other MySQL errors, everything's running smoothly.

Here are the relevant version numbers:
- b2evolution 0.9.0.11 (with [url=http://forums.b2evolution.net/viewtopic.php?t=2695]security patch[/url])
- MySQL 4.0.23-Max-log
- PHP 4.3.1

Thanks for your help!


Form is loading...