message d'erreur install d'un cms
Bonjour,
J’espère être au bon endroit pour mon post.
J'essaye d'installé un CMS pas vraiment connu.
a l’étape 2 j'ai ce message d'erreur
Citation:
Deprecated: Function eregi() is deprecated in /var/www/vhosts/**************.com/site4/install/db.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/***********.com/site4/install/db.php:98) in /var/www/vhosts/************.com/site4/install/install.php on line 108
Ensuite j'ai changé les 3 eregi par preg_match
voir exemple ci dessous
Code:
1 2 3 4 5 6 7 8
| }
if ($next == '') { // get the last insert query
$next = 'insert';
}
if ( (preg_match('create', $next)) || (eregi('insert', $next)) || (eregi('drop t', $next)) ) {
$next = '';
$sql_array[] = substr($restore_query, 0, $i);
$restore_query = ltrim(substr($restore_query, $i+1)); |
Maintenant j'ai le message suivant :
Citation:
Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /var/www/vhosts/**************.com/site4/install/db.php on line 98
Merci pour votre aide
jim8