PHP Error. Any ideas?
« on: September 11, 2006, 07:27:43 AM »
When the script tries to write the data to the working directory I get the following error:

Links depth: 1
Current page: forum.cfm
Pages added to sitemap: 5
Pages scanned: 5 (32.5 Kb)
Pages left: 0 (+ 15 queued for the next depth level)
Time passed: 0:03
Time left: 0:00
Memory usage: -
Completed
Total pages indexed: 5
Calculating changelog...
Warning: fopen(E:\Inetpub\WWWRoot\site\sitemaps/output): failed to open stream: Permission denied in E:\Inetpub\WWWRoot\site\sitemaps\pages\class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 137

Warning: fwrite(): supplied argument is not a valid stream resource in E:\Inetpub\WWWRoot\site\sitemaps\pages\class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 72

Warning: fwrite(): supplied argument is not a valid stream resource in E:\Inetpub\WWWRoot\site\sitemaps\pages\class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 179

Warning: fwrite(): supplied argument is not a valid stream resource in E:\Inetpub\WWWRoot\site\sitemaps\pages\class.xml-creator.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 179


I am running on Windows 2000 and IIS 5.
« Last Edit: September 15, 2006, 12:51:58 PM by steubing »
Re: PHP Error. Any ideas?
« Reply #1 on: September 11, 2006, 03:20:04 PM »
Never mind.  I solved the issue myself. 

I thought the field "Save sitemap to:" was asking for a directory.  When I changed the value to an htm file the issue went away.

Thanks,
James