Title: Help with PHP and Errors
Last modified: August 18, 2016

---

# Help with PHP and Errors

 *  Resolved [wahoobudd1](https://wordpress.org/support/users/wahoobudd1/)
 * (@wahoobudd1)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/help-with-php-and-errors/)
 * Good morning all,
 * I was wondering if someone could help me. I have been using WordPress 2.0 for
   a couple months now, without trouble. Yesterday I decided to create a photo gallery
   and then use a plugin to fetch images from said gallery to display on my main
   pages.
 * For every section that I do this I receive the following error at the bottom 
   of the page:
 * Warning: mysql_affected_rows(): A link to the server could not be established
   in /home/rooftopr/public_html/gossip/wp-includes/wp-db.php on line 159
 * It actually displays like ten times.
 * What confuses me is that everything actually loads properly. There is no problem
   with the pictures that are grabbed.
 * The gallery I am using is Coppermine. The plugin I am using to get the pictures
   is Coppermine Fetch. I have the Exec-PHP plugin turned on to manage PHP on my
   site.
 * Any help would be great.
 * Thanks,
 * Billy

The topic ‘Help with PHP and Errors’ is closed to new replies.

## Tags

 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wahoobudd1](https://wordpress.org/support/users/wahoobudd1/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/help-with-php-and-errors/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
