Jump to:

7762 Posts in 1289 Topics by 886 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Frustrated with Image Gallery - help please

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba

Page: 1
Go to End
Author Topic: 583 Views
  • hotcode
    Avatar
    Community Member
    11 Posts

    Frustrated with Image Gallery - help please Link to this post

    Hi All

    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.

  • hotcode
    Avatar
    Community Member
    11 Posts

    Re: Frustrated with Image Gallery - help please Link to this post

    Anyone got a solution to this? Thanks

  • Pigeon
    Avatar
    Community Member
    229 Posts

    Re: Frustrated with Image Gallery - help please Link to this post

    I've never heard of anything like this. I'd ask your hosting provider and also check it meets all the requirements of SS.

  • hotcode
    Avatar
    Community Member
    11 Posts

    Re: Frustrated with Image Gallery - help please Link to this post

    I run my own server with over 30 SS sites on it, and never had a problem with the image gallery until I upgraded to using 2.4.x, the sites still on 2.3.x still work perfectly fine.

    I have a hack workaround for the meantime, just would like a better answer.

  • stevanovich
    Avatar
    Community Member
    56 Posts

    Re: Frustrated with Image Gallery - help please Link to this post

    I am having a similar issue did you find the answer to this problem.

    583 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.