Thursday 09 December 2010 12:45:18 pm - 3 replies
Hi! i'm using the tcpdf extension on a 4.2 ezPublish installation... i am able to create the pdf content, but after creating it, on the next html-page served the html code is mixed with pdf code.. so the browser crashes. It doesn't happens every time, and when it happens it is only the next page served, then it works again.
Could it be some cache problems? Maybe the pdf code is cached and then mixed with html code...on this mixed code, i can see the pdf headers on the last lines of the html page (and just before the pdf code itseld)
HTTP/1.1 200 OK Date: Thu, 09 Dec 2010 11:38:22 GMT Server: Apache/2.2.12 (Ubuntu) X-Powered-By: eZ Publish Expires: Mon, 26 Jul 1997 05:00:00 GMT Cache-Control: no-cache, must-revalidate Pragma: no-cache Last-Modified: Thu, 09 Dec 2010 11:38:22 GMT Served-by: localhost Content-language: cat-ES Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 6577 Keep-Alive: timeout=15, max=96 Connection: Keep-Alive Content-Type: text/html; charset=utf-8
i'm really stuck in this problem..
Modified on Thursday 09 December 2010 12:48:06 pm by Sergi A
Thursday 09 December 2010 1:24:58 pm
I noticed that, when the wrong html page is served, the $module_result.uri is that of the pdf view page, not the one being served... i don't understand it..
every ez url is changed by this one:
Modified on Thursday 09 December 2010 3:40:18 pm by Sergi A
You must be logged in to post messages in this topic!