php.net |  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
Votes:2
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pear at laurent-laville dot org
New email:
PHP Version: OS:

 

 [2009-02-17 13:53 UTC] pear at laurent-laville dot org
Description:
------------
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 
http://cvs.php.net/viewvc.cgi/phd/themes/php/chmsource.php?annotate=1.4.2.5.2.11

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

For PEAR CHM theme, see file
http://cvs.php.net/viewvc.cgi/phd/themes/pear/pearchm.php?annotate=1.4.2.2.2.5

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) 

Patches

Pull Requests

History

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:
res\index.html
 [2009-02-19 08:53 UTC] cweiske@php.net
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 Oct 12 12:01:27 2024 UTC