Title: SQL error only when loading pages in Firefox
Last modified: August 18, 2016

---

# SQL error only when loading pages in Firefox

 *  [ewald](https://wordpress.org/support/users/ewald/)
 * (@ewald)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/sql-error-only-when-loading-pages-in-firefox/)
 * Ok here’s the deal.
    Ive got this NSFW blog (softcore, no sexual handling) and
   I do not know if I am allowed to post the url here. But everytime I view a page
   in Firefox the next error is in top of the post and still loading the post.
 * `Warning: mysql_affected_rows() [function.mysql-affected-rows]: A link to the
   server could not be established in /home/admin/domains/<NSFW>.com/public_html/
   wp-includes/wp-db.php on line 161`

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/sql-error-only-when-loading-pages-in-firefox/#post-454373)
 * If you view the blog in IE, and View Source, is that error in the source by chance?
 *  Thread Starter [ewald](https://wordpress.org/support/users/ewald/)
 * (@ewald)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/sql-error-only-when-loading-pages-in-firefox/#post-454473)
 * yes it is.
 * it’s exactly above the Main Index Template. But only with pages, and not at the
   frontpage where posts are.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/sql-error-only-when-loading-pages-in-firefox/#post-454509)
 * Can you try disabling plugins to see if the error goes away? That would help 
   you determine if you have a “rogue” plugin.
 * If that’s not it, you might also consider re-uploading the content under wp-includes
   to make sure you don’t have any corrupted php files (make sure php files are 
   uploaded in text/ascii mode, not binary!).
 *  Thread Starter [ewald](https://wordpress.org/support/users/ewald/)
 * (@ewald)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/sql-error-only-when-loading-pages-in-firefox/#post-454774)
 * problem is solved by disabeling most of the plugins and only active the necessarily
   ones..
    thanks for your help HandySolo 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘SQL error only when loading pages in Firefox’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [ewald](https://wordpress.org/support/users/ewald/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/sql-error-only-when-loading-pages-in-firefox/#post-454774)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
