Closed Csardelacal closed 8 years ago
This was due to an issue with the file locking mechanism. We're using the LOCK_NB flag which should have a second parameter $ewouldblock.
The ewouldblock parameter is not very precisely defined in the PHP documentation and seems to be pretty weird. I removed it and the code works fine, but the doc says that it is required.
The system seems to send out several emails when an auction ends. I've tracked a user who posted 4 auctions and received 6 emails - with their 6 client counterparts.
This is probably due to the file-locking mechanism and it needs to be looked into.