I got the same error after copying that code.
then i changed it a little:
1. parameters
missed a space between name="upk" and value in Regex expression for parsng upk field.
also added addresses field, shareopt is true, changed MAX_FILE_SIZE
so the parameters are now...