Difference between revisions of "Installation:debugging"
From NeutronAdmin
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Debugging === | === Debugging === | ||
If you have any issues with Neutron you should always read this article first: | If you have any issues with Neutron you should always read this article first: | ||
+ | |||
+ | === WEB ISSUES === | ||
+ | ==== Parse error unexpected '[' ==== | ||
+ | |||
+ | * You do not have the latest PHP 5.4 version or greater installed on your webserver. If this is the case, you need to update your PHP version from your website control panel. If 5.4+ is not available, contact your webhost's support team and request that they update it for you. | ||
+ | |||
+ | ==== When logging in, "An error occurred while processing your request. Reference #XX.XXXXXXXX.XXXXXXXXXX.XXXXXXX" ==== | ||
+ | * This is an issue with Steam. Please wait and it should resolve itself eventually. Please do not contact NMScripts support as there is nothing we can do about this. | ||
==== 500 Internal server error ==== | ==== 500 Internal server error ==== | ||
− | Give the 'cache' folder 777 recursive permissions | + | Give the 'cache' folder 777 recursive permissions as specified in the web installation. If that doesn't work, please create a ticket containing your PHP error log. |
+ | |||
+ | === LUA ISSUES === | ||
+ | |||
+ | ==== Function Remt does not exist ==== | ||
+ | Please run this MySQL query in your Neutron MySQL database manually:<blockquote>CREATE FUNCTION remt(t INT(5)) RETURNS TIMESTAMP RETURN (now()-INTERVAL t SECOND)</blockquote> | ||
==== "MySQL Server has gone away" ==== | ==== "MySQL Server has gone away" ==== | ||
Line 11: | Line 24: | ||
SET @@GLOBAL.wait_timeout=300; | SET @@GLOBAL.wait_timeout=300; | ||
SET @@LOCAL.wait_timeout=300; | SET @@LOCAL.wait_timeout=300; | ||
− | |||
− | |||
− |
Latest revision as of 14:42, 19 December 2017
Contents
Debugging
If you have any issues with Neutron you should always read this article first:
WEB ISSUES
Parse error unexpected '['
- You do not have the latest PHP 5.4 version or greater installed on your webserver. If this is the case, you need to update your PHP version from your website control panel. If 5.4+ is not available, contact your webhost's support team and request that they update it for you.
When logging in, "An error occurred while processing your request. Reference #XX.XXXXXXXX.XXXXXXXXXX.XXXXXXX"
- This is an issue with Steam. Please wait and it should resolve itself eventually. Please do not contact NMScripts support as there is nothing we can do about this.
500 Internal server error
Give the 'cache' folder 777 recursive permissions as specified in the web installation. If that doesn't work, please create a ticket containing your PHP error log.
LUA ISSUES
Function Remt does not exist
Please run this MySQL query in your Neutron MySQL database manually:CREATE FUNCTION remt(t INT(5)) RETURNS TIMESTAMP RETURN (now()-INTERVAL t SECOND)
"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;