WordPress.org

Ready to get started?Download WordPress

Forums

PostgreSQL for WordPress (PG4WP)
Possible nextgen-gallery compatibility issue (4 posts)

  1. ogmandrake
    Member
    Posted 1 year ago #

    I have a user that has the following error:

    Fatal error: Call to undefined function mysql_get_server_info() in /home/someone/somesite.ca/wp-content/plugins/nextgen-gallery/admin/install.php on line 43

    They are running the following plugins: WordPress 3.5, Jetpack 2.1 and Oxygen 0.3.1-wpcom

    http://wordpress.org/extend/plugins/postgresql-for-wordpress/

  2. ogmandrake
    Member
    Posted 1 year ago #

    Seeing the following error in the logs:

    [Mon Jan 14 17:09:55 2013] [error] [client ] WordPress database error ERROR:  function field(bigint, integer, integer, integer, integer, integer, integer, integer) does not exist\nLINE 1: ... AND (wp_posts.post_status = 'inherit')  ORDER BY FIELD( wp_...\n                                                             ^\nHINT:  No function matches the given name and argument types. You might need to add explicit type casts. for query SELECT   wp_posts.ID FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (1976,1949,1948,1947,1946,1945,1944) AND (wp_posts.post_mime_type LIKE 'image/%')  AND wp_posts.post_type = 'attachment' AND (wp_posts.post_status = 'inherit')  ORDER BY FIELD( wp_posts.ID, 1976,1949,1948,1947,1946,1945,1944 ) LIMIT 0, 7 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/oxygen/single.php'), get_template_part, locate_template, load_template, require('/themes/oxygen/content-single.php'), the_content, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, gallery_shortcode, get_posts, WP_Query->query, WP_Query->get_posts, referer: http://wordpress.org/support/topic/galleries-not-displaying?replies=4
  3. ogmandrake
    Member
    Posted 1 year ago #

    When trying to install now as well:

    Fatal error: Call to undefined function mysql_get_server_info() in /home/someuser/somesite/wp-content/plugins/nextgen-gallery/admin/install.php on line 43

    Otherwise it does seem to work with 3.5.1

  4. gmercey
    Member
    Posted 9 months ago #

    I have the same error with the 3.7.
    The function FIELDS does not exists in pgsql, the query should be ORDER BY post."ID"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic