Erreurs avec dernières versions PHP et MySQL

Vos idées et demandes pour la prochaine mise à jour du script sont les bienvenues ici - Your ideas and suggestions for the next update.

Modérateurs : boulmontjj, Pierre G., Malabar, Otomatic

Otomatic
Modérateur
Modérateur
Messages : 650
Inscription : Ven 11 Août 2006, 09:33
Localisation : Paris
Contact :

Erreurs avec dernières versions PHP et MySQL

Messagepar Otomatic » Ven 15 Juin 2012, 10:15

Bonjour,

Après la longueur du champ "ip" dans les tables (Apache 2.2.22, PHP 5.3.13, MySQL 5.5.24), je suis maintenant passé, toujours en local en Apache 2.4.2, PHP 5.4.3 et MySQL 5.5.25 et, au lancement d'@lex Guestbook, j'ai les avertissements suivants (Je ne mets que deux lignes :
Strict Standards: Resource ID#21 used as offset, casting to integer (21) in G:\www\aviatechno\livre_or\db\MySQL.php on line 181
Strict Standards: Resource ID#21 used as offset, casting to integer (21) in G:\www\aviatechno\livre_or\db\MySQL.php on line 182

Après quelques recherches, il faut, dans le fichier agb\db\MySQL.php remplacer :

Code : Tout sélectionner

   function sql_fetchrow($query_id = 0)
   {
      if(!$query_id)
      {
         $query_id = $this->query_result;
      }
      if($query_id)
      {
         $this->row[$query_id] = @mysql_fetch_array($query_id);
         return $this->row[$query_id];
      }
      else
      {
         return false;
      }
   }
par

Code : Tout sélectionner

   function sql_fetchrow($query_id = 0)
   {
      if(!$query_id)
      {
         $query_id = $this->query_result;
      }
      if($query_id)
      {
         $this->row[(int)$query_id] = @mysql_fetch_array($query_id);
         return $this->row[(int)$query_id];
      }
      else
      {
         return false;
      }
   }

Et voilou :siffle: À la prochaine :pausecaffé:
Ce n'est pas par ce que l'erreur se propage qu'elle devient vérité. Gandhi

ti-soleil
Messages : 1
Inscription : Dim 02 Déc 2012, 19:43

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar ti-soleil » Dim 02 Déc 2012, 21:18

Un grand MERCI.
C'est super efficace.
Bernard
www.ti-soleil.com

Fikx
Messages : 3
Inscription : Ven 20 Avr 2012, 18:17

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Fikx » Ven 14 Déc 2012, 11:19

Bonjour et un grand merci aussi !

Je suis passé récemment de PHP 5.2 à 5.4 (hébergement 1and1), et j'avais aussi ce type d'erreurs :

Code : Tout sélectionner

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#12 used as offset, casting to integer (12) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#18 used as offset, casting to integer (18) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#19 used as offset, casting to integer (19) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#19 used as offset, casting to integer (19) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#20 used as offset, casting to integer (20) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#20 used as offset, casting to integer (20) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#20 used as offset, casting to integer (20) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#20 used as offset, casting to integer (20) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#21 used as offset, casting to integer (21) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182

Strict Standards: Resource ID#22 used as offset, casting to integer (22) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 181

Strict Standards: Resource ID#22 used as offset, casting to integer (22) in /homepages/40/d402809216/htdocs/temoignages/db/MySQL.php on line 182


Votre code a réglé immédiatement le problème. Donc un grand merci à vous ! ;)

denistc
Messages : 6
Inscription : Jeu 31 Jan 2013, 17:20

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar denistc » Jeu 31 Jan 2013, 18:03

COOL
Cela fonctionne,
OUF
Merci
Denis
Denis

Otomatic
Modérateur
Modérateur
Messages : 650
Inscription : Ven 11 Août 2006, 09:33
Localisation : Paris
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Otomatic » Sam 13 Avr 2013, 16:55

Bonjour,

A priori, et à condition d'avoir appliqué les modifications déjà préconisées pour PHP 5.4.x, AlexGuestbook 5.0.4 ne pose pas de problèmes avec PHP 5.5.0 beta3
Ce n'est pas par ce que l'erreur se propage qu'elle devient vérité. Gandhi

Malabar
Admin
Admin
Messages : 4062
Inscription : Lun 07 Août 2006, 09:46
Localisation : Lorient
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Malabar » Sam 13 Avr 2013, 17:26

Merci du retour Oto ;-)
Le mâle à barre (Maxime)

pifou25
Messages : 4
Inscription : Mer 21 Sep 2011, 10:00

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar pifou25 » Mar 16 Avr 2013, 23:51

Formidable !
Le problème a presque été résolu.
Il reste encore un message d'erreur récalcitrant qui se présente sous la forme :

Strict Standards: Only variables should be passed by reference in /homepages/17/d149073442/htdocs/ballonsonde/agb/index.php on line 646

Livre d'or ici http://index.ballonsonde.com/agb

Malabar
Admin
Admin
Messages : 4062
Inscription : Lun 07 Août 2006, 09:46
Localisation : Lorient
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Malabar » Mer 17 Avr 2013, 20:03

Le sujet d'Oto pour ce problème est visible sur toutes les sections du forum car je l'ai épinglé il y a quelques semaines : viewtopic.php?f=6&t=2826
Le mâle à barre (Maxime)

natweb
Messages : 1
Inscription : Lun 24 Juin 2013, 09:11

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar natweb » Lun 24 Juin 2013, 09:16

Vous êtes des chefs ! :-) je me suis inscrit exprès pour vous dire ça ! ^^
J'avais 3 km d'erreur du genre énuméré plus haut et en modifiant la page Mysql comme expliqué pouf plus d'erreur :-) merci !

ps : j'utilise le livre sur plusieurs site et tous en sont contents ! copyright alex guestbook évidement en place :-)

Edit :
oups j'ai parlé trop vite ^^ quand j'essaie de changer la couleur de fond du livre j'ai l'erreur qui mpe dit que j'ai enlevé le copyright... alors que je change juste la couleur de fond ?

archibal3
Messages : 6
Inscription : Lun 05 Nov 2007, 02:56
Localisation : strasbourg
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar archibal3 » Mar 16 Juil 2013, 13:19

bonjour
je vient de migrer chez un autre hebergeur
et la version php n’étant pas la même j'ai fait la mise a jour en 5.04 et la modif sur le fichier MYsql.php

mais j'ai toujours des erreur ID#11 ID#17 ID#18 ID#19 ID#20 ID#21 ID#22

http://www.archibal3.com/livredor/

merci

Malabar
Admin
Admin
Messages : 4062
Inscription : Lun 07 Août 2006, 09:46
Localisation : Lorient
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Malabar » Mar 16 Juil 2013, 15:01

Bonjour,

Lisez la FAQ viewtopic.php?f=20&t=3033
Il existe en fait 2 sujets différents car 2 incompatibilités ont été détectées par notre ami Otomatic. Il donne la solution pour les deux types d'erreur.
Le mâle à barre (Maxime)

archibal3
Messages : 6
Inscription : Lun 05 Nov 2007, 02:56
Localisation : strasbourg
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar archibal3 » Mar 16 Juil 2013, 15:19

autant pour moi j'ai aussi modifié le fichier index.php

mais c'est pareil :/

Otomatic
Modérateur
Modérateur
Messages : 650
Inscription : Ven 11 Août 2006, 09:33
Localisation : Paris
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Otomatic » Mar 16 Juil 2013, 15:49

Bonjour,

Pour les erreurs :
Strict Standards: Resource ID#21 used as offset, casting to integer (21) in G:\www\aviatechno\livre_or\db\MySQL.php on line 181
Strict Standards: Resource ID#21 used as offset, casting to integer (21) in G:\www\aviatechno\livre_or\db\MySQL.php on line 182

la réponse est là : viewtopic.php?f=2&t=2822&p=15224#p14449
Et, il n'y a rien d'autre à modifier. Il faut, peut-être, vider le cache du navigateur ainsi que celui du site s'il en existe un.
Ce n'est pas par ce que l'erreur se propage qu'elle devient vérité. Gandhi

Jeffdulac
Messages : 12
Inscription : Jeu 19 Avr 2012, 21:46
Localisation : Saint Raphaël
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Jeffdulac » Jeu 02 Oct 2014, 23:47

Salut à tous,

Oui je sais je déterre un "peu", mais grâce à vous j'ai pu réparer mon livre d'or avec le code de Ôtomatic !
Merci !
Je viens aussi de passer en php 5.5.16 ;-)
Ce livre d'or vaut bien un tuto quant à sa mise jour :frime:

Otomatic
Modérateur
Modérateur
Messages : 650
Inscription : Ven 11 Août 2006, 09:33
Localisation : Paris
Contact :

Re: Erreurs avec dernières versions PHP et MySQL

Messagepar Otomatic » Ven 03 Oct 2014, 10:14

Bonjour,

Merci. En appliquant les modifications déjà décrites pour PHP 5.4 et 5.5, @lex Guestbook ne pose pas de problèmes avec PHP 5.6 :merci:
Ce n'est pas par ce que l'erreur se propage qu'elle devient vérité. Gandhi


Revenir vers « Suggestions d'amélioration du script »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 2 invités