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

Topics - Septron

#1
Hallo,

ich knüpfe mich mal in diesem Thread mit an denn seit gestern funktioniert bei mir überhaupt nichts mehr.
Das Teil lief immer knackig bei mir.

Info JTS läuft auf dem TSServer das Webinterface auf einem Webserver.

Keine Änderungen
-an der FireWall
- an den Daten
- Java Version

2019-12-08 02:44:44 START_MANAGER JTS3ServerMod 6.5.5 Hosting Edition (27.01.2019) Instance Manager started...
2019-12-08 02:44:44 SYSTEM_INFO Operating System : Windows Server 2012 R2 (version: 6.3 / arch: amd64)
2019-12-08 02:44:44 SYSTEM_INFO Used Java Version: 1.8.0_231 (path: C:\Program Files\Java\jre1.8.0_231)
2019-12-08 02:44:44 SYSTEM_INFO Current directory: C:\JTS3ServerMod_HostingEdition
2019-12-08 02:44:44 LOCK_FILE
2019-12-08 02:44:44 LOCK_FILE ************************************************************************************************
2019-12-08 02:44:44 LOCK_FILE Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
2019-12-08 02:44:44 LOCK_FILE If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
2019-12-08 02:44:44 LOCK_FILE C:\JTS3ServerMod_HostingEdition\config\JTS3ServerMod_InstanceManager.cfg.lock
2019-12-08 02:44:44 LOCK_FILE ************************************************************************************************
2019-12-08 02:44:44 LOCK_FILE
2019-12-08 02:44:44 CONFIG Loading InstanceManager config file from: C:\JTS3ServerMod_HostingEdition\config\JTS3ServerMod_InstanceManager.cfg
2019-12-08 02:44:44 CONFIG Bot chat command !exec is disabled!
2019-12-08 02:44:44 CONFIG Multi IP Mode disabled!
2019-12-08 02:44:47 LOGGER_SQL_ERROR Critical: Cannot connect to MySQL server for logging!
2019-12-08 02:44:47 JTS3ServerMod 6.5.5 Hosting Edition (27.01.2019): EXCEPTION
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 2.360 milliseconds ago.  The last packet sent successfully to the server was 2.344 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:201)
at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(MysqlIO.java:4914)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1663)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1224)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2199)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2230)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2025)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:778)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at de.stefan1200.util.MySQLConnect.connect(Unknown Source)
at de.stefan1200.jts3servermod.t.a(Unknown Source)
at de.stefan1200.jts3servermod.t.<init>(Unknown Source)
at de.stefan1200.jts3servermod.f.c(Unknown Source)
at de.stefan1200.jts3servermod.f.<init>(Unknown Source)
at de.stefan1200.jts3servermod.JTS3ServerMod.main(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:186)
... 23 more
Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at com.mysql.jdbc.ExportControlled$X509TrustManagerWrapper.checkServerTrusted(ExportControlled.java:302)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(Unknown Source)
... 32 more
Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
at java.security.cert.CertPathValidator.validate(Unknown Source)
at com.mysql.jdbc.ExportControlled$X509TrustManagerWrapper.checkServerTrusted(ExportControlled.java:295)
... 33 more


Und da diese Meldungen nicht mein gebiet sind hab ich mir mal gedacht das ich auch mal was schreibe.

lg Septron
#2
Hallo zusammen,

ich verwende derzeit ein UID Profilfeld auf meiner Hauptseite das dort Mitglieder diese eintragen können sehen können es nur
die zuständigen Admins (natürlich nicht öffentlich für mitglieder) nun möchte ich aber von DB Profilfeld A den eintrag zu zur jts3servermod_servergroupprotection mit eintragen lassen und deren Table (DB B variante) und bin dort doch grad an meine grenzen gestoßen
natürlich weiss ich das ich DB B abfragen und kommunizieren lassen muss so schaut die Profilfeld eingabe und abfrage aus:

if (!defined("IN_FUSION")) { die("Access Denied"); }

if ($profile_method == "input") {

// Create the input field for registration and edit profile
echo "<tr>\n";
echo "<td class='tbl'>".$locale['uf_ts3register']."</td>\n";
echo "<td class='tbl'><input type='text' name='user_ts3register' value='".(isset($user_data['user_ts3register']) ? $user_data['user_ts3register'] : "")."' maxlength='250' class='textbox' placeholder='deiKAkJedikOhEpPN1/bdtYBrM4=' style='width:200px;' /></td>\n";
echo "</tr>\n";
} elseif ($profile_method == "display") {

// Create the display for the user profile
if ($user_data['user_ts3register']) {
echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".$locale['uf_ts3register']."</td>\n";
echo "<td align='right' class='tbl1'>".$locale['uf_ts3register001']."</td>\n";
} else {
echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".$locale['uf_ts3register']."</td>\n";
echo "<td align='right' class='tbl1'>".$locale['uf_ts3register002']."</td>\n";
}

// Insert and update
} elseif ($profile_method == "validate_insert"  || $profile_method == "validate_update") {
// Get input data
if (isset($_POST['user_ts3register']) && ($_POST['user_ts3register'] != "" || $this->_isNotRequired("user_ts3register"))) {
// Set update or insert user data
$this->_setDBValue("user_ts3register", stripinput($_POST['user_ts3register']));
} else {
$this->_setError("user_ts3register", $locale['uf_ts3register_error2']);
}
} else {
$this->_setError("user_ts3register", $locale['uf_ts3register_error'], true);
}


dies ist die eingabe und zugleich die afrage/darstellung der UID
".(isset($user_data['user_ts3register']) ? $user_data['user_ts3register'] : "")."

zu meiner verständlichen frage
$data['user_ts3register']

soll nun für die Table eingetragen werden für Datenbank B
welche ServergruppenID es sein soll weiss ich schon doch finde ich den wald vor lauten abfragen in der include/functions/servergroupprotection.php nicht das ich die fehlenden abfragen so wie eintragserstellungen nicht ich hoffe das man mir da weiter helfen kann.

Wofür dies gut sein soll kann ich kurz erklähren: Da einige meinen TS Server nutzen Spieler Freunde von Ihnen etc. will ich die die Support brauchen für ein Spezifisches CMS können sie bevor sie den Teamspeak betreten oder schon drauf waren auf meiner Hauptseite in Ihrem Profilfeld ihre UID eintragen so das sie einer Gruppe direkt zugeteilt werden.

Profil edit:


nicht eingetragen:


eingetragen:


lg Septron
#3
Hallo zusammen,

ich werde mir mal Design Technisch gedanken machen falls mir nicht schon jemand zuvor gekommen ist
derzeit habe ich nur kleine Roh anpassungen hinzugefügt ob es Akzeptable ist oder nicht liegt ja immer im Auge des Betrachters :)

derzeit liege ich bei 20 % (Privat leben geht ja nun mal vor ;) )

im Anhang könnt ihr den Screenshot sehen in etwa wie es Aussehen könnte ;)

lg Septron
#4
Hallo zusammen,

ich habe mir heute alles mal seperat eingerichtet Error Report eingeschaltet und musste feststellen das ein fehler in der
class/BBCode.php ist.

// [img]image_url_here[/img] code..
$text = preg_replace_callback("#\[img\]((http|ftp|https|ftps)://|)([^ \?&=\#\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#si", function ($result) use ($uid) { return '[img:'.$uid.']'.$result[1] . str_replace(' ', '%20', $result[3]) . '[/img:'.$uid.']'; } , $text);
$text = preg_replace_callback("#\[img\]((http|ftp|https|ftps)://|)([^\"]+)\[/img\]#si", function ($result) use ($uid) { return '[img:'.$uid.']'.$result[1] . str_replace(' ', '%20', $result[3]) . '[/img:'.$uid.']'; } , $text);


doch da ich mich in diese abfragen erst reinfuchsen muss sehe ich den kleinen fehler wohl noch nicht :D

lg Septron