|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47423 CHM theme with partial rendering
Submitted: 2009-02-17 13:53 UTC Modified: 2009-02-19 08:53 UTC
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: pear at laurent-laville dot org Assigned:
Status: Verified Package: Doc Build problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-02-17 13:53 UTC] pear at laurent-laville dot org
If you generate a partial render of PHP or PEAR Manual with the CHM theme, you'll have a CHM file that could not display the first page.

Reason came from hard-coded default topic in hhp stream.

For PHP CHM theme, see file

line 258
Default topic=res' . DIRECTORY_SEPARATOR . 'index.html

For PEAR CHM theme, see file

line 269
Default topic=res\index.html

In both files, we used an "index.html" page that is not generated on partial rendering with -p | -partial switch

Reproduce code:
phd -f xhtml -p package.html.html-css -o build/tmp -d .manual.xml

Expected result:
package.html.html-css.html (main page) when I open the pear_manual_en.chm file

Actual result:
This program could not display the web page 

Or something equivalent (I don't really know what is displayed in english, because I've a french version) 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-17 13:57 UTC] pear at laurent-laville dot org
Forget to give additionnal information:

I use PhD 0.4.4 and Microsoft HTML Help Compiler 4.74.8702

Error returns by hhc.exe is
HHC5003: Error: Compilation failed while compiling res\index.html.

The following files were not compiled:
 [2009-02-19 08:53 UTC]
We could create a fake index.html redirecting to the right page.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 19:01:30 2024 UTC