Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » The website server has not been able to respond to your request

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: 4297 Views
  • Tareq
    Avatar
    Community Member
    8 Posts

    The website server has not been able to respond to your request Link to this post

    hi
    i m trying to attach images on Admin side , but when i m adding image so its giving me error

    "The website server has not been able to respond to your request".

    i m using Linux server to up my side.
    server have write permissions to the "assets/Uploads/" Folder.
    not able to save images

    if any body face this problem on admin side plz suggest me if i m doing any mistake.

    But its working smoothly on local side.

    thanx
    tareq

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: The website server has not been able to respond to your request Link to this post

    Try turning on errors by setting the site in dev mode - Director::set_environment_type("dev"); in your mysite/_config.php . This will output the actual error

  • Tareq
    Avatar
    Community Member
    8 Posts

    Re: The website server has not been able to respond to your request Link to this post

    Thanx for your advice.

    but i m not able to see my images on Admin side after attaching images to it.
    on server itself.
    plz suggest me something.

    thanx
    tareq

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: The website server has not been able to respond to your request Link to this post

    I would just make sure that all the assets are read / writable.. also if you have safe mode turned on in your php.ini it can interfere with the uploader. Im not sure what else you can look for maybe your php file limit size is set to low in your php.ini file? this would normally throw an error though.

  • Tareq
    Avatar
    Community Member
    8 Posts

    Re: The website server has not been able to respond to your request Link to this post

    Hi Willr,

    Thanx & appriciating for your help.
    i have checked with all the settings what ever you have told.

    assets -> read / write permissions are on
    php.ini
    safe mode = off
    upload_max_filesize = 32M

    i m using Linux server .

    its still working on my local machine but not working with server

    thanx
    tareq

  • Stefan
    Avatar
    Community Member
    5 Posts

    Re: The website server has not been able to respond to your request Link to this post

    I had the same issue. Enabled dev with: Director::set_environment_type("dev"); in _config.php

    This gave me the error:

    FATAL ERROR: copy(/home/webdev/public_html/assets/Uploads/footerbg.gif) [function.copy]: failed to open stream: Permission denied

    At line 229 in /home/webdev/public_html/sapphire/filesystem/Folder.php

    Set global permissions to writeable recursively on the uploads folder. Issue resolved.

    Hope this helps.

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