My client has a simple shopping cart built in PHP and MySQL. It was built a few years ago with PHP4 so the code is a little old now. I think it was developed with Cake but I'm not quite sure.
It's been working fine until I moved the site to a new server running PHP 5. Now the order system fails to send a confirmation email to the customer.
The orders work OK and the payment gateway is still working but the script seems to be failing somewhere. The error log suggests a problem referring to an array but I don't know how to fix it.
If you've got experience with PHP and mailer scripts (and possibly the Cake framework), I don't think this will be too hard to nail...