1 (edited by p.lachaine 2014-07-02 12:03:58)

Topic: Can save new gallery but no subsequent edits in Wordpress

I'm using WP-juicebox. Everything is the latest version, and I've also disabled all other plugins. It seems I can create a new gallery with whatever settings I want and save it, but I can't subsequently save any edits to that gallery. I can do the edits on screen, and I can click "SAVE", but nothing actually saves. I checked the actual xml file in the uploads folder, and I can confirm that the original gallery xml file is there... without any changes having been saved. When I go to the gallery on the actual website, it works fine, except that it's always as originally saved when I created it.

Same thing applies to default settings. I can change them on screen and save them, but nothing actually saves.

P.S. I'm using Wordress' default Twentytwelve theme. No problem with saving settings in any other plugins.

Re: Can save new gallery but no subsequent edits in Wordpress

I have just double-checked the functionality of editing a gallery and saving changes using the latest version of WP-Juicebox (v1.4.2.0) and it works OK for me.

If the gallery's XML file in your 'uploads/juicebox/' directory is not being updated after editing a gallery, please check the permissions on the 'uploads/juicebox/' directory and on the XML files themselves to make sure that they are not too restrictive. Default permissions of 755 for the directory and 644 for the files should be fine.

3 (edited by kiaski 2014-07-10 19:44:12)

Re: Can save new gallery but no subsequent edits in Wordpress

Hi, Steve im having the same problem, i changed the permissions on the  juicebox folder to 777 and the XML files to 644 as you said but still no progress. Also as a side note im not able to make a gallery linked to picasa or nextgen gallery. heres my PHP Version : 5.3.24 and PHP Allow URL fopen : On

Re: Can save new gallery but no subsequent edits in Wordpress

i changed the permissions on the  juicebox folder to 777

Try using permissions of 755 for the 'wp-content/uploads/juicebox/' directory (some web servers do not like the use of 777).

heres my PHP Version : 5.3.24

WP-Juicebox requires PHP v5.2.0 or later so v5.3.24 should be fine.

Also as a side note im not able to make a gallery linked to picasa

How far into the process are you able to get? Are you able to select 'Picasa Web Album' as the 'Image Source'?
If so, enter 'picasateam' for the Picasa User Id and 'Vegas Weekend' for the Picasa Album Id/Name to display the sample Picasa Web Album.
If you are able to get this far, what do you see when you try to view the gallery?
Please try this and then post the URL to the gallery so that I can take a look.

Re: Can save new gallery but no subsequent edits in Wordpress

Hey Steve

Changed the permissions on the files but still nothing, also tried what you said with pacasa. heres the link.

http://goldheadbrand.com/more/ stil an XML error.

Also just released that this is a pro section, i am using Juicebox lite, is it a problem?

Re: Can save new gallery but no subsequent edits in Wordpress

Thank you for providing the URL to your test gallery.
I have found a bug in WP-Juicebox relating to Picasa/NextGEN. Please replace the 'wp-juicebox.php' file in your 'wp-content/plugins/wp-juicebox/' directory with the 'wp-juicebox.php' file from this zip file [File removed.]. (Just extract the zip file to your 'wp-juicebox' directory, overwriting the existing 'wp-juicebox.php' file.) Once the new file has been uploaded, there is no need to do anything else other than reload your web page to display your test gallery.
It should certainly fix the Picasa/NextGEN issue. Please let me know if it also solves the 'unable to edit existing galleries' issue.
(I do not think it will. The problems seem unrelated.)

In order to troubleshoot the editing problem further, it would help greatly if I had access to your WordPress installation and web server (as I am unable to replicate the problem myself). If you are agreeable to this, please let me know and I will email you with an address where you can send me login details. Thank you.

Re: Can save new gallery but no subsequent edits in Wordpress

thanks alot the picasa links are working, btw whiles i was replacing the 'wp-juicebox.php' file i saw a 'save-galler.php' file, could this file also hv a bug?

Re: Can save new gallery but no subsequent edits in Wordpress

thanks alot the picasa links are working,

That's great! Thank you for letting me know.

btw whiles i was replacing the 'wp-juicebox.php' file i saw a 'save-galler.php' file, could this file also hv a bug?

There should be a file named 'save-gallery.php'. If yours is named 'save-galler.php', please rename it to 'save-gallery.php'.
The 'save-gallery.php' file is used only when first creating a gallery (having clicked the 'Add Juicebox Gallery' button).
It is not used when editing a gallery so the problem is unlikely to lie within this file.

It will be very difficult for me to troubleshoot this issue unless I can see it for myself (and I have been unable to replicate it in my own test WordPress installations).
If you are happy to allow me access to your web server so that I can investigate further, please let me know.

9 (edited by p.lachaine 2014-07-15 17:23:07)

Re: Can save new gallery but no subsequent edits in Wordpress

Thanks for your help so far, but I've again ensured the file permissions are Ok, and I've even completely deleted all other gallery-related wordpress plugins. Still no joy. I can save a new juicebox pro gallery (Flickr) but then I can't save any changes. As for setting defaults, I can't even save them initially. I can click on the Save button, but nothing happens.

PHP version is 5.3.3-7+squeeze19 and DOM is enabled.

Re: Can save new gallery but no subsequent edits in Wordpress

@p.lachaine

I can't save any changes.

As I mentioned above, I am unable to replicate this problem myself in my own test WordPress installations.

As for setting defaults, I can't even save them initially. I can click on the Save button, but nothing happens.

I cannot replicate this problem either. Clicking the 'Set' button successfully saves custom default settings in my own test WordPress installations.

In order to troubleshoot these problems further, it would help greatly if I had access to your WordPress installation and web server (so that I can see the problem for myself). If you are agreeable to this, please let me know and I will email you with an address where you can send me login details. Thank you.

Re: Can save new gallery but no subsequent edits in Wordpress

I don't expect such personal attention from tech support, but that would be great. Thanks.

Re: Can save new gallery but no subsequent edits in Wordpress

Please check your email. I have sent you a message.

I don't expect such personal attention from tech support, but that would be great. Thanks.

If there is a chance that there is a bug in WP-Juicebox which some users are experiencing, I would like to get to the bottom of it and fix the problem if possible. Thank you for allowing me access to your web server and WordPress installation.

Re: Can save new gallery but no subsequent edits in Wordpress

The problem with editing existing galleries and setting default values seems to be only with WebKit based browsers as the problem happens in both Chrome 36.0 and Opera 22.0.
I will investigate the problem further but in the meantime, a quick and easy fix is to open the 'wp-juicebox/js/edit.js' file in a plain text editor and remove lines 9, 10 and 11:

jQuery('input', '#jb-edit-action, #jb-set-action').click(function() {
    jQuery('input', jQuery(this).parent()).prop('disabled', true);
});

This will not affect the functionality of WP-Juicebox.

Re: Can save new gallery but no subsequent edits in Wordpress

I've been having the same issue, but I was also using Chrome 36.  I'll try another browser and see.

Re: Can save new gallery but no subsequent edits in Wordpress

@ rsmith4321

Firefox and Internet Explorer are not affected by this bug so you could use either of these browsers to edit existing galleries.
Alternatively, you could edit the plugin's 'edit.js' file (as noted in my post above) and then you could continue to use Chrome.

Re: Can save new gallery but no subsequent edits in Wordpress

WP-Juicebox v1.4.2.1 has now been released with a fix for the bug mentioned above (the inability to edit galleries using WebKit browsers).
It can be downloaded from the plugin's own support page here.