Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contribution Additional Images PROBLEM


krtko

Recommended Posts

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]

Link to comment
Share on other sites

  • 4 months later...

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

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.
Note: Your post will require moderator approval before it will be visible.

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...