php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #30715 Permission Denied mk protocol with chm documents
Submitted: 2004-11-08 05:50 UTC Modified: 2004-11-17 20:43 UTC
From: john_taylor2 at optusnet dot com dot au Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.2 OS: MS Windows XP SP2
Private report: No CVE-ID: None
 [2004-11-08 05:50 UTC] john_taylor2 at optusnet dot com dot au
Description:
------------
I tried to use the php_manual_chm_12.zip file on my Windows XP SP2 machine.  I unzipped then when clicking on Language Reference under Contents I get:
Internet Explorer Script Error
An error has occurred in the script on this page.
Line: 6
Char: 19
Error: Permission denied
Code: 0
URL: mk:@MSITStore:C:\php_manual_chm_12\php_manual_notes.chm::/langref.html
Do you want to continue running scripts on this page
Yes No

NB This works fine for say Getting Started.

Things I noticed/references when trying to fix the problem
http://www.mcpmag.com/columns/print.asp?EditorialsID=716
"...Older help files (IE 3.0) use a protocol called mk:@MSITStore. This protocol hasn?t been given the same kind of exhaustive security scrutiny as MS-ITS and is blocked by default in XP SP2...."

I also note the following registry key exists:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOL

Am I doing something silly or is "mk" an old protocol vs ms-its and Microsoft is making things difficult under MS XP SP2?!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-08 06:27 UTC] john_taylor2 at optusnet dot com dot au
E-mail should be john_taylor2@optusnet.com.au
 [2004-11-08 15:53 UTC] nlopess@php.net
I couldn't reproduce.

The problem should be in your internet explorer configurations. You may have disabled the javascript or something like that.

(check the control panel)

Nuno
 [2004-11-08 16:33 UTC] vrana@php.net
Just for reference: There is following code on the position with error: "if(parent.nbuff) {parent.displayNotes()}". There are no user notes in Getting Started.
 [2004-11-09 05:23 UTC] john_taylor2 at optusnet dot com dot au
Javascript is working in Internet Explorer 6.
Problem only for extended chm not standard chm.
NB The problem is for "Language Reference", it has user notes!
Getting Started works, I don't have a problem with Getting Started!

The article (below) from Microsoft talks about the problem (its only on XP SP2) it's deliberately blocked for security reasons, "mk" is an old protocol, they don't think it's used much. Maybe the help compiler is old!? The new one presumably uses the newer protocol "ms-its".

http://www.microsoft.com/technet/security/prodtech/winclnt/secwinxp/xpsgapa.mspx. See section on "Security Features\MK Protocol Security Restriction"

Thanks
 [2004-11-09 15:38 UTC] nlopess@php.net
Ok, I'll open this.

I'll commit a (possible) fix. Then lets wait if techtonik can build a new xchm and post a link here for you to test.

Nuno
 [2004-11-13 15:51 UTC] nlopess@php.net
Can you please test this file:
http://testes.aborla.net/chm.zip

Thanks,
Nuno
 [2004-11-17 20:43 UTC] nlopess@php.net
closing...
I'll lease the ms-its protocol, as it is well supported by newer IE.

For further reference: http://news.php.net/php.doc/969365105

Nuno
 [2020-02-07 07:30 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/base.git;a=commit;h=94fdddd1f7b545e48cfad88b4a9b84d4d35cc48b
Log: possibly fix bug #30715: Win XP SP2 blocks the mk protocol by default, causing notes not being displayed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 05:01:29 2024 UTC