am instalat Zen Cart vs. 1.3.8 cu PHP 5.2.6 si MySQL 4.1.22
toate bune si frumoase
intru în panoul Administrator - Categories / Products si vreau sa deschid un articol nou
când vreau sa-l pun/salvez pe net, se sterg toate datele trecute si îmi apare o eroare:
Cod: Selectaţi tot
Warning: reset() [function.reset]: Passed variable is not an array or object in .../admin/includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in .../admin/includes/classes/object_info.php on line 30
Cod: Selectaţi tot
// $Id: object_info.php 1969 2005-09-13 06:57:21Z drbyte $
//
class objectInfo {
// class constructor
function objectInfo($object_array) {
//this line should be added, but should be tested first:
if (!is_array($object_array)) return;
reset($object_array);
while (list($key, $value) = each($object_array)) {
$this->$key = zen_db_prepare_input($value);
}
}
}
?>
curios este ca local (pe comp. de acasa) functioneaza fara probleme ...
va multumesc anticipat