View Full Version : Weird error on product_info.php when item is in shopping cart.

05-03-2009, 07:06 PM
Hi, I'm getting this weird error on the product info page, does anyone know how to fix?

It says: Warning: sprintf() [function.sprintf]: Too few arguments in /var/www/html/product_info.php on line 201

05-04-2009, 07:21 AM
Have you checked over at the osCommerce site for a solution? Since it is a warning it should not keep the page from working.

05-06-2009, 09:33 AM
Did you find a fix for this. It appears to be an issue with displaying the date added on the product information pages.

The error looks like for some reason the required parameters are not being sent to the sprintf() function.

What is your site?

05-19-2009, 11:15 PM
The only fix I could basically find for that was removing that bit of code so I no longer show what date it was added. It was unnecessary to have it there anyway really.