Sending Emails From Workflow Breaks Scheduler

Hello. I’m using scheduler to send a follow-up email to contacts using workflow. I have an Email Template with a picture src’d from our website (to keep the email size low). When there are too many emails to send, the scheduler locks up. After some digging I realized the message column on the job_queue table was being maxed out, which lead to the job locking up. The message is an error that repeats for each email sent “copy(picture that is src’d): failed to open stream: No such file or directory in ~/html/modules/AOS_PDF_Templates/templateParser.php on line 88”.

What does this mean??? There are no pdf’s in the email, and I don’t know what it keeps trying to find some file to open, as the image is a link from our website, not an uploaded file. Anyone got any ideas? We were able to stop the hanging jobs by changing the message column’s datatype to MEDIUMTEXT instead of TEXT but that is technically like treating the symptom and not the cause.

  1. Which SuiteCRM version is this?

  2. What do you have for display_errors in your php.ini? On or off?

  3. Does the link get sent correctly? The image appears ok?

  4. Is that really line 88? Not 108?