Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No image called 'Array' in database


dbl07

Recommended Posts

Posted

When I insert a product without an image it inserts 'Array' into the database as the value for my image.

 

I have been trying to debug this for a whileand I can't understand why this happens. One thing I do know is that the value of $products_image_name is responsible (found in categories.php of the admin)

 

I hope someone can help.

 

Dbl07 8)

Shaken! ... not stirred!

Posted

Don't worry about it. When there isn't any images in the array PHP returns the word array. It won't show up in the store. If you don't want images or want an option of images you need to switch "Require images" to false in Admin.

Steve

-------------------------

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...