Postado Junho 12, 2019 5 anos .Qual servidor ou website você utiliza como base? Gesior-acc Qual o motivo deste tópico? Resolver erro de script Está surgindo algum erro? Se sim coloque-o aqui. Erro fatal : Erro não detectado: Parâmetros incorretos de erro ([string $ message [, long $ code [, Throwable $ previous = NULL]]]) em ? \ xampp \ htdocs \ system \ load.database.php: 14 Rastreio de pilha : # 0 ? \ xampp \ htdocs \ system \ load.database.php (14): Erro -> __ construct ('INFO', 'conf. De servidor ...') # 1 ? \ xampp \ htdocs \ index. php (26): include_once ('C: \\ xampp \\ htdocs ...') # 2 {main} lançado em ? \ xampp \ htdocs \ system \ load.database.php na linha 14 Citar Eai Galera beleza estou com esse erro no meu site Gesior , o script da load.database esta assim: <?php if (!defined('INITIALIZED')) { exit; } if (Website::getServerConfig()->isSetKey('mysqlHost')) { define('SERVERCONFIG_SQL_HOST', 'mysqlHost'); define('SERVERCONFIG_SQL_PORT', 'mysqlPort'); define('SERVERCONFIG_SQL_USER', 'mysqlHost'); define('SERVERCONFIG_SQL_PASS', 'mysqlHost'); define('SERVERCONFIG_SQL_DATABASE', 'mysqlHost'); define('SERVERCONFIG_SQLITE_FILE', 'C:\Users\Cadi\Desktop\Cloud Server/'); } else { new Error_Critic('#E-3', 'There is no key <b>mysqlHost</b> in server config', array(new Error('INFO', 'use server config cache: <b>' . (Website::getWebsiteConfig()->getValue('useServerConfigCache') ? 'true' : 'false') . '</b>'))); } Website::setDatabaseDriver(Database::DB_MYSQL); if (Website::getServerConfig()->isSetKey(SERVERCONFIG_SQL_HOST)) { Website::getDBHandle()->setDatabaseHost(Website::getServerConfig()->getValue(SERVERCONFIG_SQL_HOST)); } else { new Error_Critic('#E-7', 'There is no key <b>' . SERVERCONFIG_SQL_HOST . '</b> in server config file.'); } if (Website::getServerConfig()->isSetKey(SERVERCONFIG_SQL_PORT)) { Website::getDBHandle()->setDatabasePort(Website::getServerConfig()->getValue(SERVERCONFIG_SQL_PORT)); } else { new Error_Critic('#E-7', 'There is no key <b>' . SERVERCONFIG_SQL_PORT . '</b> in server config file.'); } if (Website::getServerConfig()->isSetKey(SERVERCONFIG_SQL_DATABASE)) { Website::getDBHandle()->setDatabaseName(Website::getServerConfig()->getValue(SERVERCONFIG_SQL_DATABASE)); } else { new Error_Critic('#E-7', 'There is no key <b>' . SERVERCONFIG_SQL_DATABASE . '</b> in server config file.'); } if (Website::getServerConfig()->isSetKey(SERVERCONFIG_SQL_USER)) { Website::getDBHandle()->setDatabaseUsername(Website::getServerConfig()->getValue(SERVERCONFIG_SQL_USER)); } else { new Error_Critic('#E-7', 'There is no key <b>' . SERVERCONFIG_SQL_USER . '</b> in server config file.'); } if (Website::getServerConfig()->isSetKey(SERVERCONFIG_SQL_PASS)) { Website::getDBHandle()->setDatabasePassword(Website::getServerConfig()->getValue(SERVERCONFIG_SQL_PASS)); } else { new Error_Critic('#E-7', 'There is no key <b>' . SERVERCONFIG_SQL_PASS . '</b> in server config file.'); } Website::updatePasswordEncryption(); $SQL = Website::getDBHandle(); $SQLPDO = $SQL; Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.