After backup, i have Internal Server Error
IHi,
After a backup (and manuel move between to server)
casse-noisettes.be (is OK)
but my ecommerce (prestashop) casse-noisettes.be/shop make these error :
[QUOTE]Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@casse-noisettes.jeuxcooperatifs.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at casse-noisettes.be Port 80
What can i do ?
What can i do ?
-
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 -
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.php0 -
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 -
[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 -
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 -
[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 -
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 -
[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 -
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 -
maybe wenn i do the backup ? but why these permission make these error ? 0 -
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 -
Thanks for the support Michael. :) 0 -
[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 much0
Please sign in to leave a comment.
Comments
13 comments