Difference between revisions of "Installation:debugging"

From NeutronAdmin
Jump to: navigation, search
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 ====

Revision as of 14:41, 19 December 2017

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

"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;

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)