Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 12:45 am EST
Geeklog Forums
Check.php warning?
sam
Anonymous
Hello,
When I run check.php all tests are passed but at the bottom of the page I get this error.
My site seems to work fine.
Any ideas what unlink does and how would I fix error?
I use windows 2000, IIS
The problem is a security rights issue but not sure which files/folders this relates.
When I run check.php all tests are passed but at the bottom of the page I get this error.
Text Formatted Code
PHP Warning: unlink(d:/website/www/sam/data/test.txt) [function.unlink]: Permission denied in D:Aeonservwwwsampublic_htmladmininstallcheck.php on line 168 My site seems to work fine.
Any ideas what unlink does and how would I fix error?
I use windows 2000, IIS
The problem is a security rights issue but not sure which files/folders this relates.
8
5
Quote
sam
Anonymous
also this is line 168 from check.php
Text Formatted Code
unlink ($_CONF['path_data'] . 'test.txt');
4
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
"unlink" deletes a file. In this case, it deletes the files that the check script created in order to test if write permissions are okay.
The odd thing is that it must have successfully deleted the other test files and only seems to fail on the very last test. But then again it apparently did create the file successfully in the first place, so write permissions seem to be okay.
Check if the file in question (.../data/test.txt) still exists and remove it manually if it does. Since your write permissions seem to be okay otherwise, I'd say ignore this for now ...
bye, Dirk
The odd thing is that it must have successfully deleted the other test files and only seems to fail on the very last test. But then again it apparently did create the file successfully in the first place, so write permissions seem to be okay.
Check if the file in question (.../data/test.txt) still exists and remove it manually if it does. Since your write permissions seem to be okay otherwise, I'd say ignore this for now ...
bye, Dirk
7
7
Quote
All times are EST. The time is now 12:45 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content