One of our Cart32 websites started having a problem recently where it would work great all the way until the last page of the checkout process, where it would give the error “Bad file name or number Error Number = 52″.
Even worse, it charged the customers credit card each time, so a persistent customer could wind up with multiple charges which you would need to undo!
The Fix
Cart32′s support was not particularly helpful (both the Knowledge Base and their phone support), but fortunately the fix was not very hard. The error basically means that it had trouble opening some file.
In our case the name of the file that orders were saved in (Orders > Order Setting > Order Output File) had gotten goofed and was set to the url of the website. The fix was to change it back to “orders.txt“.
Did it work for you?
Please let me know if you found this helpful. If you have some other website issue, cart 32 related or not, I may be able to help.
Doing impossible things with JavaScript and AJAX is my specialty. My contact info is in the footer.