php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51917 CHM language files seem to have another structure than english file
Submitted: 2010-05-26 10:21 UTC Modified: 2015-08-16 04:22 UTC
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:2 of 3 (66.7%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: von_both at yahoo dot de Assigned: cmb (profile)
Status: No Feedback Package: Doc Build problem
PHP Version: Irrelevant OS: WIN 7 x64
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: von_both at yahoo dot de
New email:
PHP Version: OS:

 

 [2010-05-26 10:21 UTC] von_both at yahoo dot de
Description:
------------
I try to open the CHM PHP handbook (any language except english) file from a third party editor (Nusphere, PHPEd).

All other languages except English fail to browse through the content.

It reports:
Action    Failed to navigate to URL:
mk:@MSITStore:C:\Program%20Files%20(x86)\NuSphere\PhpED\help\php_manual_de.chm::/res/class.mysqli.html

As this seems to be a URL I tried to open it with the Internet Explorer 8. This call also fails.

BUT if I change the URL to:
mk:@MSITStore:C:\Program%20Files%20(x86)\NuSphere\PhpED\help\php_manual_de.chm::class.mysqli.html

it works. The difference: I left the /res/ away at the end

The call in IE using the Englisch CHM file works fine.
mk:@MSITStore:C:\Program%20Files%20(x86)\NuSphere\PhpED\help\php_manual_en.chm::/res/class.mysqli.html

I tried the same with the French and Spanish language and the behaviour is the same as in the German version (no /res/ folder).

Conclusion: There seems to be a difference in the CHM file structure. The English CHM version has another folder called /res/ which doesn't exist in the German, Spanish, French and maybe other languages

Test script:
---------------
Open a IE browser and enter URL that points to the English CHM file:

Example:
mk:@MSITStore:C:\Program%20Files%20(x86)\NuSphere\PhpED\help\php_manual_en.chm::/res/class.mysqli.html

Now re-write URL and point to other CHM language file:
mk:@MSITStore:C:\Program%20Files%20(x86)\NuSphere\PhpED\help\php_manual_de.chm::/res/class.mysqli.html

Change the URL to:
mk:@MSITStore:C:\Program%20Files%20(x86)\NuSphere\PhpED\help\php_manual_de.chm::/class.mysqli.html

No problem appears

Actual result:
--------------
It's not possible to navigate/browse through a CHM language file with a third party product except the English version.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-20 07:05 UTC] kalle@php.net
-Package: Documentation problem +Package: Doc Build problem
 [2015-08-04 20:15 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2015-08-04 20:15 UTC] cmb@php.net
Is that still an issue?
 [2015-08-16 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 01 20:01:29 2024 UTC