Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"Upload and discplay video extract" & "ultrapics"


agongl2

Recommended Posts

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:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...