bortamatch Posted May 4, 2007 Share Posted May 4, 2007 Ok, without saying to much I working on a shop for digital downloads. It's about music. What I would like to do is to make the uploading of new products as easy as it can be, so i tried to put in an upload field on the "New product" page. It seemed to work fine. Then I put in another upload field, for a "sneak peak" of the product, and then the trouble started. On the preview page I get the following error message: Warning: reset() [function.reset]: Passed variable is not an array or object in /Users/XXXXX/Sites/XXXXXXXXXX/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /Users/XXXXXX/Sites/XXXXX/admin/includes/classes/object_info.php on line 18 I'm using the Super_Download_Shop_v1.1, and followed these instructions (www.oscommerce.com/community/contributions,1158/) to add new fields, but i used the image upload field as a template instead of the one in the example. Any ideas why it works fine with one upload field but not two? Maybe I'm doing this in a much more complicated way than needed? If all the above sounds like jibberish, please excuse me, I really should get some sleep now... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.