Nuno,

I have investigated the problem further.

1. If I extract all the files to a directory and then run "php_manual_en.chm". I get the following error:
"Open File - Security Warning
Do you want to open this file?
Name: php_manual_en.chm
Publisher: Unknown Publisher
Type: Compiled HTML Help file
From c:\php_manual_chm_12
[Open] [Cancel]
[<checked>] Always ask before opening this file
 etc."

2. If I just click on the Open button all is well (except for message in point 1) regardless of whether the protocol is the mk:@MSITStore: or ms-its (as in the new test version)
3. However if I turn off the check box in point 1 (to get rid of the annoying error in point 1 when starting up) then when I use the application and click on links that have user comments in them I get the "Permission Denied" error.
4. The solution to the problem seems to be the following::
Right mouse click on the .zip file & select Properties from the context menu. Under the General tab at the bottom there is:
Security: This file came from another computer and might be blocked to help protect this computer. [Unblock]
Press the Unblock button. Then unzip and use application with no further problems.
NB Alternately one can also unclick the check box for the less obvious php_manual_notes.chm (as well as php_manual_en.chm) the same checkbox as in point 1. However doing it on the zip gets rid of it off all the files in one go!


5. Thanks for all your help I suppose it's still good to use ms-its rather than mk.
6. I now realize that WinXP SP2 adds an Alternate Data Stream to exe and zip etc files when downloaded from the Internet when you use Internet Explorer and ADS only exists under NTFS file system not FAT and normally can't be seen. Obviously under XP SP2 one can turn off this file heritage information which is used to increase the checking of executing externally acquired applications for some activities. So the problem only exists on XP SP2 using NTFS when using an externally acquired file and not unblocking it and also using a facility that XP thinks is a security risk.
7. In your test suite you didn't supply php_manual_prefs.exe so I used the old one and its OK for skin phpZ.


8. Should I include a brief solution to the problem on your bug system or will you? It's up to you to decide on the merit of ms-its. The bug could then be closed.

Thanks again - John Taylor

----- Original Message ----- From: "PHP Bug Database" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 14, 2004 1:51 AM
Subject: Bug #30715 [Opn->Fbk]: Permission Denied mk protocol with chm documents



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at
http://bugs.php.net/?id=30715&edit=2


ID: 30715 Updated by: [EMAIL PROTECTED] Reported By: john_taylor2 at optusnet dot com dot au -Status: Open +Status: Feedback Bug Type: Documentation problem Operating System: MS Windows XP SP2 PHP Version: 5.0.2 New Comment:

Can you please test this file:
http://testes.aborla.net/chm.zip

Thanks,
Nuno


Previous Comments: ------------------------------------------------------------------------

[2004-11-09 15:38:32] [EMAIL PROTECTED]

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-09 05:23:09] 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-08 16:33:05] [EMAIL PROTECTED]

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-08 15:53:25] [EMAIL PROTECTED]

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 06:27:56] john_taylor2 at optusnet dot com dot au

E-mail should be [EMAIL PROTECTED]

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
   http://bugs.php.net/30715



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 10/11/2004

Reply via email to