I have tested so many variations of this problem I'm having with different SS versions, older and current versions of DOM, Image Gallery and Uploadify and can't seem to find a solution.
When my site is set in live mode and I create an image gallery page, the new page does not show until I refresh the admin area. Once refreshed, I updated the page name, made sure there was an album and tried to save the page. I get an error saving content and this error emailed to me:
Error: Uncaught Exception: Cannot move /home/****/public_html/assets/image-gallery/New-ImageGalleryPage-2/ to /home/****/public_html/assets/image-gallery/test/
At line 403 in /home/****/public_html/sapphire/filesystem/File.php
My assets folder and directories under it are set to 777. The New-ImageGalleryPage-2 folder was set to 755 by default, which happens with all new gallery folders. I can update this to 777 and it sometimes works after refreshing but my clients generally don't have ftp access so cannot do this themselves.
However, when I set the website to be in dev mode (in mysite/_config.php) I have no errors at all. I created a new page and it's permissions also set to 755 by default, but I can update the page name, add albums and photos with no issues.
I have used SS versions: 2.4.1, 2.4.4, 2.4.5
And DOM, Image Gallery and Uploadify verisons: r404, r504, r538. Generally they are all the same release.
I've also tried these in Firefox 3.x, 4.x and Chrome (I hate IE) - what browser I use makes no difference to the error.
If anyone can help me it would be greatly appreciated. Happy to test further stuff as well to find a solution.