Support » Plugin: Plugin Name: oQey Gallery » Gallery ID 0

  • Resolved Robert Cadar


    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 !

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author oQeySites


    what version of the gallery do you have installed?

    I have installed Version 0.5.5 .

    Plugin Author oQeySites


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

    $lastid = mysql_insert_id();


    $lastid = $wpdb->insert_id;

    Please let me know if this is solved your problem.

    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 .

    Plugin Author oQeySites


    please contact us via contact form.
    in order to solve the problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gallery ID 0’ is closed to new replies.