Incorrect Credit Card number

jursulak 24 Aug, 2007
Hi,

I am using ChronoForms (and an SSL cert) to receive donations for my organisation.

However, when the forms are filled in and I am reviewing the records, the credit card number always shows up incorrectly as 2147483647, no matter what number is typed in.

I am not sure why this is happening and need some help!

Thanks,
Jayson
Max_admin 24 Aug, 2007
Hi Jayson,

The same number "2147483647" all the time ? are you sure ? other fields data change but only this one ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 24 Aug, 2007
Hi jursulak,

Just Googled '2147483647' and it's the maximum integer that PHP can handle so I guess that you have an integer type set for this field in the database. Try changing the field type for this field - maybe make it a string and see if that works.

Later, no it can't be a database problem, it's a PHP issue not a MySQL one . . . are you validating the field??

Bob<br><br>Post edited by: GreyHead, at: 2007/08/24 12:21
Abhishka 21 Apr, 2009
Hi Jursulak!

While creating the Form Table, select the Number field as LONGDESC , as it would take more character and it wont show the error: 2147483647. It would sove the problem.

Regards
Abhi
This topic is locked and no more replies can be posted.