[eluser]JHackamack[/eluser]
There is also the possibility of this:
It could also be with the configurations files in the cart class:
Code:
var $product_id_rules = '\.a-z0-9_-'; // alpha-numeric, dashes, underscores, or periods
var $product_name_rules = '\.\:\-_ a-z0-9'; // alpha-numeric, dashes, underscores, colons or periods
in conjunction with this
if ( ! preg_match("/^[".$this->product_name_rules."]+$/i", $items['name']))
{
log_message('error', 'An invalid name was submitted as the product name: '.$items['name'].' The name can only contain alpha-numeric characters, dashes, underscores, colons, and spaces');
return FALSE;
}
It doesn't look like in your code you're checking for false returns, so it might be hitting against the preg_match and failing.