WordPress.org

Forums

oQey Gallery
[resolved] Gallery ID 0 (6 posts)

  1. Robert Cadar
    Member
    Posted 2 years ago #

    Hi everyone,

    I'm having a problem everytime i create a new gallery the plugin define the new gallery with id=0 [oqeygallery id=0], if i try to upload here photos does'nt work.
    If i go back to the complete list of gallery i observe that my gallery have another ID for exemple the last it's 125, if i make new, it will be shown ID=0 but in reality it's created ID=126 .
    Note: in the list gallery ID=0 doesn't exist !

    What can i do to solve this problem ? thank you !

    http://wordpress.org/extend/plugins/oqey-gallery/

  2. oQeySites
    Member
    Plugin Author

    Posted 2 years ago #

    hi,
    what version of the gallery do you have installed?

  3. Robert Cadar
    Member
    Posted 2 years ago #

    I have installed Version 0.5.5 .

  4. oQeySites
    Member
    Plugin Author

    Posted 2 years ago #

    as a solution for you, try to edit oqey-ajax.php file,
    find line 440
    and change the code

    $lastid = mysql_insert_id();

    with

    $lastid = $wpdb->insert_id;

    Please let me know if this is solved your problem.

  5. Robert Cadar
    Member
    Posted 2 years ago #

    Still the same .... Gallery ID: 0 Shortcode: [oqeygallery id=0] it's show in the first step, after going out to galleries it's shown as ID: 119 , so for the moment it's not working .

  6. oQeySites
    Member
    Plugin Author

    Posted 2 years ago #

    hi,
    please contact us via contact form. oqeysites.com/contact
    in order to solve the problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • oQey Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic