Wordpress - mysql issue

Hi, I’m moving a client’s wordpress site to a virtual server. I have copied all of the files from the server to the other, and when i browse the site I get the Error establishing a database connection page, like i should. Then when I import the mysql database and change the config to match, I get a Server error page in Chrome, and a blank page on Safari (iphone). Why would this be?

What’s in the Apache logs at the time of error?

Last 50 lines

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Mon Sep 09 20:35:47 2013] [notice] Graceful restart requested, doing restart httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.27 for ServerName [Mon Sep 09 20:35:47 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:35:47 2013] [notice] Digest: done [Mon Sep 09 20:35:47 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Mon Sep 09 20:37:23 2013] [notice] caught SIGTERM, shutting down [Mon Sep 09 20:38:05 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Sep 09 20:38:05 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:38:05 2013] [notice] Digest: done [Mon Sep 09 20:38:07 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Mon Sep 09 20:50:58 2013] [notice] Graceful restart requested, doing restart httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.27 for ServerName [Mon Sep 09 20:50:59 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:50:59 2013] [notice] Digest: done [Mon Sep 09 20:50:59 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations [Mon Sep 09 20:51:20 2013] [notice] caught SIGTERM, shutting down [Mon Sep 09 20:51:24 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Sep 09 20:51:24 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:51:24 2013] [notice] Digest: done [Mon Sep 09 20:51:24 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations [Mon Sep 09 20:51:28 2013] [notice] Graceful restart requested, doing restart httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.27 for ServerName [Mon Sep 09 20:51:28 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:51:28 2013] [notice] Digest: done [Mon Sep 09 20:51:28 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Mon Sep 09 20:58:08 2013] [notice] caught SIGTERM, shutting down [Mon Sep 09 20:58:11 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Sep 09 20:58:11 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:58:11 2013] [notice] Digest: done [Mon Sep 09 20:58:11 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Mon Sep 09 20:58:47 2013] [notice] caught SIGTERM, shutting down [Mon Sep 09 20:59:26 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Sep 09 20:59:26 2013] [notice] Digest: generating secret for digest authentication ... [Mon Sep 09 20:59:26 2013] [notice] Digest: done [Mon Sep 09 20:59:29 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

Howdy,

It looks like that’s the system-wide Apache config… what you’d want to do is take a look at the Apache config for the domain that’s having a problem, in $HOME/logs/error_log.

However, probably unrelated to the problem you’re seeing at the moment – it does appear that it’s trying to load mcrypt, but is unable to do so. You can see that error here:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

If you need mcrypt, you’d want to make sure it’s installed, and that PHP is trying to load it from the correct path.

-Eric

Having trouble accessing the logs.

[07:33:48] 550 error_log: No such file or directory
[07:33:48] Transfer failed.
[07:33:48] Operation End

Any ideas?

Having trouble accessing the logs.

[07:33:48] 550 error_log: No such file or directory
[07:33:48] Transfer failed.
[07:33:48] Operation End

Any ideas?

Howdy,

Another way to access them is from within Virtualmin… you can do that using Logs and Reports -> Apache Error log.

-Eric

Got it.

[Mon Sep 09 20:03:41 2013] [error] [client 123.2.86.211] Directory index forbidden by Options directive: /home/johblogs/public_html/
[Mon Sep 09 20:03:42 2013] [error] [client 123.2.86.211] Directory index forbidden by Options directive: /home/johblogs/public_html/
[Mon Sep 09 20:03:46 2013] [error] [client 42.120.161.48] Directory index forbidden by Options directive: /home/johblogs/public_html/
[Mon Sep 09 20:03:56 2013] [error] [client 123.2.86.211] Directory index forbidden by Options directive: /home/johblogs/public_html/
[Mon Sep 09 20:05:22 2013] [error] [client 174.143.143.191] File does not exist: /home/johblogs/public_html/2013
[Mon Sep 09 20:05:23 2013] [error] [client 174.143.143.191] File does not exist: /home/johblogs/public_html/favicon.ico
[Mon Sep 09 20:06:41 2013] [warn] [client 174.37.205.76] mod_fcgid: stderr: PHP Warning: require(/home/johblogs/public_html/wp-includes/load.php): failed to open stream: No such file or directory in /home/johblogs/public_html/wp-settings.php on line 21
[Mon Sep 09 20:06:41 2013] [warn] [client 174.37.205.76] mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required ‘/home/johblogs/public_html/wp-includes/load.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/johblogs/public_html/wp-settings.php on line 21
[Mon Sep 09 20:07:44 2013] [warn] [client 66.249.74.122] mod_fcgid: stderr: PHP Warning: require(/home/johblogs/public_html/wp-includes/load.php): failed to open stream: No such file or directory in /home/johblogs/public_html/wp-settings.php on line 21
[Mon Sep 09 20:07:44 2013] [warn] [client 66.249.74.122] mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required ‘/home/johblogs/public_html/wp-includes/load.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/johblogs/public_html/wp-settings.php on line 21
[Mon Sep 09 20:07:58 2013] [warn] [client 144.76.42.76] mod_fcgid: stderr: PHP Warning: require(/home/johblogs/public_html/wp-includes/load.php): failed to open stream: No such file or directory in /home/johblogs/public_html/wp-settings.php on line 21
[Mon Sep 09 20:07:58 2013] [warn] [client 144.76.42.76] mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required ‘/home/johblogs/public_html/wp-includes/load.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/johblogs/public_html/wp-settings.php on line 21
[Mon Sep 09 20:08:58 2013] [warn] [client 66.249.74.122] mod_fcgid: read data timeout in 31 seconds, referer: http://www.johblogs.com/2006/06/playtime-not-for-girls.html
[Mon Sep 09 20:08:58 2013] [error] [client 66.249.74.122] Premature end of script headers: index.php, referer: http://www.johblogs.com/2006/06/playtime-not-for-girls.html
[Mon Sep 09 20:09:36 2013] [warn] [client 123.2.86.211] mod_fcgid: read data timeout in 31 seconds
[Mon Sep 09 20:09:36 2013] [error] [client 123.2.86.211] Premature end of script headers: index.php
[Mon Sep 09 20:10:26 2013] [warn] [client 123.2.86.211] mod_fcgid: read data timeout in 31 seconds
[Mon Sep 09 20:10:26 2013] [error] [client 123.2.86.211] Premature end of script headers: index.php
[Mon Sep 09 20:10:57 2013] [warn] [client 123.2.86.211] mod_fcgid: read data timeout in 31 seconds
[Mon Sep 09 20:10:57 2013] [error] [client 123.2.86.211] Premature end of script headers: index.php
[Mon Sep 09 20:11:18 2013] [warn] [client 174.36.241.151] mod_fcgid: read data timeout in 31 seconds
[Mon Sep 09 20:11:18 2013] [error] [client 174.36.241.151] Premature end of script headers: index.php
[Mon Sep 09 20:12:28 2013] [warn] [client 123.2.86.211] mod_fcgid: read data timeout in 31 seconds
[Mon Sep 09 20:12:28 2013] [error] [client 123.2.86.211] Premature end of script headers: index.php
[Mon Sep 09 20:14:26 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:14:29 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:14:31 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:15:02 2013] [warn] [client 65.55.219.92] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:15:06 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:21:58 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:01 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:01 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:02 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:03 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:04 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:04 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:22:05 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:25:05 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:25:09 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 20:25:42 2013] [warn] [client 192.157.239.84] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752, referer: http://www.johblogs.com/2011/06/cosmic-ordering-by-jonathon-cainer.html
[Mon Sep 09 21:00:55 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/2011
[Mon Sep 09 21:01:28 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:01:29 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:01:39 2013] [warn] [client 124.148.129.106] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752, referer: http://www.johblogs.com/wp-admin/options-discussion.php?settings-updated=true
[Mon Sep 09 21:02:18 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:02:20 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:02:56 2013] [error] [client 66.249.74.122] File does not exist: /home/johblogs/public_html/2010
[Mon Sep 09 21:03:04 2013] [error] [client 157.55.33.80] File does not exist: /home/johblogs/public_html/2013
[Mon Sep 09 21:03:49 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:03:49 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:03:50 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:03:50 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:03:51 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:03:51 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:03:52 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:05:18 2013] [error] [client 198.27.80.33] File does not exist: /home/johblogs/public_html/2011
[Mon Sep 09 21:06:57 2013] [error] [client 173.192.238.40] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 21:09:31 2013] [error] [client 65.55.219.92] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 21:10:08 2013] [error] [client 77.94.136.197] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 21:11:31 2013] [warn] [client 174.37.205.76] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:13:14 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:13:17 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752, referer: http://johblogs.com/wp-admin/install.php
[Mon Sep 09 21:13:19 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:13:19 2013] [warn] [client 123.2.86.211] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Mon Sep 09 21:14:04 2013] [error] [client 157.56.92.163] File does not exist: /home/johblogs/public_html/2012
[Mon Sep 09 21:14:20 2013] [error] [client 185.10.104.131] File does not exist: /home/johblogs/public_html/2006
[Mon Sep 09 21:19:35 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 21:25:36 2013] [error] [client 175.44.57.5] File does not exist: /home/johblogs/public_html/2010, referer: http://www.johblogs.com/2010/02/interactive-whiteboards.html
[Mon Sep 09 21:27:40 2013] [error] [client 8.35.201.50] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 21:29:20 2013] [error] [client 180.76.5.11] File does not exist: /home/johblogs/public_html/2009
[Mon Sep 09 21:35:10 2013] [error] [client 66.249.74.122] File does not exist: /home/johblogs/public_html/2007
[Mon Sep 09 21:37:03 2013] [error] [client 173.192.238.44] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 21:38:10 2013] [error] [client 173.194.99.87] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 21:38:16 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 21:46:32 2013] [error] [client 204.107.128.48] File does not exist: /home/johblogs/public_html/author
[Mon Sep 09 21:51:44 2013] [error] [client 157.56.92.163] File does not exist: /home/johblogs/public_html/2008
[Mon Sep 09 21:56:57 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 22:02:47 2013] [error] [client 77.94.136.197] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 22:04:00 2013] [error] [client 65.55.219.92] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 22:04:21 2013] [error] [client 65.55.213.68] File does not exist: /home/johblogs/public_html/2009
[Mon Sep 09 22:07:29 2013] [error] [client 94.228.34.209] File does not exist: /home/johblogs/public_html/the-well
[Mon Sep 09 22:15:37 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 22:15:56 2013] [error] [client 65.55.213.69] File does not exist: /home/johblogs/public_html/2006
[Mon Sep 09 22:21:43 2013] [error] [client 157.55.33.80] File does not exist: /home/johblogs/public_html/2009
[Mon Sep 09 22:33:51 2013] [error] [client 8.35.201.51] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 22:34:18 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 22:45:21 2013] [error] [client 175.44.59.19] File does not exist: /home/johblogs/public_html/2010, referer: http://www.johblogs.com/2010/02/interactive-whiteboards.html
[Mon Sep 09 22:52:58 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 22:53:04 2013] [error] [client 66.249.74.122] File does not exist: /home/johblogs/public_html/2013
[Mon Sep 09 22:58:29 2013] [error] [client 65.55.219.92] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 23:06:03 2013] [error] [client 157.56.229.184] File does not exist: /home/johblogs/public_html/2008
[Mon Sep 09 23:11:39 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 23:20:46 2013] [error] [client 66.249.74.122] File does not exist: /home/johblogs/public_html/2007
[Mon Sep 09 23:25:22 2013] [error] [client 66.249.74.122] File does not exist: /home/johblogs/public_html/2006
[Mon Sep 09 23:30:20 2013] [error] [client 100.43.83.130] File does not exist: /home/johblogs/public_html/category
[Mon Sep 09 23:31:34 2013] [error] [client 8.35.201.53] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 23:41:21 2013] [error] [client 157.55.33.23] File does not exist: /home/johblogs/public_html/2010
[Mon Sep 09 23:44:42 2013] [error] [client 77.94.136.197] File does not exist: /home/johblogs/public_html/feed
[Mon Sep 09 23:46:48 2013] [error] [client 66.249.74.122] File does not exist: /home/johblogs/public_

Howdy,

Well, those logs are over the course of 3 hours… do you happen to have the log messages that occur at exactly the time you attempt to access the site?

That would make it easier to determine what’s going awry, as there’s quite a few different things going on in the logs.

Also, one other question – what distro/version are you using? And what is the output of the command “php -v”?

Thanks!

-Eric

This specifically…
[Tue Sep 10 13:34:57 2013] [warn] [client 157.55.32.80] mod_fcgid: read data timeout in 31 seconds
[Tue Sep 10 13:34:57 2013] [error] [client 157.55.32.80] Premature end of script headers: index.php
[Tue Sep 10 13:53:45 2013] [warn] [client 157.55.35.76] mod_fcgid: read data timeout in 31 seconds
[Tue Sep 10 13:53:45 2013] [error] [client 157.55.35.76] Premature end of script headers: index.php
[Tue Sep 10 14:01:12 2013] [warn] [client 180.95.18.22] mod_fcgid: read data timeout in 31 seconds
[Tue Sep 10 14:01:12 2013] [error] [client 180.95.18.22] Premature end of script headers: index.php
[Tue Sep 10 14:01:43 2013] [warn] [client 180.95.18.22] mod_fcgid: read data timeout in 31 seconds
[Tue Sep 10 14:01:43 2013] [error] [client 180.95.18.22] Premature end of script headers: index.php
[Tue Sep 10 14:02:45 2013] [warn] [client 180.95.18.22] mod_fcgid: read data timeout in 31 seconds
[Tue Sep 10 14:02:45 2013] [error] [client 180.95.18.22] Premature end of script headers: index.php
[Tue Sep 10 14:03:16 2013] [warn] [client 180.95.18.22] mod_fcgid: read data timeout in 31 seconds
[Tue Sep 10 14:03:16 2013] [error] [client 180.95.18.22] Premature end of script headers: index.php
[Tue Sep 10 14:14:04 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Tue Sep 10 14:14:04 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Tue Sep 10 14:14:06 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Tue Sep 10 14:14:07 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Tue Sep 10 14:14:21 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Tue Sep 10 14:14:22 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752
[Tue Sep 10 14:14:22 2013] [warn] [client 180.95.18.22] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_ELSE in /home/johblogs/public_html/wp-content/plugins/wp-gravatar/gravatars.php on line 752

Also CentOS 6.4 x64 with latest virtual min install from install.sh

Deleted.

Howdy,

What is the output of the command “php -v”?

However, it appears as if there’s a PHP syntax error in the WordPress plugin “wp-gravatar”.

It’s probably an issue related to the different PHP versions being run on your old system versus this one.

It’s possible that there is a newer plugin version that would run properly. But in the meantime, you’d likely need to disable that particular plugin in order to get WordPress working.

-Eric