Click to See Complete Forum and Search --> : fopen warning


booya
05-24-2005, 07:59 PM
hi, i am installing a paypal ipn script and getting this error. I don't know how to fix it..I am on a IIS Server and i have set every permisson in this filepath that i am allowed by my host. Is this something I can fix (And how please)...Or does my host have to do something? If you need any more info from me please let me know....

Warning: fopen(C:/Accounts/trackrec/wwwRoot/portal/includes/config_inc.php): failed to open stream: Permission denied in C:\Accounts\trackrec\wwwRoot\portal\install.php on line 450

Warning: fputs(): supplied argument is not a valid stream resource in C:\Accounts\trackrec\wwwRoot\portal\install.php on line 451

Warning: fclose(): supplied argument is not a valid stream resource in C:\Accounts\trackrec\wwwRoot\portal\install.php on line 452

SpectreReturns
05-24-2005, 09:25 PM
Means your CHMOD is wrong. Try setting it to 666 or 777.

booya
05-24-2005, 09:58 PM
Hi, I can't set that, I am on a Windows IIS server. I have permissions I can set, and I have tried every single one in my hosts admin panel with no luck. Is this something they have to do, or is it me?

SpectreReturns
05-24-2005, 11:13 PM
You SHOULD be able to do it. However, sometimes fopen returns that when the file doesn't exist, so check for that too.

booya
05-26-2005, 08:17 AM
spectre, thanks for the responses. i figured it out. all i had to do was change one permission on the config file...thanks again.

Louigi Verona
08-09-2005, 08:28 AM
in php manual it says that when you are working on ISS servers PHP generates warnings. It's okay, just set the error reporting index lower.