Webserver returns Internal Server Error in the header

I host my website http://hero.jskill.com/ in my virtualmin server. It seems like the web server is always returning an "Internal Server Error" in the headers even the request was successful. http://screencast.com/t/qoLdslkTKg

Other website hosted in this server doesn't have this issue: http://jskill.com

Status: 
Active

Comments

Howdy -- hmm, I'm not seeing that when I access that website.

It gives the proper "200" response code to me.

One thing to check though -- do you receive any errors in the Apache error logs for that domain (in $HOME/logs/error_log)?

If it's generating a 500 error in some cases, you should see some errors in the error log.

Hi,

Here is the log:

[Fri Dec 25 21:39:30.841519 2015] [fcgid:warn] [pid 10460] [client 180.76.15.20:19801] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 21:39:31.558047 2015] [fcgid:warn] [pid 6958] [client 180.76.15.137:19931] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 21:40:01.990304 2015] [fcgid:warn] [pid 7205] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 21:45:02.417415 2015] [fcgid:warn] [pid 10461] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 21:50:01.998552 2015] [fcgid:warn] [pid 7335] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 21:55:01.919360 2015] [fcgid:warn] [pid 6958] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:00:02.256526 2015] [fcgid:warn] [pid 65189] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:05:06.417258 2015] [fcgid:warn] [pid 10080] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:10:02.266443 2015] [fcgid:warn] [pid 65189] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:15:02.168521 2015] [fcgid:warn] [pid 10460] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:20:01.942892 2015] [fcgid:warn] [pid 7335] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:22:50.404645 2015] [fcgid:warn] [pid 7335] [client 71.173.203.109:34902] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:23:10.702704 2015] [fcgid:warn] [pid 12216] [client 71.173.203.109:34944] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:25:02.367167 2015] [fcgid:warn] [pid 12216] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:30:02.250150 2015] [fcgid:warn] [pid 12215] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:35:01.626380 2015] [fcgid:warn] [pid 7205] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:40:01.818640 2015] [fcgid:warn] [pid 7335] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:44:34.042199 2015] [fcgid:warn] [pid 12216] [client 116.100.50.76:53192] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202, referer: http://hero.jskill.com/administrator/index.php
[Fri Dec 25 22:45:01.945594 2015] [fcgid:warn] [pid 7335] [client 168.63.244.233:1024] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202
[Fri Dec 25 22:45:04.437030 2015] [fcgid:warn] [pid 65189] [client 116.100.50.76:53209] mod_fcgid: stderr: PHP Fatal error:  Call to a member function stat() on a non-object in /home/hero/public_html/libraries/joomla/database/driver/mysqli.php on line 202, referer: http://virtualmin.com/node/39079

It looks like there is a syntax error that's occurring within Joomla.

You may want to check that your Joomla theme and plugins are all at the latest versions, and don't have any outstanding bug reports that might cause that kind of problem.