thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!

Full documentation and information about XLRstats version 2 can be found at this subsection of our site.

Our upcoming XLRstats version 3 (League Edition) is currently being developed. You can have a glimpse on our main XLRstats website: www.xlrstats.com


Author Topic: 500 Internal Server Error For XLRStats  (Read 2783 times)

Offline Thomastai

  • Jr. Member
  • **
  • Posts: 22
500 Internal Server Error For XLRStats
« on: August 26, 2013, 09:30:04 PM »
Hello, while configuring B3 it worked fine for a whole day, until the next day. I got a 500 internal server error, and spent the rest of the day trying to fix it. The webfront was working until the next day, where I couldn't get the page to load

http://raid-gaming.net/forums/xlrstats/index.php

Everything Else On The Server Works Fine, but I wonder why it doesn't work. I tried reinstalling, re-doing the configs, re-importing database files, and doing some searching on why I keep getting 500 server errors.

It appears xlrstats, ctime, status is all working, but just the website is not working. I'd appreciate any help I could get, I will give any logs, data, and information needed to get this fixed.

Thank You,
Thomas
« Last Edit: August 26, 2013, 10:29:54 PM by Thomastai »

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: 500 Internal Server Error For XLRStats
« Reply #1 on: August 27, 2013, 01:47:05 PM »
Unfortunately the page is just white screening for me, but could you try to reinstall using these files?
https://github.com/Freelander/xlrstats-web-v2/archive/master.zip
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Thomastai

  • Jr. Member
  • **
  • Posts: 22
Re: 500 Internal Server Error For XLRStats
« Reply #2 on: August 27, 2013, 05:19:58 PM »
Okay, I copied the files to /var/www/xlrstats (raid-gaming.net/xlrstats)

http://gyazo.com/52b178ce533f5a7c0186b49dd9cb2359

I didn't install it, but it's already showing an error.

Could this be something other than just xlrstats, but instead maybe a permissions error? It's set at 777, and there is no .htaccess in /var/www or in /var/www/xlrstats, however, sothing else may be affecting it. It was working just fine the day I configured it, but the next day when I accessed it, it was unavailable.

Thanks For Your Help

Online 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2616
Re: 500 Internal Server Error For XLRStats
« Reply #3 on: August 27, 2013, 07:42:26 PM »
You need to run the installer before accessing xlrstats, installer seems to be working fine - at least I can access it, I didn't run it for you!

Offline Thomastai

  • Jr. Member
  • **
  • Posts: 22
Re: 500 Internal Server Error For XLRStats
« Reply #4 on: August 27, 2013, 10:34:30 PM »
Yea, I just installed it and still the same thing,

Probably something to do with the server?....

At this point I have no idea what to do, I tried everything I could.

Thanks

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 997
    • GitHub
Re: 500 Internal Server Error For XLRStats
« Reply #5 on: August 27, 2013, 11:53:33 PM »
Yea, I just installed it and still the same thing,

Probably something to do with the server?....

At this point I have no idea what to do, I tried everything I could.

Thanks
Happened to me hundreds of times. I managed to trace the problem to the redeclaration of PHP geoip functions (http://php.net/manual/en/ref.geoip.php). Having display errors OFF set in php.ini results in Internal Server Error (the error message is anyway logged with syslog). If you have access to the logfile, try to lookup the problem there. If not try this solution (if the problem is not the one I described, obviously it will not work ^^):

Open the file lib/geoip.inc and replace the content of the file with this version: http://pastebin.com/mpXm7MLN

Offline Thomastai

  • Jr. Member
  • **
  • Posts: 22
Re: 500 Internal Server Error For XLRStats
« Reply #6 on: August 28, 2013, 03:38:32 AM »
Wow it worked...
I didn't even need to check logs, I just copied and pasted it.
It would've taken me alot of time to figure this out, but you fixed this in a second :P
I appreciate your help.

Thanks A Ton Fenix!

 


Rate this page +1 at Google Search