· Dumping old computer blog posts here
· Problems publishing on Blogger.com?
· What is PR2, PR3, PR4, etc.?
· Site update
· Various useful images
· And so the site transfer goes on...
· Anyone else having problems with MTV Overdrive buf...
· Site overhaul
· Update on JVC GR-D30US camcorder
· Site of the Day
· Startup Applications List
· Welcome to the Hex Hub (Named Hexadecimal Color Codes for HTML)
More blogs on this site:
Computer Blog - thebroadroom.net: Warning: copy(yourfile): failed to open stream: Permission denied in yourPHPfile on line x
Disclaimer: all of the following is purely from personal experience. TheBroadroom.Net urges you to use your own instincts,
common sense, and willingness to take risks when applying any of the information below.
Warning: copy(yourfile): failed to open stream: Permission denied in yourPHPfile on line x
posted by TheBroadroom.Net,
Monday, May 28, 2007
at 10:54 AM (Pacific)
Friday, February 04, 2005
A possible solution to PHP Warning: copy(yourfile): failed to open stream: Permission denied in yourPHPfile on line x
I got this error and cracked my head over it for a while. The usual, googling around and getting hundreds of examples of people asking this same question and not getting much, if any, answer to it.
Someone finally came up with the idea that it had to do with permissions...XOOPS.
First I checked to see if the destination directory was writable. It was.
Then...(slaps self upside head)...I realized that the file I was trying to upload, was supposed to overwrite an existing file on the server. I had FTP'd that existing file up prior to that and I suppose that had made it un-writable-to.
I went and deleted the existing file on the server, rather than bother trying to change permissions on it. Of course this would depend on which file you're trying to overwrite...you may well prefer to change the permissions.
Once the file was gone, the upload was successful.