Robert Cadar
Member
Posted 5 months 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/
hi,
what version of the gallery do you have installed?
Robert Cadar
Member
Posted 4 months ago #
I have installed Version 0.5.5 .
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.
Robert Cadar
Member
Posted 4 months 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 .
hi,
please contact us via contact form. oqeysites.com/contact
in order to solve the problem.