yoc

*
  • *
  • 18
warnings when opening index.php
« on: January 30, 2009, 06:42:57 PM »
I receive the following errors when opening the generator/index.php file from a browser:

Warning: fopen(d:\Customers\user1483232\www\generator/config.inc.php): failed to open stream: Permission denied in d:\Customers\user1483232\www\generator\pages\page-configinit.inc.php(2) : eval()'d code on line 17

Warning: fwrite(): supplied argument is not a valid stream resource in d:\Customers\user1483232\www\generator\pages\page-configinit.inc.php(2) : eval()'d code on line 18

Warning: fclose(): supplied argument is not a valid stream resource in d:\Customers\user1483232\www\generator\pages\page-configinit.inc.php(2) : eval()'d code on line 19

Warning: fopen(d:\Customers\user1483232\www\generator/config.inc.php): failed to open stream: Permission denied in d:\Customers\user1483232\www\generator\pages\page-config.inc.php(2) : eval()'d code on line 51

Warning: fwrite(): supplied argument is not a valid stream resource in d:\Customers\user1483232\www\generator\pages\page-config.inc.php(2) : eval()'d code on line 52

Warning: fclose(): supplied argument is not a valid stream resource in d:\Customers\user1483232\www\generator\pages\page-config.inc.php(2) : eval()'d code on line 53

This is a windows IIS server. I have set the permissions via my server control panel to allow full script/exicutables to run on the generator folder and all sub folders. Why am I still getting permission denied?
I have tried restarting the application pool and still no luck. Please advise.

TIA
Jay
Re: warnings when opening index.php
« Reply #1 on: January 30, 2009, 09:56:42 PM »
Hello,

Try to allow write access separately for config.inc.php file and data/ folder.

yoc

*
  • *
  • 18
Re: warnings when opening index.php
« Reply #2 on: January 31, 2009, 12:37:39 AM »
Tried that, have set permissions seperately for all 3 folders- in IIS cannot set individual file permissions, Files inherit the permission from the folder. 
Same error occurs.
Any other ideas?
Re: warnings when opening index.php
« Reply #3 on: February 02, 2009, 01:18:32 AM »
Make sure that write access is allowed for all usergroups, including IUSR_xxx.

yoc

*
  • *
  • 18
Re: warnings when opening index.php
« Reply #4 on: February 05, 2009, 01:10:18 AM »
That did it!

Thanks!

Jay