PHP HELP
- Started
- Last post
- 6 Responses
- JoshClancy
Warning: copy(img_blog/thats_word.jpg): failed to open stream: Permission denied in /mnt/nfs/Derek/V3/blog/add2blog... on line 38
upload failed !
rien rempliWarning: fopen(blog.txt): failed to open stream: Permission denied in /mnt/nfs/Derek/V3/blog/add2blog... on line 83
Warning: fread(): supplied argument is not a valid stream resource in /mnt/nfs/Derek/V3/blog/add2blog... on line 85
Warning: fseek(): supplied argument is not a valid stream resource in /mnt/nfs/Derek/V3/blog/add2blog... on line 105
Warning: fwrite(): supplied argument is not a valid stream resource in /mnt/nfs/Derek/V3/blog/add2blog... on line 106
Warning: fclose(): supplied argument is not a valid stream resource in /mnt/nfs/Derek/V3/blog/add2blog... on line 113
I get these errors when trying to post using a php blog system that I did not setup. It did this when I changed the directory of the blog, can someone help me or tell me what I can do to fix it?
- randoman0
First off, you have permission issues...
via ssh or ftp, chmod 777 *
the dirs and files for your blog. Right now, http users doesnt have permission to the files it needs to exe and write.
- rabattski0
yep. permissions. 777 is kinda hardcore though. permits writing, reading and execution by everyone. would rather go for 755.
- randoman0
true, 755 is fine. 777 is more of a bad habbit I have. :\
- rabattski0
777 is making sure you have no permissions issues at all :)
- mirola0
but plenty or security issues
- rabattski0
lmao @ mirola. true.