Hello Jan,
I'm new here so let me first thank you for all your great work.
And now into this problem. Since my site also went blank after I enabled you pdf plugin I started to look for reason. I hope that you don't mind for looking into code. I'm not too much into php(I prefer desktop languages for programing
![Smile :)](./images/smilies/icon_smile.gif)
) but I guess that I found root of problem.
After some investigation i found out that problem is in php function
preg_replace_callback. It seems that from version 5.2 php there are some restrictions regarding this function. (according to this link
http://www.allegro.cc/forums/print-thread/593073).
So like link say i used function
preg_last_error() after your call to
preg_replace_callback to find out is there really error and I get
PREG_BACKTRACK_LIMIT_ERROR! (this is traced inside
phocapdfcontent.php from plugin). For explanation look at
http://us2.php.net/manual/en/function.p ... -error.php. But since your orginal code never calls this error checking function then
$bodySite goes to empty and response is blank page without any explanation.
So I think that you need rewrite code that replace format=pdf for format=phocapdf (I tried simple call to
ereg_replace and it works after I change code but I guess that is not too good solution)
My server has PHP Version: 5.2.9 so it's seams indeed that problem is preg_replace_callback.
Hope that this help and that you will bring us correct solution very soon.
F@re