Difference between revisions of "Installation:debugging"
From PrometheusIPN Wiki
Line 2: | Line 2: | ||
If you have any issues with Prometheus you should always read this article first: | If you have any issues with Prometheus you should always read this article first: | ||
+ | ====== Shared issues ====== | ||
===== MySQL not connecting ===== | ===== MySQL not connecting ===== | ||
Line 35: | Line 36: | ||
* Your serverID is most likely incorrect in your lua config. To find your actual serverID go to Admin-> Servers and edit a server to see the ID. | * Your serverID is most likely incorrect in your lua config. To find your actual serverID go to Admin-> Servers and edit a server to see the ID. | ||
+ | |||
+ | ====== Web issues ====== | ||
===== Parse error unexpected '[' ===== | ===== Parse error unexpected '[' ===== | ||
* You do not have the latest PHP 5.4 version or greater installed on your webserver | * You do not have the latest PHP 5.4 version or greater installed on your webserver |
Revision as of 16:10, 12 August 2015
Contents
- 1 Debugging
- 2 Shared issues
- 3 MySQL not connecting
- 4 MySQL Server has gone away
- 5 I do not receive the test message on my server
- 6 I do receive the test message, but don't get the items in my server
- 7 Nothing appearing in the transaction log of Prometheus
- 8 Something appearing in the transaction log of Prometheus
Debugging
If you have any issues with Prometheus you should always read this article first:
MySQL not connecting
- Make sure you have MySQL remote connections enabled on your webhost's controlpanel, and your GMod server's IP whitelisted. Also make sure you have the MySQLoo module installed correctly.
MySQL Server has gone away
- Set your refreshrate in your lua config to 15 seconds or less. Your MySQL server does not allow any connections that last longer than 15 seconds most likely, so it's timing out before its hitting the default 40.
- To fix this run these two commands in your MySQL (If you can't, get your host to do it):
SET @@GLOBAL.wait_timeout=300; SET @@LOCAL.wait_timeout=300;
I do not receive the test message on my server
- Enable the launch parameter -condebug on your server unless you are using TCAdmin 2.0 already.
- **If you are using TCAdmin 2.0** View your server console upon starting your server and look for anything that says Prometheus. or "Database connection failed".
- **If using -condebug** Do the same thing as above, but in the console.log file within your GMod servers "Garrysmod" directory
I do receive the test message, but don't get the items in my server
Nothing appearing in the transaction log of Prometheus
- You have not set up your Prometheus properly following this installation tutorial. Your PayPal is receiving the money, but is not sending a pingback message to your webserver.
Your system is failing at the red arrow (Inbetween PayPal and your installation). You need to set your IPN URL in PayPal itself. See the installation tutorial link above.
Something appearing in the transaction log of Prometheus
- Your serverID is most likely incorrect in your lua config. To find your actual serverID go to Admin-> Servers and edit a server to see the ID.
Web issues
Parse error unexpected '['
- You do not have the latest PHP 5.4 version or greater installed on your webserver