Jump to:

23003 Posts in 11856 Topics by 2828 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 714 Views
  • DJMatus23
    Avatar
    Community Member
    11 Posts

    RESOLVED: Error uploading or creating new folders via CMS Link to this post

    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

  • joelg
    Avatar
    Community Member
    129 Posts

    Re: RESOLVED: Error uploading or creating new folders via CMS Link to this post

    Hi Ronan

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

    Thanks

    Joel

  • DJMatus23
    Avatar
    Community Member
    11 Posts

    Re: RESOLVED: Error uploading or creating new folders via CMS Link to this post

    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

    714 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.