Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

ImageGalleryPage - Error Saving Content


Go to End
Reply


56 Posts   9560 Views

Avatar
raZbi

Community Member, 11 Posts

28 September 2010 at 2:05am

Having an issue with ImageGallery module - when clicking Create ImageGalleryPage, nothing just happends. If i refresh page, Unpublished and unsaved "NewImageGalleryPage" appears, but i can't save it - receiving "Error Saving Content" message.

I'm stuck, trying to figure out, how it happens. Just installed SS 2.4.2., DOM Uploadufy and Image Gallery modules, plus Blog module. Sometimes this bug appears, sometimes not. Any idea, what should i check first?

Avatar
UncleCheese

Forum Moderator, 4094 Posts

28 September 2010 at 2:19am

What is the error, exactly? Check the response..

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Avatar
raZbi

Community Member, 11 Posts

28 September 2010 at 3:25am

Here's what in logs:

[27-Sep-2010 05:35:38] Warning at sapphire/filesystem/File.php line 408: rename(/var/www/242.mcm.lv/assets/image-gallery/New-ImageGalleryPage-7/Default-Album/,/var/www/242.mcm.lv/assets/image-gallery/New-ImageGalleryPage-2/Default-Album/) [<a href='function.rename'>function.rename</a>]: No such file or directory (http://242.mcm.lv/admin/EditForm)
[27-Sep-2010 05:35:38] Error at sapphire/filesystem/File.php line 409: Uncaught Exception: Cannot move /var/www/242.mcm.lv/assets/image-gallery/New-ImageGalleryPage-7/Default-Album/ to /var/www/242.mcm.lv/assets/image-gallery/New-ImageGalleryPage-2/Default-Album/ (http://242.mcm.lv/admin/EditForm)

Avatar
CHD

Community Member, 218 Posts

29 September 2010 at 4:56am

UPDATE
so, both of my tests were done on subdomains, just tested a new install on a TLD and it works.
could this be an issue with subdomain permissions UC?

Avatar
CHD

Community Member, 218 Posts

29 September 2010 at 5:07am

nope, ignore that.
just tested on another domain, as a subdomain, with 2.4.2 and it worked!
confused now....

so far it only seems to fail on my clickheredigital.co.uk domain. (subdomains of it)

Avatar
CHD

Community Member, 218 Posts

29 September 2010 at 5:22am

UPDATE
tested new SS install on dev.clickheredigital.co.uk - worked fine with image_gallery

deleted the DB and uploaded DB that ive been having problems with and it failed. so guess that isolates the problem to the DB...

Avatar
Platypus

Community Member, 43 Posts

29 September 2010 at 6:12am

I'm getting this error too - using SS 2.3.8 and the latest 2.3 Branch ImageGallery, DOM and SWFUpload.

In an attempt to repair this - I believed in a file permission problem - I tested around with the assets and image-gallery folder permissions and even renamed the image-gallery folder. Now I can't see the existing published galleries anymore and in the CMS all gallery images are 'grey symbols'! :( Does someone know how to fix this?

Avatar
CHD

Community Member, 218 Posts

30 September 2010 at 3:40am

any news on this UC?

Go to Top