Delimiter problem

Posts: 28
Joined: 04/04/2008

When I checkout, I'm getting these messages:

warning: split() [function.split]: REG_EMPTY in xxxxxx/ubercart/contrib/uc_cim/uc_cim.module on line 444.

We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order.

A quick look at line 444 tells me that it does not compare the correct delimiter ('|') when the results are returned.

I changed the split to explode and it works. The split function delimits on regular expressions whereas explode delimits on plain strings. Suggest that you change the splits to explodes since you're not using a regular expression as a delimiter, and explode is faster.

--

Chisholm Technologies, Inc.
Custom software development since 1999!
www.chisholmtech.com

NEW Authorize.net Customer Information Manager By: xerbutter (82 replies) Wed, 11/21/2007 - 12:50