.Qual servidor ou website você utiliza como base?
Qual o motivo deste tópico?
n estou conseguindo por o site no ar alguem poderia me ajudar a resolver ? pfv
Está surgindo algum erro? Se sim coloque-o aqui.
Você tem o código disponível? Se tiver publique-o aqui:
linha 54 do config lua
{
foreach($this->config as $tmp_key => $tmp_value) // load values definied by other keys, like: dailyFragsToBlackSkull = dailyFragsToRedSkull
$value = str_replace($tmp_key, $tmp_value, $value);
$ret = @eval("return $value;");
if((string) $ret == '') // = parser error
{
new Error_Critic('', 'ERROR: <b>#C-1</b> : Class::ConfigLUA - Line <b>' . ($ln + 1) . '</b> of LUA config file is not valid [key: <b>' . $key . '</b>]');
}
$this->config[ $key ] = $ret;
}
linha 194 database
public function query($statement)
{
$this->queriesCount++;
// BETA TESTS - uncomment line below to print all queries on website before execution
//echo'<br />' . $statement . '<br />';
if($this->isConnected() || $this->connect())
{
$ret = parent::query($statement);
if($this->printQueries)
{
$_errorInfo = $this->errorInfo();
echo '<table>';
echo '<tr><td>Query: </td><td>' . $statement . '</td></tr>';
echo '<tr><td>SQLSTATE: </td><td>' . $_errorInfo[0] . '</td></tr>';
echo '<tr><td>Driver code: </td><td>' . $_errorInfo[1] . '</td></tr>';
echo '<tr><td>Error message: </td><td>' . $_errorInfo[2] . '</td></tr>';
echo '</table>';
}
return $ret;
}
else
new Error_Critic('', 'Website is not connected to database. Cannot execute query($statement)');
}
Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
consegui arrumar o error da linha 194 database era a versao do xampp agr so falta arrumar o error
Warning: foreach() argument must be of type array|object, null given in C:\xampp\htdocs\classes\configlua.php on line 54
alguem pode me da uma ajuda pfv