500 Server Error

jpast / 2012-04-23 20:08:40   

I'm getting a 500 server error when trying to go to my site: jacobpastrovich.com

I really have NO IDEA how to fix this. Any help is hugely appreciated. Thanks!

In checking the error logs here's some of what I'm getting:

Use of uninitialized value in concatenation (.) or string at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 31.
[Mon Apr 23 18:42:22 2012] [error] [client 173.254.14.73] PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libchartdir.so' in Unknown on line 0
[Mon Apr 23 18:42:23 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Mon Apr 23 18:42:23 2012] [error] [client 188.165.248.105] File does not exist: /usr/local/apache/htdocs/cgi, referer: http://box713.bluehost.com/suspended.page/disabled.cgi/asoprol.org.ni
Use of uninitialized value in concatenation (.) or string at /usr/local/cpanel/cgi-sys/fourohfour.cgi line 31.
[Mon Apr 23 18:42:24 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Mon Apr 23 18:42:24 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Mon Apr 23 18:42:25 2012] [error] [client 173.254.14.73] PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libchartdir.so' in Unknown on line 0

And under PHP error log:

/home7/jacobpas/public_html/error_log:
[19-Mar-2012 16:38:36] PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 87
[19-Mar-2012 16:38:36] PHP Warning: strpos() [function.strpos]: Empty delimiter in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 232
[19-Mar-2012 16:38:36] PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 87
[19-Mar-2012 16:38:36] PHP Warning: strpos() [function.strpos]: Empty delimiter in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 232
[20-Mar-2012 19:00:38] PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 87
[20-Mar-2012 19:00:38] PHP Warning: strpos() [function.strpos]: Empty delimiter in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 232
[20-Mar-2012 19:00:39] PHP Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 87
[20-Mar-2012 19:00:39] PHP Warning: strpos() [function.strpos]: Empty delimiter in /home7/jacobpas/public_html/ndxz-studio/lib/statistics.php on line 232

Vaska A / 2012-04-23 20:29:07   

Hmmm...something is not right here.

Maybe, you haven't uploaded /ndxz-studio/lib/statistics.php all the way - do that.

I believe the first set of errors aren't actually related to Indexhibit - nothing points in that direction.

Which, leads me to believe something is not right with the PHP installation on the server.

Start with fixing the statistics.php file and see how things go.

jpast / 2012-04-24 18:58:51   

I re-uploaded the statistics.php to no avail. Still the 500 error.

I've had my site up and running for over a ear so this is really strange. I tried getting help from bluehost but they only said "It seems to be a problem with the code in your index.php file. I tried adding a blank index.html file and it worked without any errors."

What do I do now?

Error logs from today:
[Tue Apr 24 17:51:19 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[ pid=22752 thr=139751689840416 file=ext/common/LoggingAgent/LoggingServer.h:829 time=2012-04-24 17:51:19.825 ]: Flushing all sinks (periodic action)
[Tue Apr 24 17:51:20 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] * About to connect() to search.twitter.com port 80 (#0), referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] * Trying 199.59.148.201... , referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] * connected, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] * Connected to search.twitter.com (199.59.148.201) port 80 (#0), referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] > GET /search.json?q=oleggo HTTP/1.1r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] Host: search.twitter.comr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] Accept: */*r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < HTTP/1.1 200 OKr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Cache-Control: max-age=15, must-revalidate, max-age=300r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Expires: Tue, 24 Apr 2012 23:56:21 GMTr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Content-Type: application/json;charset=utf-8r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < X-Transaction: 1c1e1e4e20127087r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < X-Frame-Options: SAMEORIGINr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Content-Length: 1248r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Vary: Accept-Encodingr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Date: Tue, 24 Apr 2012 23:51:21 GMTr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < X-Varnish: 4115455425r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Age: 0r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Via: 1.1 varnishr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Set-Cookie: k=66.147.244.213.5c714c5a235de551; path=/; expires=Tue, 01-May-2012 23:51:22 UTC; domain=.search.twitter.com; httponlyr, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < Server: tfer, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] < r, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] * Connection #0 to host search.twitter.com left intact, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:21 2012] [error] [client 211.75.246.199] * Closing connection #0, referer: http://www.luxury24seven.com/
[Tue Apr 24 17:51:23 2012] [error] [client 66.249.71.99] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

Vaska A / 2012-04-24 19:38:23   

If you are ok with it, send me an FTP login and your Indexhibit login and I'll try to figure it out.

contact [at] indexhibit [dot] org

Vaska A / 2012-04-25 09:25:00   

I took a look - it's very evident that there is an issue with the database - everything else is working just fine. Looking at the database is up to the uset and the host - I can't do that part.

This thread has been closed, thank you.