chfields Posted August 10, 2003 Share Posted August 10, 2003 I get the following error when trying to add new products through admin Warning: Illegal offset type in /home/mrsfield/public_html/catalog/admin/includes/classes/upload.php on line 44 } elseif (isset($GLOBALS['HTTP_POST_FILES'][$this->file])) { Warning: Illegal offset type in /home/mrsfield/public_html/catalog/admin/includes/classes/upload.php on line 49 'size' => $HTTP_POST_FILES[$this->file]['size'], Warning: Illegal offset type in /home/mrsfield/public_html/catalog/admin/includes/classes/upload.php on line 60 if (!in_array(strtolower(substr($file['name'], strrpos($file['name'], '.')+1)), $this->extensions)) { Link to comment Share on other sites More sharing options...
alverman Posted August 10, 2003 Share Posted August 10, 2003 $HTTP_POST_FILES is a new global array of PHP4, it could be a problem of php version :?: . Link to comment Share on other sites More sharing options...
chfields Posted August 10, 2003 Author Share Posted August 10, 2003 I had installed image resizer for MS2 and got those errors. they told me it wasn't the contrib, but after I removed it, I longer got that error when adding products. Must be a problem with the contrib. I do thank you for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.