Skip to main content

404 Not Found error

Comments

5 comments

  • Infopro
    just for letting you know that I have changed the permission and all that stuff but no luck!

    A similar thread here: suPHP 500 Internal Error File permissions and owner of the files and directories should be checked.
    0
  • BenMadd
    A similar thread here: suPHP 500 Internal Error File permissions and owner of the files and directories should be checked.

    Hi Peter, Yes, I have read that thread but didn't help at all. as I have changed all the permission on PHP files. but no luck. would you please give more information to be specific that how can I rectify this issue. Thanks I have done the following as well but ... 1. logged in as root type chown -R username:username /home/USERNAME/public_html/ 2. stil as root type: chmod -R 0755 /home/USERNAME/public_html
    0
  • Jcats
    Hello, Run these:
    chown -R username: /home/username/public_html find /home/username/public_html/ -type f -exec chmod 644 {} \; find /home/username/public_html/ -type d -exec chmod 755 {} \; chmod 755 /home/username/public_html
    Just make sure to replace username with the cPanel username If the problem persists, please:
    tail -f /usr/local/apache/logs/error_log
    then refresh the page in your browser and provide the error
    0
  • BenMadd
    Hello, Run these:
    chown -R username: /home/username/public_html find /home/username/public_html/ -type f -exec chmod 644 {} \; find /home/username/public_html/ -type d -exec chmod 755 {} \; chmod 755 /home/username/public_html
    Just make sure to replace username with the cPanel username If the problem persists, please:
    tail -f /usr/local/apache/logs/error_log
    then refresh the page in your browser and provide the error

    Hi Jcats, Thanks for your response. I have tried all the recommendations but still no luck: as requested please find the following: Sun Jul 16 09:11:47 2017] [error] [client 124.181] SoftException in Application.cpp:602: Could not execute script "/home/advances/public_html/index.php" [Sun Jul 16 09:11:47 2017] [error] [client 124.181] Caused by SystemException in API_Linux.cpp:465: chdir() failed: No such file or directory [Sun Jul 16 09:11:47 2017] [error] [client 124.181] Premature end of script headers: index.php [Sun Jul 16 09:11:47 2017] [error] [client 124.181] File does not exist: /home/advances/public_html/500.shtml
    0
  • Jcats
    Can you provide output:
    ls -lah /home/advances/public_html/
    0

Please sign in to leave a comment.