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

Can't upload to new folders


Go to End
Reply

12 Posts   1634 Views

Avatar
joelg

29 October 2009 at 12:06am Community Member, 129 Posts

Hi there

I'm having some troubles creating new folders in the Files & Images tab in the admin section.

The folder pops up fine, however I can't upload nor import to this folder. I've made chmod 777 on assets folder and all children, but this doesn't fix anything.

Has somebody had the same problem?

Joel

Avatar
vstrazz

29 October 2009 at 1:21am Community Member, 63 Posts

Make sure the ownership is correct as well.

Avatar
joelg

29 October 2009 at 3:33am Community Member, 129 Posts

How do I do this?

Avatar
keeny

29 October 2009 at 10:42am Community Member, 48 Posts

you can do

chown -R owner:group .

Avatar
joelg

29 October 2009 at 11:12am Community Member, 129 Posts

Hi Keeny

Could you please spell it our for me, I really don't know what this means? Is it some sort of cgi-script, or?

Many, many thanks.

Joel

Avatar
UncleCheese

29 October 2009 at 11:40am 4085 Posts

You need to make sure that apache as read/write perms on those folders. I think this is a moot point if you've opened everything up to 777.

This is unlikely a permissions issue. What do you mean when you say "cannot upload or import"? Is there an error? It sounds like it's coming from Silverstripe, not your filesystem.

Avatar
joelg

29 October 2009 at 12:01pm Community Member, 129 Posts

Hi UncleCheese

Screendump 1: This is where I create the new folder - everything looks good

Screendump 2: This is an upload to the new folder. This should be a regular gif-file, however somethings really not right.

Screendump 3: This is an import. The filename is right, but there is no image.

Via my FTP I can see that assets is 777, and so is the new folder. However, there are no files in the folder.

So, what could cause this. It looks to me like it's a path or something that is not right...?

Avatar
joelg

29 October 2009 at 12:07pm Community Member, 129 Posts

Oh, and by the way. Import and upload works brilliant in existing folders created locally...

Go to Top