Difference between revisions of "Installation:debugging"
From PrometheusIPN Wiki
m (Reverted edits by 173.245.49.180 (talk) to last revision by Marcuz) |
m (Reverted edits by Marcuz (talk) to last revision by 173.245.49.180) |
||
Line 23: | Line 23: | ||
===== I do receive the test message, but don't get the items in my server ===== | ===== I do receive the test message, but don't get the items in my server ===== | ||
+ | Prometheus don't know, Ahah ! | ||
===== Nothing appearing in the transaction log of Prometheus ===== | ===== Nothing appearing in the transaction log of Prometheus ===== |
Revision as of 17:47, 24 January 2016
Contents
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
Prometheus don't know, Ahah !
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