Nem tudom használni SQL_DB mert : Unknown database 'SQL_DB'Nem tudom használni SQL_DB mert : Unknown database 'SQL_DB'Nem tudom használni SQL_DB mert : Unknown database 'SQL_DB'
 1.)  RunHotfix # 138 # index.php in /var/www/webaruhaz.kulcs-soft.hu/index.php

Log::$id = $_SESSION['db'];
$webshop = new Webshop();

$webshop->RunHotfix();
if (!function_exists('str_contains')) {
function str_contains($haystack, $needle) {
return $needle !== '' && mb_strpos($haystack, $needle) !== false;

132:133:134:135:136:137:138:139:140:
 2.)  Connection # 323 # webshop.class.php in /var/www/webaruhaz.kulcs-soft.hu/szinkron/lib/webshop.class.php

if($_SERVER['SERVER_NAME']=='_') {
$connectionType = connection;
}
$pdo = ConnectionManager::Connection($connectionType);
if($runhotfixLog) Log::Add('Runhotfix -- Start');
//$pdo->beginTransaction();
try

317:318:319:320:321:322:323:324:325:
 3.)  GetPDO # 14 # connectionmanager.class.php in /var/www/webaruhaz.kulcs-soft.hu/szinkron/lib/connectionmanager.class.php


public static function Connection($connectionname)
{
return self::$connections[$connectionname]->GetPDO();
}
}


8:9:10:11:12:13:14:15:16:
 4.)  mydie # 54 # connectionmanager.class.php in /var/www/webaruhaz.kulcs-soft.hu/szinkron/lib/connectionmanager.class.php


$message = $e->getMessage();
error_log($message);
mydie ("PDOEXCEPTIONN",$message);
}
}
}

48:49:50:51:52:53:54:55:56:

array (
  0 => 'PDOEXCEPTIONN',
  1 => 'SQLSTATE[HY000] [1049] Unknown database \'webshop_SQL_DB\'',
)
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/updateDb.php on line 10
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/framework/sql/sql.php on line 10
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/libs/libconfig.php on line 21
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/libs/settingshandler.class.php on line 12
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant normal_webshop_on - assumed 'normal_webshop_on' in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 53
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/framework/sql/sql.php on line 10
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 60
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant DefaultLanguage - assumed 'DefaultLanguage' in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 83
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/libs/libconfig.php on line 21
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 86
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/libs/libconfig.php on line 21
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/libs/libconfig.php on line 21
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/libs/libconfig.php on line 21
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/framework/sql/sqlClass.php on line 54
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/framework/sql/sql.php on line 10
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 97
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 119
[07-Jul-2022 17:45:46 Europe/Berlin] PHP Notice: Use of undefined constant SQL_DB - assumed 'SQL_DB' in /var/www/webaruhaz.kulcs-soft.hu/index.php on line 126
[07-Jul-2022 17:45:46 Europe/Berlin] SQLSTATE[HY000] [1049] Unknown database 'webshop_SQL_DB'
[07-Jul-2022 17:45:46 Europe/Berlin] Mydie called...
[07-Jul-2022 17:45:46 Europe/Berlin] MYDIE called
[07-Jul-2022 17:45:46 Europe/Berlin] array (
[07-Jul-2022 17:45:46 Europe/Berlin] 0 => 'PDOEXCEPTIONN',
[07-Jul-2022 17:45:46 Europe/Berlin] 1 => 'SQLSTATE[HY000] [1049] Unknown database \'webshop_SQL_DB\'',
[07-Jul-2022 17:45:46 Europe/Berlin] )