Bonjour,

J'ai un problème avec ma configuration, dès que la met une page blanche j'affiche est mon site deviens inaccessible :s

Voici le code que j'utilise :

//Initialisation de la base de données
$db_razor'web'] = new SQL;
if( !$db_razor'web']->connect(  $db_razor_config'web_host'], 
                $db_razor_config'web_username'], 
                $db_razor_config'web_password'], 
                $db_razor_config'web_database'], 
                $db_razor_config'web_encrypt'], false, true)
                   )
        header('Location: error.php?a=web_mysql_connect');

$db_razor'account'] = new SQL;
if( !$db_razor'account']->connect( $db_razor_config'account_host'], 
                    $db_razor_config'account_username'], 
                    $db_razor_config'account_password'], 
                    $db_razor_config'account_database'], 
                    $db_razor_config'account_encrypt'], false, true)
                  )
        header('Location: error.php?a=account_mysql_connect');
$db_razor'valithria_world'] = new SQL;
if( !$db_razor'valithria_world']->connect( $db_razor_config'valithria_world_host'], 
                        $db_razor_config'valithria_world_username'], 
                            $db_razor_config'valithria_world_password'], 
                        $db_razor_config'valithria_world_database'], 
                        $db_razor_config'valithria_world_encrypt'], false, true)
                    )
        header('Location: error.php?a=valithria_world_mysql_connect');
$db_razor'valithria_char'] = new SQL;
if( !$db_razor'valithria_char']->connect( $db_razor_config'valithria_char_host'], 
                       $db_razor_config'valithria_char_username'], 
                       $db_razor_config'valithria_char_password'], 
                       $db_razor_config'valithria_char_database'], 
                       $db_razor_config'valithria_char_encrypt'], false, true)
                                    )
        header('Location: error.php?a=valithria_char_mysql_connect');

Merci d'avance pour toute réponse.

Cordialement, TomyZ.

1 réponse


TomyZ
Auteur
Réponse acceptée

Problème réparé :p