21491 Posts in 5783 Topics by 2622 members
General Questions
SilverStripe Forums » General Questions » RESOLVED: Error uploading or creating new folders via CMS
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 651 Views |
-
RESOLVED: Error uploading or creating new folders via CMS

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 -
Re: RESOLVED: Error uploading or creating new folders via CMS

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
-
Re: RESOLVED: Error uploading or creating new folders via CMS

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
| 651 Views | ||
|
Page:
1
|
Go to Top |

