krtko Posted April 6, 2006 Share Posted April 6, 2006 i installed the "additional images contribution" found at http://www.oscommerce.com/community/contri...ditional+images and a problem accured after installation.. everything seemed to work good, but when trying to save the additional image the following error occures: Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /domains1/do033300/public/www_root/adminbs/categories.php on line 349 Warning: reset() [function.reset]: Passed variable is not an array or object in /domains1/do033300/public/www_root/adminbs/includes/functions/database.php on line 55 Warning: Variable passed to each() is not an array or object in /domains1/do033300/public/www_root/adminbs/includes/functions/database.php on line 58 Warning: reset() [function.reset]: Passed variable is not an array or object in /domains1/do033300/public/www_root/adminbs/includes/functions/database.php on line 62 Warning: Variable passed to each() is not an array or object in /domains1/do033300/public/www_root/adminbs/includes/functions/database.php on line 63 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') values)' at line 1 insert into additional_images) values) [TEP STOP] Quote Link to comment Share on other sites More sharing options...
daxman Posted August 15, 2006 Share Posted August 15, 2006 put this on line 349 of categories.php if(sizeof($add_data_array) > 0) so it looks like this: if(sizeof($add_data_array) > 0) $sql_data_array = array_merge($sql_data_array, $add_data_array); bibbity boo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.