Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I can't Upload any images or Info on the product


yos40

Recommended Posts

Posted

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! :blink:

Posted

bumping is against forum rules. You have a template that is not oscommerce original. You have hacked into their code. You will need to remove the hacks and put your template back to Template Monster's and if the problem is there after restoring then contact your template maker.

 

This forum is for oscommerce and not for Template Monster.

Archived

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

×
×
  • Create New...