roses8 Posted October 2, 2006 Posted October 2, 2006 I've just come across this error tonight. I'm not sure how long it has been there because nobody who has access to our control panel has ever tried to edit a customer's info. Here is the error I get: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/d/u/r/durrell12/html/catalog/admin/includes/functions/database.php on line 100 Warning: reset(): Passed variable is not an array or object in /home/content/d/u/r/durrell12/html/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/content/d/u/r/durrell12/html/catalog/admin/includes/classes/object_info.php on line 18 I went into each file to see if I saw anything wrong but I don't. I'm not a php coder either, I can write html but thats about it. Here are the lines it calls up on the error: Line 100 - database.php (first error) return mysql_fetch_array($db.query, MYSQL_ASSOC); Line 17 - object_info.php (second error) reset ($object_array); Line 18 - object_info.php (third error) while (list($key, $value) = each($object_array)) { If anybody could help me at all I would greatly appreciate it. If you need more info, please ask.
roses8 Posted October 4, 2006 Author Posted October 4, 2006 Isn't there anybody who can help? Maybe just explain to me what these lines are doing. Maybe if I knew that I could deduct the problem and fix it. Thankss
Recommended Posts
Archived
This topic is now archived and is closed to further replies.