Flux rss
A voir également "is not allowed to connect to this mysql server" Antivirusoverride(is not) dword:0 Command is not valid in this state Content is not allowed in prolog Don't be sad is not a virus Emule port is not reachable vista Error 10057 in function send socket is not connected Fyi: your video card driver version is provided for your information, but it is not part of this analysis. but proper video card Javascript how to test "is not a function" Mixing * ports and non-* ports with a namevirtualhost address is not supported, proceeding with undefined results Msn erreur a is null or not an object Php warning: fread(): supplied argument is not a valid stream resource in Pseudo-terminal will not be allocated because stdin is not a terminal. Sata is not found ide The flash plugin is not installed. This video is not available in your country. Usbest service zero is not a valid win32 application. Virtualhost *:80 -- mixing * ports and non-* ports with a namevirtualhost address is not supported, proc Virtualhost *:80 -- mixing * ports and non-* ports with a namevirtualhost address is not supported, proceeding with undefined re Warning: imagesx(): supplied argument is not a valid image resource in Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "from:" header missing in Warning: mysql_fetch_array(): supplied argument is not a valid mysql result resource in Warning: mysql_fetch_assoc(): supplied argument is not a valid mysql result resource Warning: mysql_fetch_object(): supplied argument is not a valid mysql result resource Warning: mysql_fetch_row(): supplied argument is not a valid Warning: perl module soap::lite is not installed !Plus
Collection CommentCaMarche.net
Rechercher : dans
Par : Pertinence Date Nom d'utilisateur
Statut : Non résolu

Warning: reset(): Passed variable is not an a

Daragott, le dimanche 29 octobre 2006 à 19:31:23
Bonjour, je suis un petit nouveau sur ce forum et comme certains, un néophite dans le PHP.

Voici, j'ai un petit problême sur mon site web qui s'affiche comme ceci:

Warning: reset(): Passed variable is not an array or object in /home2/xxxxxx/public_html/catalog/admin/includes/classes/obj­ect_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home2/xxxxxxx/public_html/catalog/admin/includes/classes/ob­ject_info.php on line 18

En éditant ce fichier, voici ce que montre les lignes 15 à 23:

// class constructor
function objectInfo($object_array) {
reset($object_array);
while (list($key, $value) = each($object_array)) {
$this->$key = tep_db_prepare_input($value);
}
}
}
?>

J'ai installer quelques contributions sur ce site, qui en fait est une boutique virtuelle, mais , après vérification, je vois que je n'ai jamais touché a ce fichier, qui est d'ailleurs demeuré intact.

Voila , mon problême exposé, je vais quand même continuer à chercher sur ce forum ci, mais à date, je n'ai absolument pas trouver de début de solution.

Merci,,, Normand
Répondre à Daragott  Signaler ce message aux modérateurs Aller au dernier message

1


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
 kilian, le mardi 31 octobre 2006 à 00:42:30
Faut croire qu'un appel à objectInfo() fait passer une mauvaise valeur dans $object_array, une variable mal intialisée... La fonction en elle même est bien, c'est dans le script qui appele la fonction que ça ne va pas.

Et là avec ce bout de code uniquement on ne peut pas trop savoir...
..et le...le...enfin, non parce c'est...ya...quand...bah tu sais là le...
Répondre à kilian
[PHP/MYSQL]Warning: mysql_fetch_row(): suppli (Résolu) Bonjour, Voila je comprend pas pourquoi j'obtient cette avertissement: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\EasyPHP 2.0b1\www\op\ent2.php on line 19 J'ai vérifier sous... www.commentcamarche.net/forum/affich-7083806-php-mysql-warning-mysql-fetch-row-suppli
Problème de requete (Résolu) Bonjour, J'ai un problème de requête tout bête j'en suis sûr mais je ne trouve pas. J'obtiens Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource in /xxx/xxx/xxx.php on line 71 J'ai lu que... www.commentcamarche.net/forum/affich-3612955-probleme-de-requete
Récupérer élément BDD (Résolu) bonsoir Je teste en local avec une table dont le nom est "jeux_video.sql". Le problème est le suivant: il m'affiche "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\documents and... www.commentcamarche.net/forum/affich-2007463-recuperer-element-bdd
[Virus] Preliminary method of disinfection - English VersionIntroduction Version française ici. I reckon some English speakers may be present on our famous forum (CCM). I guess the French version of this method is not comprehensive for all, hence the idea to make an English one. In this wise, I dedicate these... www.commentcamarche.net/faq/sujet-3294-virus-preliminary-method-of-disinfection-english-version
Exécuter un script shellExécution d'un script Pour pouvoir exécuter un script ou un programme en ligne de commande il y a plusieurs possibilités : 1. Le chemin absolu 2. Le chemin relatif 3. Modifier la variable PATH Note: Le Sha-Bang Premièrement,... www.commentcamarche.net/faq/sujet-4627-executer-un-script-shell
Warning: mysql_fetch_array(): supplied argume (Résolu)Bonjour, j'ai ce message tres courant qui je n'arrive pas à retirer depuis un p'tit moment : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in il renvoi a la ligne du mysql_fetch_array voici la... www.commentcamarche.net/forum/affich-9269903-warning-mysql-fetch-array-supplied-argume
Warnign : Mysql_fetch_array (Résolu)Bonjour, Voila j'ai obtenu le message suivant que je n'arrive pas à me debarrasser a la suite de la creation d'une page web avec une requete sql : Voici le message : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL... www.commentcamarche.net/forum/affich-6350322-warnign-mysql-fetch-array
Erreur en PHP (Résolu)Bonjour, je réalise à partir d'un script ,un livre d'or en php. l'hors du lancement de la page voici les erreurs qui me sont affiché: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in... www.commentcamarche.net/forum/affich-4640751-erreur-en-php
Euro Truck SimulatorGenre:Simulation, Description:Euro Truck Simulator is a simulation of truck driving set in continental Europe. The player can drive across a realistic depiction of Europe, visiting its beautiful cities, picking up a variety of cargo and delivering... www.commentcamarche.net/guide-achat/euro-truck-simulator-1131889-fiche-technique
Apple pourrait dévoiler sa nouvelle gamme iPod le 9 septembre(Paris - Relax news) - Le 9 septembre prochain, à San Francisco et à Londres, Apple organisera une conférence de presse baptisée "Let's Rock". Pour les spécialistes de la marque, cette conférence de rentrée devrait notamment annoncer le lancement de... www.commentcamarche.net/actualites/apple-pourrait-devoiler-sa-nouvelle-gamme-ipod-le-9-septembre-5847286-actualite.php3
Construction et utilisation du serveur LDAP (OpenLDAP)Construction de la base de l'annuaire LDAP Pour commencer à saisir des informations dans notre annuaire, il s'agit de créer deux fichiers texte au format LDIF. Avant de saisir les informations concernants les utilisateurs, il faut dans un premier... www.commentcamarche.net/contents/ldap/ldapcons.php3