Title: [Plugin: Slideshow Gallery] Deprecated &quot;mysql_list_fields&quot; function
Last modified: August 19, 2016

---

# [Plugin: Slideshow Gallery] Deprecated "mysql_list_fields" function

 *  [rorydoug](https://wordpress.org/support/users/rorydoug/)
 * (@rorydoug)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-slideshow-gallery-deprecated-mysql_list_fields-function/)
 * Hi, I am currently using this plugin with wordpress version 3.04, using PHP version
   5.3.0. When I first installed the plugin I was getting a 101 error and no pages
   were able to display. I traced the bug to the function _get\_fields_ in _slideshow\
   _gallery\_plugin.php_ and replaced the code on line **411**
    `if (($tablefields
   = mysql_list_fields(DB_NAME, $fullname, $wpdb -> dbh)) !== false) {`
 * with
    `if (($tablefields = mysql_query("SHOW COLUMNS FROM ".$fullname)) !== false){`
 * Hope this helps anyone else who runs into this problem 🙂
 * Cheers,
    Rory

The topic ‘[Plugin: Slideshow Gallery] Deprecated "mysql_list_fields" function’ 
is closed to new replies.

 * ![](https://ps.w.org/slideshow-gallery/assets/icon-256x256.png?rev=1187457)
 * [Slideshow Gallery LITE](https://wordpress.org/plugins/slideshow-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [rorydoug](https://wordpress.org/support/users/rorydoug/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-slideshow-gallery-deprecated-mysql_list_fields-function/)
 * Status: not a support question