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
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
Maintenant j'ai le message suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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));
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
Partager