PDF Generation does NOT work!
- Status
- Closed
- Subject
- PDF Generation does NOT work!
- Version
- 1.9.x
- Category
- Error
- Usability
- Support request
- Feature
- Resolution status
- Won't Fix
- Submitted by
- psue
- Volunteered to solve
- psue
- Lastmod by
- Beestje
- Rating
- Description
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 displayIn 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
- Solution
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.- Importance
- 6
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 866
- Created
- Saturday 26 August, 2006 05:01:54 UTC
by Unknown - LastModif
- Thursday 23 April, 2009 14:02:38 UTC