Skip to main content

After backup, i have Internal Server Error

Comments

13 comments

  • cPanelMichael
    Hello :) You will need to check /usr/local/apache/logs/error_log for the specific error message. Let us know the specific error and we can let you know the cause of the problem (likely permission or ownership values). Thank you.
    0
  • fly_in_the_sky
    GNU nano 2.0.9 Fichier****: /usr/local/apache/logs/error_log [Mon Nov 04 21:23:18 2013] [error] [client 157.55.35.90] Premature end of script headers: product.php [Mon Nov 04 21:23:18 2013] [error] [client 157.55.35.90] File does not exist: /home/jeuxcoop/public_html/casse-noisettes.be/htdo$ [Mon Nov 04 21:23:23 2013] [error] [client 157.55.35.90] SoftException in Application.cpp:601: Directory "/" is writeable by gro$ [Mon Nov 04 21:23:23 2013] [error] [client 157.55.35.90] Premature end of script headers: category.php
    0
  • cPanelMichael
    Please check the permission and ownership values on the "/" directory. EX: stat /
    Also, check it on the account's home and public_html directories: stat /home/$username stat /home/$username/public_html
    Note: I edited your last response to include only the actual error message. There is no need to post the entire Apache error log output. Thank you.
    0
  • fly_in_the_sky
    [QUOTE]casse-noisettes@serveurcasse [~]# stat / File: "****/****" Size: 4096 Blocks: 8 IO Block: 4096 r"pertoire Device: ca01h/51713d Inode: 2 Links: 22 Access: (0775/drwxrwxr-x) Uid: ( 0/ root) Gid: ( 1001/ UNKNOWN) Access: 2011-12-21 15:15:30.662799892 +0100 Modify: 2013-11-04 14:56:55.616002027 +0100 Change: 2013-11-04 14:56:55.616002027 +0100 casse-noisettes@serveurcasse [~]#
    [QUOTE]casse-noisettes@serveurcasse [~]# stat /home/jeuxcoop File: "****/home/jeuxcoop****" Size: 20480 Blocks: 40 IO Block: 4096 r"pertoire Device: ca01h/51713d Inode: 393587 Links: 31 Access: (0711/drwx--x--x) Uid: ( 502/jeuxcoop) Gid: ( 502/jeuxcoop) Access: 2013-11-04 15:03:10.111354600 +0100 Modify: 2013-11-04 17:01:36.368002984 +0100 Change: 2013-11-04 17:01:36.368002984 +0100 casse-noisettes@serveurcasse [~]#
    [QUOTE]casse-noisettes@serveurcasse [~]# stat /home/jeuxcoop/public_html File: "****/home/jeuxcoop/public_html****" Size: 4096 Blocks: 8 IO Block: 4096 r"pertoire Device: ca01h/51713d Inode: 393594 Links: 14 Access: (0750/drwxr-x---) Uid: ( 502/jeuxcoop) Gid: ( 99/ nobody) Access: 2013-11-04 15:03:10.111354600 +0100 Modify: 2012-12-29 22:28:00.000000000 +0100 Change: 2013-11-04 15:05:00.420002447 +0100 casse-noisettes@serveurcasse [~]#
    Tank you very much for your help :)
    0
  • cPanelMichael
    Is there a specific reason you modified the "/" directory permissions to 0775? This is not recommended. Please update the permissions on the "/" directory to 0755 via: chmod 0755 /
    Thank you.
    0
  • fly_in_the_sky
    [quote="cPanelMichael, post: 1497681">Is there a specific reason you modified the "/" directory permissions to 0775? This is not recommended. Please update the permissions on the "/" directory to 0755 via: chmod 0755 /
    Thank you.
    I dont remeber if i change it and why... But What permission do I put it? and wath about my error ?
    0
  • cPanelMichael
    The permissions you need to change it to are listed in my last response. Changing the permissions should resolve the error message you are receiving. Thank you.
    0
  • fly_in_the_sky
    [quote="cPanelMichael, post: 1497871">The permissions you need to change it to are listed in my last response. Changing the permissions should resolve the error message you are receiving. Thank you.
    :):):):)Waouuuu I love you... :p 14 days with out ecommerce, i lose so many money, but .... now its work ....tank you very much... I have one question. How it is possible that i change the permission of "/" and it's working ? why ? wath was the probl"me an why my oder site web was working ?
    0
  • cPanelMichael
    I'm not sure how the permissions on that directory changed on your system. You may want to consult with a system administrator to see why those permissions were configured if you did not make the change yourself. Thank you.
    0
  • fly_in_the_sky
    maybe wenn i do the backup ? but why these permission make these error ?
    0
  • cPanelMichael
    You are likely using suPHP as your PHP handler. With suPHP, certain permission and ownership values are required. It's documented here: suPHP Considerations Thank you.
    0
  • 4m4ndaPu6h
    Thanks for the support Michael. :)
    0
  • fly_in_the_sky
    [quote="cPanelMichael, post: 1498091">You are likely using suPHP as your PHP handler. With suPHP, certain permission and ownership values are required. It's documented here: suPHP Considerations Thank you.
    Ok, and you see that in the error log, that is error with php. Tank you very much
    0

Please sign in to leave a comment.