Platform:
tikiwiki Version 1.9.4
RHFC 4 (2.6.17-1.2139_FC4smp #1 SMP)
PHP 5.0.4 (with php-xml-5.0.4-10.5)
UPDATE:
OK, it looks like the problem was due to strange characters (I had copied-and-pasted from another tikiwiki site).
So, if I create a new wiki page and try to create a PDF from that, I get further. This time, I get a pge full of the PDF codes! I've tried using both IE6 and Firefox 1.5.0.6.
I noticed another poster complaining about problems with Opera 9.
I don't think it's a browser issue.
======
Problem:
PDF Generation doesn't work. After clicking the "Create" button, the resulting page (tiki-export_pdf.php) is blank.
I added some debug statements to the code, and it appears that everything is fine up to this statement in function insert_html (source file: pdflib.php):
$this->flush($src);
In the line before:
$this->WalkParsedArray($htmlparser->content,$src,$dummy);
if I print out $src, I can see the contents fine. But the flush statement following doesn't seem to work. In fact, if you append an echo statement after that, it doesn't execute:
$this->flush($src);
echo "after flush\n"; <=== doesn't display
In the code for flush(), I added more echo statemnts.
function flush($src) {
echo "<h2>entering flush</h2>";$this->ezText($src,$this->tiki_textheight);
echo "<h2>leaving flush</h2>";}
I also added echo statements in ezText().
Interestingly, "entering flush" is printed followed by REPEATED calls to ezText. The "leaving flush" statement is NOT printed!!
This is very weird.
I know the PDF generation feature worked fine in version 1.7.1.
Any ideas what's going on? I can send the entire debug output if it will help.
Thanks,
paul
Closing bug as PDF generation is cancelled as of 2.x and only security fixes will be released for the 1.9 branch.
Check the PDF docs for more info.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |