Difference between revisions of "Troubleshooting"

From GExtension Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
*Add -condebug to the start parameters of your Garry's Mod server. '''IMPORTANT:''' Make sure to delete/move the console.log file from time to time. Otherwise, the file may gets too big and creates lags.
 
*Add -condebug to the start parameters of your Garry's Mod server. '''IMPORTANT:''' Make sure to delete/move the console.log file from time to time. Otherwise, the file may gets too big and creates lags.
 
'''Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in ...'''
 
'''Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in ...'''
*Set '''safe_mode = Off''' in your php.ini file. Ask your hoster if you do not have access to it.
+
*Set '''safe_mode = Off''' in your php.ini file and make sure that all OpenBaseDir options are disabled. Ask your hoster if you do not have access to it.
  
 
==Lua==
 
==Lua==

Revision as of 18:16, 12 May 2017

You have a problem with GExtension? The most common problems with their solutions are listed here.

Web

"Could not update" + permission error

"Access denied for user 'mysqluser'@'123.12.31.123' (using password: YES)"

  • You are using a MySQL user that doesn't has access. This is caused by wrong password, not whitelisted IP or insufficient permissions to the database.

"Servers" tab doesn't show status of my servers

  • Make sure that the socket extension is enabled and that UPD connection to your server are allowed. Ask your hoster if you don't know what to do.

I lost my superadmin rank on the web

  • To regrant the rank, you need a server which is connected with GExtension. Run this command in the console: gex_setgroup <steamid64> superadmin 0

The console ist not working

  • Add -condebug to the start parameters of your Garry's Mod server. IMPORTANT: Make sure to delete/move the console.log file from time to time. Otherwise, the file may gets too big and creates lags.

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in ...

  • Set safe_mode = Off in your php.ini file and make sure that all OpenBaseDir options are disabled. Ask your hoster if you do not have access to it.

Lua

The most issues can be solved by just taking a look into the SERVER console:

"Access denied for user 'mysqluser'@'123.12.31.123' (using password: YES)"

  • You are using a MySQL user that doesn't has access. This is caused by wrong password, not whitelisted IP or insufficient permissions to the database.

GExtension is not initialized/Could not initialize

  • Take a look in the SERVER-console for errors. You may forgot to assign your server to a serverbundle or the mysql connection failed.

You need to have tmysql4 or mysqloo installed

  • You do not have a mysql module installed. See tMySQL4

I lost my rank on the server

  • You most likely forgot to also set you a rank for the serverbundle. Navigate to Search -> Your Pofile and click on the pencil. Please note that the name of the web and gmod groups has to be the same (case sensitive!!!).

Can't connect to local MySQL server through socket

  • You may used "localhost" as IP. Try 127.0.0.1, the IP or your hostname instead.

There are lags on my server

  • Make sure to use tMySQL4 and check that your console.log file isn't big.

[ERROR] addons/luafiles/lua/gextension/server/sv_import.lua:75: attempt to call method 'GE_Error_Permissions' (a nil value)

  • You tried to run the import from the server console. Please take a look at the import instructions.