Originally Posted by
limelites
Start by looking at object_info.php line 30. what's it referring to?
Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $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);
}
}
}
?>
No idea..
Originally Posted by
limelites
When did you notice this error and what were you changing or modifying just before it happened?
I haven't modified any files, the website has been untouched for a week or so. I added a 'test' product a couple weeks ago, deleted it today, and then tried to add another one but received the above errors. I noticed it today upon trying to add a product.
Originally Posted by
limelites
If you've changed some files just prior to this then revert back to the backup versions and see if you can solve it be reversing everything you've done just prior.
Nope.
Bookmarks