PDA

View Full Version : What do these errors mean, and how do I fix them



Gayowulf
April 1st, 2002, 15:31
Warning: fopen("config.php","w") - Permission denied in /home/sites/home/web/test/admin.php on line 38

Warning: Supplied argument is not a valid File-Handle resource in /home/sites/home/web/test/admin.php on line 39

Warning: Supplied argument is not a valid File-Handle resource in /home/sites/home/web/test/admin.php on line 40


What exactly do these errors mean?

thanks for any help

cheatpark
April 1st, 2002, 15:36
Permission denied might mean that the file permissions are not set properly. I'm not too sure about the other ones. What script is it you are using?

Dusty
April 1st, 2002, 16:24
The other two are a result of the file not being opened.

roly
April 1st, 2002, 16:50
CHMOD config.php 777

Gayowulf
April 1st, 2002, 22:54
Yeah, i figured that out about 5 seconds after I posted.

there is still a problem though- the file that is supposed to be opened and writen to, config.php, isnt being writen to properly.

this is hard to explain. If someone could pm me i will show you the source, and a working example so you would better be able to help me.

thanks