[TYPO3-english] Extension webkitpdf, can't get it to work

Loek Hilgersom hilgersom at xs4all.nl
Mon Aug 3 11:50:44 CEST 2009


Hi Reinhard,

Thanks for answering. I'll try with some debug statements and maybe test on a 
different server some time the next few days.

Cheers,
Loek

Reinhard Führicht wrote:
> Hi,
> 
> in order to make sure that the script is executed properly, you can 
> debug the contents of $script in class.tx_webkitpdf_pi1.php right before 
> the exec() call.
> 
> Take this command and try to run it in a shell. There you will see if 
> the script call itself contains an error or the problem is elsewhere.
> 
> As I am the developer of this extension, I know that some people 
> successfully use it. I use it myself for some clients and it works like 
> a charm.
> 
> So I tend to say, that it might be a problem of misconfiguration of the 
> server.
> 
> The URL you posted looks valid.
> 
> Cheers,
> Reinhard
> 
> Loek Hilgersom schrieb:
>> Hi,
>>
>> I'm trying to get the extension webkitpdf to work. I've set it up 
>> according to the manual, checked that my server allows scripts to be 
>> executed by the php exec command and made the script wkhtmltopdf 
>> executable.
>>
>> Now if I call the page that contains the webkitpdf plugin like this:
>>
>> index.php?id=34&no_cache=1&tx_webkitpdf_pi1[urls][0]=
>> http://www.mydomain.com/pagetoconvert
>>
>> it does return a file with pdf-extension, but it contains the page 
>> containing the plugin (id 34 in this case) instead of the 
>> 'pagetoconvert', and it is not in pdf-format, but in html.
>>
>> I have experimented a bit with the few available typoscript config 
>> options but to no avail.
>>
>> Any idea what could be wrong?
>>
>> Thanks,
>> Loek


More information about the TYPO3-english mailing list