Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Stefan1200

#1051
Since web interface build 3023 this is not needed anymore, because fatal run-time errors will be always displayed.

If you just get a white page in your browser, if you try to open the index.php or install.php of the web interface, enable the debug mode to see why this happens. By default the web interface is surpessing all PHP notices, warnings and error messages. But on critical PHP errors you see nothing.

Open the install.php and/or index.php with an editor like Notepad++, by default the first 10 lines of both files looks like:
<?PHP

error_reporting(0); ## LIVE

#ini_set('display_errors', 1); ## TESTING
#error_reporting(E_ALL);  ## TESTING


header("Content-Type: text/html; charset=utf-8");
mb_internal_encoding('UTF-8');


To enable the debug mode, comment out line 3 and uncomment the lines 5 and 6.
<?PHP

#error_reporting(0); ## LIVE

ini_set('display_errors', 1); ## TESTING
error_reporting(E_ALL);  ## TESTING


header("Content-Type: text/html; charset=utf-8");
mb_internal_encoding('UTF-8');


Save this changes to your web server. Now reload the page in your browser. Now you can read the PHP error message in your browser. After you have fixed this problem, just change both files back to the original state.
#1052
Quote from: DreamGamer on August 06, 2016, 03:55:13 PM
Eine Frage habe ich doch noch. Und zwar kann man irgendwie auf den Teamspeak Connecten so das man den Namen halt im TS sieht bzw mit dem Bot schreiben kann ? wenn ich Connecte ohne Server Query "Unzureichende client permissions Permission ID: 43"

Siehe hier:
https://www.stefan1200.de/documentation/jts3servermod/readme_deutsch.html
Abschnitt: -= Sichtbarkeit vom Bot im Teamspeak =-

Betrifft ja alle Query Clients.

Allerdings geht der Channel oder Server Chat auch, wenn man den Client nicht sieht.
#1054
Falls das bereits mit Version 2020 kompatibel war, ist es auch noch mit 2021 kompatibel (da 2021 ein reines Datenbank Update war). Und eine neuere Version ist aktuell nicht in Arbeit, da ich meine Sommerpause genieße. :)
#1055
Quote from: iassistant on July 30, 2016, 10:31:50 PM
I do what he tells me it does not work. How can I fix?

Please post the JTS3ServerMod_InstanceManager.log file.
#1056
Quote from: iassistant on July 30, 2016, 01:10:57 PM
I can explain how you configure telnet to linux

You already wrote the answer to your question. It has nothing to do with Linux.

Quote from: iassistant on July 30, 2016, 01:10:57 PM
Make sure the JTS3ServerMod That process is running and the telnet_enable and telnet_run_forever settings are enabled at the JTS3ServerMod_InstanceManager.cfg!
#1057
Just add write permissions to the config directory of the web interface.
#1058
Just import a backup of your database again. If this is not possible, just remove the config file of the web interface from the config directory and open the install.php again.
#1059
*** English ***
Communications link failure: This means that the DB isn't reachable at all. This can have one or more of the following causes:

  • IP address or hostname of the MySQL server in the JTS3ServerMod_InstanceManager.cfg is wrong.
  • Port number is missing or wrong of the MySQL server in the JTS3ServerMod_InstanceManager.cfg.
  • Check the bind-address attribute of the MySQL server. Make sure that the bind-address attribute in the MySQL server settings (my.cnf / my.ini) is bound to a valid network interface or "0.0.0.0".
  • Make sure, that the skip-networking attribute is disabled in the MySQL server settings (my.cnf / my.ini).
  • DB server is down.
  • DB server doesn't accept TCP/IP connections.
  • DB server has run out of connections.
  • Something in between Java and DB is blocking connections, e.g. a firewall or proxy.

This is not an error of the JTS3ServerMod, this is the error message of the Java MySQL driver or MySQL server.


*** Deutsch ***
Communications link failure: Das bedeutet, dass die Datenbank nicht erreichbar ist. Das kann eines der folgenden Gründe haben:

  • Die IP Adresse oder der Hostname vom MySQL server sind in der JTS3ServerMod_InstanceManager.cfg falsch.
  • Der Port vom MySQL Server ist in der JTS3ServerMod_InstanceManager.cfg falsch gesetzt.
  • Überprüfe das bind-address Attribut vom MySQL Server. Stelle sicher, dass das bind-address Attribut in den MySQL Server Einstellungen (my.cnf / my.ini) zu einem gültigen Netzwerk Interface oder "0.0.0.0" gebunden ist.
  • Stelle sicher, dass das skip-networking Attribut in den MySQL Server Einstellungen (my.cnf / my.ini) deaktiviert ist.
  • Datenbank Server ist offline.
  • Datenbank Server erlaubt keine TCP/IP Verbindungen.
  • Datenbank Server hat das Verbindungslimit überschritten.
  • Irgendwas zwischen Java und der Datenbank blockiert die Verbindung, z.B. eine Firewall oder Proxy.

Dies ist kein Fehler vom JTS3ServerMod, dies ist eine Fehlermeldung vom Java MySQL Treiber oder MySQL Server.
#1060
Quote from: Augusto22xb on July 20, 2016, 08:18:35 PM
Quotetelnet_whitelist = 149.56.200.120 158.69.163.140

IP of my machine and my web interface

Ok, after shaking my head for some minutes I'm able to answer again. Please excuse me, if the following sentences sounds a little bit unfriendly.

The string "158.69.163.140" is still not equal to "149.56.200.120 158.69.163.140"! So the JTS3ServerMod do everything correct while rejecting the IP address "158.69.163.140".

First: Why do you want to whitelist the ip 149.56.200.120? It is more useful to whitelist the ip 127.0.0.1 and 158.69.163.140, if you want to use telnet/putty from the local machine.
Second: Did you ever read the description of the telnet_whitelist setting? Please read it again to realize that a space character is not the correct delimiter for the telnet_whitelist setting!
#1061
Whats the "telnet_whitelist" entry in the file /root/bot/config/JTS3ServerMod_InstanceManager.cfg ?
#1062
Quote from: Augusto22xb on July 20, 2016, 06:17:17 PM
I need to put in "telnet_whitelist" the IP 158.69.163.140?

Yes
#1063
Quote from: Shiroka on July 19, 2016, 09:08:08 PM
Alleine schon der zweite Schritt scheiter schon .

Configure msmtp
Create a new configuration file at /etc/msmtprc with the following configuration information:

Nur schade das er das Verzeichnis msmtprc ist nach der Eingabe : apt-get install msmtp ca-certificates

nicht vorhanden ist ...

msmtprc ist kein Name von einem Verzeichnis, sondern der Name der Datei, die man erstellen soll.
#1064
Allgemeine Diskussionen / Re: Channel Creator
July 16, 2016, 08:06:24 AM
Es steht zwar auf meiner ToDo Liste, allerdings relativ weit unten. Es steht aber jedem frei, hierfür ein Plugin für den JTS3ServerMod zu schreiben.
#1065
Das wäre dann aber noch eine Option bei fast jeder Funktion mehr, da steigt doch ohne Web Interface jetzt schon kaum einer durch. :) Du kannst aber doch alle Channel auswählen, die ignoriert werden sollen.