![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
Word Press and StatTraq errors
Anyone getting this error at the bottom of their blog when using StatTraq (and more importantly, how did you get rid of it)?
Code:
Warning: mysql_affected_rows(): A link to the server could not be established in /home/rhinosgirls/wp-includes/wp-db.php on line 155 Warning: mysql_insert_id(): 6 is not a valid MySQL-Link resource in /home/rhinosgirls/wp-includes/wp-db.php on line 158 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Feb 2003
Posts: 1,691
|
what does it say on line 155 and 158?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
Code:
if ( preg_match("/^\\s*(insert|delete|update|replace) /i",$query) ) { $this->rows_affected = mysql_affected_rows(); // Take note of the insert_id if ( preg_match("/^\\s*(insert|replace) /i",$query) ) { $this->insert_id = mysql_insert_id($this->dbh); } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
2nd and 5th lines... ones with mysql_.....
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
bump for answers
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
More answers
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Guest
Posts: n/a
|
You'd be better off asking at the wp codex
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
I am an Alien from space
Industry Role:
Join Date: May 2003
Location: Ontario, Canada
Posts: 11,118
|
works fine for me. no errors. I have it setup on http://www.fuckherstupid.com
__________________
ICQ: 16544251 - Skype: gator37 @ eastlink.ca - email: yngwie @ isys.ca |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
sperm tail
Industry Role:
Join Date: May 2004
Location: nj
Posts: 11,019
|
i've got stat traq set up on a few of my WP blogs and none of them are giving me that or have ever given me that error
__________________
Got Cam Models? icq: 361-607-616 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Programming King Pin
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
|
I'm using it since yesterday and didn't got any error yet :S
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress! ![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Sep 2005
Posts: 942
|
only thing it messed up was my rss feed, i just installed a feed plugin and it's all fixed now.
|
![]() |
![]() ![]() ![]() ![]() ![]() |