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

Error at sapphire/filesystem/File.php line 422


Reply


4 Posts   712 Views

Avatar
CHD

Community Member, 218 Posts

27 May 2011 at 2:03am

im having a mare with the latest version of image_gallery and ss 2.4.5
it all works fine locally, but as soon as i upload i have problems.

clicking "create image gallery page" does nothing. (emails an error to me saying: Error: Uncaught Exception: Cannot move /var/www/vhosts/cafemusicstudios.com/httpdocs/assets/image-gallery/NewImageGalleryPage-8/ to /var/www/vhosts/cafemusicstudios.com/httpdocs/assets/image-gallery/NewImageGalleryPage-10/
At line 422 in /var/www/vhosts/cafemusicstudios.com/httpdocs/sapphire/filesystem/File.php )
if i refresh, the page appears, but if i try and upload an image it throws up a server error. and emails me a very similar error message to the one above.

looks like permission issues with image_gallery creating directories?
but my whole assets directory is 777.
AND ive even tried manually creating the directories myself and giving them all 777 but it still fails.

any help?!

Avatar
dynamite

Community Member, 66 Posts

5 June 2011 at 2:00am

I am having the exact same problems, the only difference being the server is running suPhp, so I definitely cannot use 777.

Avatar
warwick

Community Member, 13 Posts

7 June 2011 at 1:07pm

Edited: 07/06/2011 1:07pm

I am having exactly the same problem, I have updated DOM, Uploadify and image_gallery to the latest version from Github and still have the problem.

I notice files image gallery folders in assets are being created with 755 instead of inherting 777 from assets folder

Avatar
CHD

Community Member, 218 Posts

8 June 2011 at 8:16am

yeah i got it working in the end, but i actually cant remember how!
i THINK i may have used an older version of image-gallery...

also, i deleted ALL mentions of image and image gallery in the database.
then deleted the 3 modules.

and re-installed them like this.

dataobject & uploadify
then dev/build

then image_gallery
dev/build again

now it all seems to work fine.

except for some reason uploadify is missing the 2 images in the CMS area "unlink and delete permanently" however they can easily be re-added yourself to the images folder. then referenced in the uploadify template file.