![]() |
![]() |
![]() |
||||
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 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Anyone seen this wordpress error before?
this is a new one for me, it only happens a few times after making a new post, and only on the front page within the new post that I just made, right below the title
Warning: mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /wp-includes/wp-db.php on line 18 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Sep 2003
Location: Los Begas
Posts: 9,162
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
not a big deal really, it only happens once or twice right after I update |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
|
Haven't seen that one myself, but I'm having my own issues lately
![]() Warning: Cannot modify header information - headers already sent by (output started at /home/wordpress/http/wp/index.php:6) in /home/wordpress/http/wp/wp-rss2.php on line 8 http://blog.homegrownvideo.com/wp/feed/ Any ideas?
__________________
Free agent |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
did you install any new plugins or is this all the same from when we last chatted? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
|
Haven't installed anything new on that one, I'm suspectng the RSS engine isn't able to handle the number of posts or something. I'm gunna look for an RSS plugin when I get some time.
__________________
Free agent |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
|
Hm, lowered it to 5 and changed it to summary and it didn't work. I'll have to fuck with it.
__________________
Free agent |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
80 return addslashes( $string ); // Disable rest for now, causing problems 81 if( !$this->dbh || version_compare( phpversion(), '4.3.0' ) == '-1' ) 82 return mysql_escape_string( $string ); 83 else 84 return mysql_real_escape_string( $string, $this->dbh ); 85 } This code is broken. It depends on your PHP version for what calls are actually evaulated, so 'line 18' is not necessarily correct. The code around line 18x, however, is for the whole 'Query' wrapper. It's hard to tell what's wrong with that without actually stepping through it. I don't do those kinds of repairs for free.. I can't afford to. ![]() mysql_escape_string() and mysql_real_escape_string() do not work unless you have already connected to the database. Either there's a problem connecting to the database, as it states, or it's trying to use the above function before it has actually connected. This is a "race condition", and has nothing to do with Imus. ![]() A really awful fix would be to replace your call to addslashes(), but the proper fix is to connect to the DB first. You have something sending data before it's able to properly tag/set cookies/other data. Look for either a hard return in a new add-on, your template above your <html>, scripts with this on top (index.php/wp-rss2.php), or any include files which may have caused this. It's usually due to editing a file by hand or uploading with the wrong type (binary instead of ascii). ![]()
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
|
Quote:
__________________
Free agent |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
|
Quote:
read this http://www.geeklog.net/faqman/index.php?op=view&t=38
__________________
Make Money
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |