|
|
| Author |
Message |
awoolever
Joined: 19 Mar 2004 Posts: 1
|
Posted: Fri Mar 19, 2004 2:54 pm Post subject: Install Issues on Win2003 IIS6 |
|
|
v3.15 r6 (12/18/03)
Windows 2003 Web IIS6
Php 4.3.3 MySQL 4.0.17-nt
When I go to install the Php version I get this error on L10HC_Admin.php:
Warning: unlink(L10HC_temp.php): Permission denied in D:\MidwayComm\stats\L10HC_LIB2.php on line 45
The fields are displayed and the fields for the location of L10HC_Admin and L10HC_Reporter are filled in, except that for the reporter it posts the same location as the admin field.
It creates the tables for the database and I can log into the interface and make changes and all, but when I add the tracking code to the pages I want to track it doesn't work.
Are there any issues with running this on IIS6?
Adam |
|
| Back to top |
|
 |
goto
Joined: 14 Apr 2004 Posts: 2
|
Posted: Wed Apr 14, 2004 12:04 pm Post subject: |
|
|
awoolever,
I am have the exact same issue on the same type of setup. Does anyone have any hints or did you find the issue? Thanks in advance.
Cheers,
goto |
|
| Back to top |
|
 |
goto
Joined: 14 Apr 2004 Posts: 2
|
Posted: Wed Apr 14, 2004 12:25 pm Post subject: |
|
|
the error is happening in L10HC_LIB2.php script on line 45 which is:
unlink("L10HC_temp.php");
apparently the file is getting denied deletion. I have check all my settings in IIS6 to allow read, write, execute, and deletion but still get the error.
Any help appreciated, I am stumped.
Cheers |
|
| Back to top |
|
 |
jajtiii
Joined: 11 Aug 2005 Posts: 1
|
Posted: Thu Aug 11, 2005 6:54 pm Post subject: |
|
|
I am surprised everyone doesn't get this error.
I have no idea the consequences yet (I literally just dumped the scripts on my box to check em out), but the coders never closed the file and used an fopen call that basically opens the file for writing (so, Windows is locking the file, like you want it to).
Insert this code :
fclose($fileH);
on the line before :
unlink("L10HC_temp.php");
That will definitely fix your error (the file will no longer be locked and the script will be allowed to delete it.)
I'll post back with further fixes if I discover consequences to this fix. |
|
| Back to top |
|
 |
|