[FX.php List] [OFF] MPDF geeking after a server config file rebuild

Leo R. Lundgren leo at finalresort.org
Wed Dec 4 14:34:07 MST 2013


Yeah, the mPDF source code is a real mess, that's for sure.

But in there is probably where/why you have a problem :)

I guess there are other ways to try isolating the matter (since you know what you changed when it stopped working). I'd dig into the code though.

Regards, Leo


4 dec 2013 kl. 22.31 skrev Bob Patin:

> Actually, I tried some of that; i traced the process until it gets to the pdf-gen page, where it calls the mPDF function; that’s where it was hanging up.
> 
> Now it no longer hangs up, but just doesn’t generate a PDF.
> 
> I was adding a domain last night to my web services, and also another IP address, and when I restarted to activate the IP, the server came back with no config. Got it back running, but now this function no longer works.
> 
> The error’s in the mPDF page, but since I didn’t write it (and it’s a big page), I wouldn’t begin to know what to modify in there—and wouldn’t want to try.
> 
> BP
> 
> On Dec 4, 2013, at 3:18 PM, Leo R. Lundgren <leo at finalresort.org> wrote:
> 
>> A more sane approach would probably be to figure out why $thing is not behaving the way you expect, and then act accordingly. Instead of just trying tweaks and buttons.
>> 
>> Try to isolate the matter by making sure you have full logging on (E_ALL | E_STRICT), and if nothing turns up (it's not uncommon in PHP), isolate the matter by simply going into the source code that runs during the request and either step it using xdebug or use dummy debugging (i.e. add an error_log() here, one there, etc, to narrow down the area of the problem). After not too many steps you should be able to tell at which point in the source code the problem happens.
>> 
>> Regards, Leo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20131204/246f7260/attachment.html


More information about the FX.php_List mailing list