Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Cannot upload

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1742 Views
  • siulun
    Avatar
    14 Posts

    Cannot upload Link to this post

    Using v2.1,

    Running Cent OS 5,
    Apache 2.2,
    MySQL 5

    I cannot upload any files or images. I've assigned write access rights to all for the assets folder. Error came up as soon as I press upload:

    ERROR:
    Error
    The website server has not been able to respond to your request.

    Not very helpful... is there a way to debug this? I see someone having trouble with 2.2 in Linux environment as well in Trac.

    Regards

  • siulun
    Avatar
    14 Posts

    Re: Cannot upload Link to this post

    Found the problem, not only does the assets and everything else under it needs write access but it also need execute write... so it's a 777 for me to make it work.

    Now I have to go into SSH to chown it to apache! if I didn't have SSH acccess = huge security risk.

    Please refer to here
    http://www.silverstripe.com/general-discussion/flat/6436

    In which I had said you should be able to do a mkdir using a php script such that the directory is owned and accessible by apache instead of the ftp user.

    Regards.

    1742 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.