Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please sombody Help ME!


yos40

Recommended Posts

I have a monster template installed as my store

I have two contributions installed one is ULTRAPIC The other one Is fedex-Fright

On the product page everthing looks regular but after i upload the products on the online catalog all you see is a square and red X in it as a picture was supposed to be thereand when i check on the missing product all i see is an Error

 

Warning: reset(): Passed variable is not an array or object in /home/content/y/o/s/yos40/html/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /home/content/y/o/s/yos40/html/admin/includes/classes/object_info.php on line 18

 

 

and that is the code on my object_info.php

 

<?php

/*

$Id: object_info.php,v 1.6 2003/06/20 16:23:08 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

class objectInfo {

 

// class constructor

function objectInfo($object_array) {

reset($object_array);

while (list($key, $value) = each($object_array)) {

$this->$key = tep_db_prepare_input($value);

}

}

}

?>

 

 

Can sombody please help i sarched the frums and turnd the cods upsid down and i can't find the problem!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...