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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

RESOLVED: Error uploading or creating new folders via CMS


Go to End


3 Posts   1319 Views

Avatar
DJMatus23

Community Member, 11 Posts

26 June 2009 at 11:00am

Hi all,

I had some trouble creating folders or uploading content via the CMS, and thought I would post about it here - if this isn't the right place to post it, please let me know.

When I was creating folders, the CMS would register it fine, but the underlying filesystem wouldn't show the new folder - turns out it wasn't creating it in the first place. The CMS should have picked this up but didn't, so that's a bug, but I don't know how to register bugs, so I'll leave that for someone else if they are interested (or let me know how and I'll throw something in the bug register).

Basically my host (I have a Media Temple (dv) account) uses a different username for the apache (httpd) process to the PHP process. Thus, when uploading, apache was doing the work and would create the temporary file in the silverstripe-cache folder, then PHP would come along to copy it to the right folder but wouldn't have permissions to.

For the folder creation issue, again because of the different usernames of the processes, safe_mode was stopping PHP from doing its thing.

Anyway, sorry for the short and not very detailed message, but something to watch out for there.

Best regards
Ronan

Avatar
joelg

Community Member, 134 Posts

30 October 2009 at 1:24am

Hi Ronan

I think I'm having the exact same problem. Could you tell me, what you did to solve this?

Thanks

Joel

Avatar
DJMatus23

Community Member, 11 Posts

30 October 2009 at 8:55am

Hi Joel,

No worries, today isn't great though, as I've got an urgent deadline at Friday 3pm NZ time, after which I'm off for a weekend of relaxing. I'll try and remember to get in touch again on Monday, but if I forget, please just reply to this message again and I'll get a reminder.

Also, can you post your obfuscated email address (i.e. something like joelg --at-- woohoo --dot-- c0m), as it will be easier to do this via email - then you can post a response for what fixed your solution once we find it.

:)
RoNAn 2.0