Topic: gallaries are deleting by there self

Hello there

we have a problem on www.rivieraevents.com in which we have used juicebox pro wordpress plugin
according to our client feedback the galleries which were created few months ago was delete by them self and there shortcode is misplaced with other galleries.

please help and explain how can this be possible?

Thanks

Re: gallaries are deleting by there self

The 'Add Juicebox Gallery' button will add a Juicebox gallery shortcode to the page or post but there is no code in the plugin which can change or remove an existing shortcode.
Also, there is no code within the plugin that can delete any images from a gallery (or the WordPress Media Library).
All image handling is performed by core WordPress code. WP-Juicebox just displays the images that happen to be attached to the page or post containing the gallery at the time the gallery is displayed.
The plugin also does not contain any scheduled tasks (which might make things appear to happen on their own).

It sounds like something other than the plugin might be at the root of your problem.

Ask everyone who has administrative access to your WordPress site if they have done anything which might have changed anything.
Also, check in with your web host to see if they have experienced any problems recently and have had to backup your site using older versions of your files.

Hopefully some investigative work will help to point you in the right direction.

Re: gallaries are deleting by there self

Hello,

Thanks for your reply,

I have installed the activity log plugin and found nothing edit or updated, but one thing i notice is it happens when some one edit or add any new post, as one of our site admin added two-three new media in new post and then after few hours routinely checking we found that few post galleries shows incorrectly itself.

maybe it stripe code ? can you have a look at this post http://www.rivieraevents.com/custom_eve … d-opening/ it was posted with correct gallery but it shows another post gallery http://www.rivieraevents.com/custom_eve … ing-party/

both have same short code [juicebox gallery_id="182"] but the issue is the one post are posted on 3 aug 2017 http://www.rivieraevents.com/custom_eve … d-opening/

and this one posted on 24 aug 2017 http://www.rivieraevents.com/custom_eve … ing-party/ .

so how its possible that the new post gallery overwrite the old post code ? and its happens in many posts not in single and we double asked all admins no one has done this.

Re: gallaries are deleting by there self

so how its possible that the new post gallery overwrite the old post code ?

This should not be possible at all. Each time a new gallery is created (via the 'Add Juicebox Gallery' button), a unique gallery id is generated.
There should never be two gallery shortcodes with the same gallery id.
Also, gallery ids should be interchanged manually and gallery shortcodes should not be copied and pasted between posts.

Unless someone has manually changed a gallery id in a gallery shortcode (or has copied and pasted an existing shortcode), I cannot explain why you have duplicate gallery ids.
Also, there is no way for a gallery id (or gallery shortcode) to change by itself (unless you have a schedulted task on your server or WordPress site which is somehow interfering with post content).

A gallery id signifies which configuration file (stored in the 'uploads/juicebox/' directory) should be used.
Inside the configuration file is a post id which then tells the gallery which post's attachments to display.

If you check out your 'equis-bar-grand-opening' gallery, you'll see that it uses a gallery id of 208.
If you then examine the contents of the http://www.rivieraevents.com/wp-content … ox/208.xml file, you'll see that the corresponding post id is 5354. Therefore, the gallery is displaying all images attached to post 5354.

If you were to copy and paste a gallery short code (complete with gallery id) to a different post and click 'Update' (which I would not recommend), then the post id in the corresponding configuration file will change (to that of the current post) and the gallery will display the images attached to the updated post id.

I really do not know what is at the root of your problem but maybe my notes above will help to clarify some things.