HTTP ERROR 500 on some website page hosted from vesta cpanel?
HTTP ERROR 500 on some website page hosted from vesta cpanel?
I currently hosted a site using vesta and it all went ok but in some pages of website it displays http error 500 when i click on whereas other pages work perfectly. The same site works all perfectly in local.
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
Can you check your error_log ?
paste here some information.
paste here some information.
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
Logs - good, but
It can be like in this topic ->
viewtopic.php?p=46855#p46831
viewtopic.php?p=46855#p46855
It can be like in this topic ->
viewtopic.php?p=46855#p46831
viewtopic.php?p=46855#p46855
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
Where is error_log file located?skamasle wrote:Can you check your error_log ?
paste here some information.
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
https://vestacp.com/docs/#config-log-lo ... hel-centossunil1200 wrote: Where is error_log file located?
https://vestacp.com/docs/#config-log-lo ... ian-ubuntu
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
I dont know if it helps but i found this error_log file in var/log/httpdskamasle wrote:Can you check your error_log ?
paste here some information.
[Thu Jul 07 09:29:58.058121 2016] [suexec:notice] [pid 887] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 09:29:58.121098 2016] [so:warn] [pid 887] AH01574: module ruid2_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globall$
[Thu Jul 07 09:29:58.138937 2016] [auth_digest:notice] [pid 887] AH01757: generating secret for digest authentication ...
[Thu Jul 07 09:29:58.147075 2016] [:notice] [pid 887] mod_ruid2/0.9.8 enabled
[Thu Jul 07 09:29:58.356076 2016] [mpm_prefork:notice] [pid 887] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45$
[Thu Jul 07 09:29:58.356135 2016] [core:notice] [pid 887] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jul 07 09:30:29.136151 2016] [mpm_prefork:notice] [pid 887] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jul 07 09:30:46.372962 2016] [suexec:notice] [pid 889] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 09:30:46.486019 2016] [so:warn] [pid 889] AH01574: module ruid2_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globall$
[Thu Jul 07 09:30:46.508191 2016] [auth_digest:notice] [pid 889] AH01757: generating secret for digest authentication ...
[Thu Jul 07 09:30:46.519544 2016] [:notice] [pid 889] mod_ruid2/0.9.8 enabled
[Thu Jul 07 09:30:46.755887 2016] [mpm_prefork:notice] [pid 889] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45$
[Thu Jul 07 09:30:46.755952 2016] [core:notice] [pid 889] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
try to output /var/log/httpd/domains/<your domain here>.error.log
Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
OK. I fixed the error. The error was due to PHP 5.4 .After i upgraded it to PHP 5.6 everything went fine.