<html><head></head><body>Blank page means server error 500, probably a fatal php error. Activate the debug output in the vtiger config file and look into the Webserver log files, let us know the error. <br>
<br>
Could be anything mate, with errors might be possible to solve. <br><br><div class="gmail_quote">On March 15, 2016 7:07:44 AM GMT+08:00, Lennart van Ballegoij <lennart@egmmedia.nl> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hey guys,<br /><br /><br />I’ve got a problem and I was wondering if anyone has encountered a similar problem or anyone has a guess what’s causing my problem.<br /> <br /><br />I have a workflow created through the module: Workflow Designer that converts a Sales order to an Invoice, I also have a custom module with an Event handler that launches on a after save event of the Invoice module.<br /><br />When launching the workflow that converts the Sales order to an Invoice I get a blank page.<br /><br />If I check invoices, is do see that the invoice is created, but it has no items (products) assigned to it. <br /><br />I understand an Invoice is created in 2 steps:<br /><br />            -Step1 all fields get saved.<br /><br />            -Step2 All attached items get saved.<br /><br /><br />So it looks like my ‘vtiger.entity.aftersave’ event is being called on Step1 and for some reason stops the Invoice from being created.<br /><br />So after
realizing it’s probably because my Handler gets called in Step1 of the Invoice save, I build in a check in my Module Handler to see if the created invoice contains items (products) if not my script does nothing else.<br /><br /><br />But I still get the blank page even after creating this check in my EventHandler.<br /><br /><br />Do I maybe need to tell my EventHandler to continue; or something like that after it sees it has no items assigned to the invoice?<br /><br /><br />Hopefully someone can give me a push in the right direction.<br /><br />Thanks in Advance!<br /> <br /><br />Kind Regards,<br /> <br /><br />Lennart</div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br /><a href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>