CakePHP+Pheanstalk+Beanstalk+Supervisord

UI Lockups due to long running tasks Recently coded a CakePHP 3 application that would send about 30-60 emails when a user triggered the 'notify' action. When they did this it took probably 30 - 40 seconds for control to return to user. So I was looking at how to fix...

Perl Script to Parse PDF Invoice and Send Email

This script uses perl to run pdftotext to grab the text from a PDF Invoice. It parses and extracts document meta data and then uses that to construct a meaningful filename and attach and send the PDF to the correct recipient. You could automate this by placing a watch...

I have no idea what the problem is PHP CLI

Trying to do some PHP tutorials using vim and running php from the command line and I get.... nothing back. If it's a syntax error (e.g. a missing line ending ; ) then no reply at all. If the syntax is correct and it's something else then the error isn't displayed...

CakePHP POST Failing

I was just trying to submit about 10 x 15 records... and found that cakephp was failing with a validation error. Found out it was due to the following in the php error log. [09-Jun-2016 19:16:22 Australia/Melbourne] PHP Warning:  Unknown: Input variables exceeded...

About the Author

James is an IT Professional based in Melbourne, Australia. He blogs about Information Technology, Open Source software, home renovations, good reads and travel.

Login

Blog History