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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Can't upload to new folders


Go to End


12 Posts   3687 Views

Avatar
joelg

Community Member, 134 Posts

29 October 2009 at 12:06am

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

Community Member, 63 Posts

29 October 2009 at 1:21am

Make sure the ownership is correct as well.

Avatar
joelg

Community Member, 134 Posts

29 October 2009 at 3:33am

How do I do this?

Avatar
keeny

Community Member, 48 Posts

29 October 2009 at 10:42am

you can do

chown -R owner:group .

Avatar
joelg

Community Member, 134 Posts

29 October 2009 at 11:12am

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

Forum Moderator, 4102 Posts

29 October 2009 at 11:40am

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

Community Member, 134 Posts

29 October 2009 at 12:01pm

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

Community Member, 134 Posts

29 October 2009 at 12:07pm

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

Go to Top