The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 287 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 287 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 288 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 288 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 301 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 301 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 308 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 308 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined variable $change - Line: 345 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 345 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once




[Authentication]
#4
It's all so cool, but I don't understand, why server kicks me with DC "Bad Login", when auth in launcher is okay and all other Information is okay

This is checkserver.php
PHP Code:
<?php define('INCLUDE_CHECK',true); include ("connect.php"); $user = mysql_real_escape_string($_GET['user']); $serverid = mysql_real_escape_string($_GET['serverId']); $result = mysql_query("Select $db_columnUser From $db_table Where $db_columnUser='$user'") or die ("Запрос к базе завершился ошибкой."); if(mysql_num_rows($result) == 1){ echo "YES"; } else{ echo "NO"; } ?>

and this is setting.ini
PHP Code:
[Authentication] Server=http://tramway.in Address=/auth/checkserver.php?user=%USERNAME% ; &serverId=%SERVERID% Authenticate=1

in MySQL Charset is UTF-8

UPD:
Also It doesn't works if
PHP Code:
<?php define('INCLUDE_CHECK',true); include ("connect.php"); $user = mysql_real_escape_string($_GET['user']); $serverid = mysql_real_escape_string($_GET['serverId']); $result = mysql_query("Select $db_columnUser From $db_table Where $db_columnUser='$user'") or die ("Запрос к базе завершился ошибкой."); if(mysql_num_rows($result) == 1){ echo "YES"; } else{ echo "YES"; } ?>
Reply
Thanks given by:


Messages In This Thread
[Authentication] - by SashaSansay - 11-21-2012, 10:00 PM
RE: [Authentication] - by xoft - 11-21-2012, 10:59 PM
RE: [Authentication] - by SashaSansay - 11-21-2012, 11:05 PM
RE: [Authentication] - by SashaSansay - 11-22-2012, 06:49 AM
RE: [Authentication] - by FakeTruth - 11-22-2012, 11:09 AM
RE: [Authentication] - by SashaSansay - 11-22-2012, 05:06 PM
RE: [Authentication] - by FakeTruth - 11-22-2012, 10:44 PM
RE: [Authentication] - by SashaSansay - 11-22-2012, 11:14 PM
RE: [Authentication] - by FakeTruth - 11-23-2012, 01:39 AM
RE: [Authentication] - by SashaSansay - 11-23-2012, 02:02 AM
RE: [Authentication] - by FakeTruth - 11-23-2012, 02:07 AM
RE: [Authentication] - by SashaSansay - 11-23-2012, 02:57 AM
RE: [Authentication] - by xoft - 11-23-2012, 06:13 AM
RE: [Authentication] - by SashaSansay - 11-24-2012, 06:00 PM
RE: [Authentication] - by NiLSPACE - 01-18-2013, 05:25 AM
RE: [Authentication] - by Luksor - 01-18-2013, 08:49 PM
RE: [Authentication] - by xoft - 01-19-2013, 04:20 AM



Users browsing this thread: 1 Guest(s)