Latest News: (loading..)

agongl2

Members
  • Content count

    1
  • Joined

  • Last visited

About agongl2

Profile Information

  • Real Name
    Lelievre
  1. Someone can help me ???? :huh: I use the contribution ultrapics and I would like to add a video of my product. So I install the contibution "upload_video". But it doesn't work. When I add the video on my product, it isn't upload and I have this message : Warning: reset(): Passed variable is not an array or object in c:\program files\easyphp1-8\www\catalog\admin\includes\classes\object_info.php on line 17 Warning: Variable passed to each() is not an array or object in c:\program files\easyphp1-8\www\catalog\admin\includes\classes\object_info.php on line 18 Concerning this file, my code is : <?php /* $Id: object_info.php,v 1.6 2003/06/20 16:23:08 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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); } } } ?> I 'm not sur that the pbl come from here. :blink: But if someone could help me the resolve this pbl, it will be fine. :thumbsup: :lol: