4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: rosie on September 08, 2006, 06:26:04 PM

Title: Warning Function copy failed to open......
Post by: rosie on September 08, 2006, 06:26:04 PM
Hi all.
I am getting this message when I try to Validate  images in my 4images 1.7.2

Warning: copy(./../data/media/8/cherokeeanddd.jpg) [function.copy]: failed to open stream: Permission denied in /home/onlyfarm/public_html/vote/admin/admin_functions.php on line 111

Warning: copy(./../data/thumbnails/8/.jpg) [function.copy]: failed to open stream: Permission denied in /home/onlyfarm/public_html/vote/admin/admin_functions.php on line 155
Error adding image: True Love (cherokeeanddd.jpg)

 I made sure there is a folder named 8 under the data/media and data/thumbnails   AND    have deleted them 3 times and made new ones.
I also have made sure the correct permissions are set. 
I tried to read the faq's and fix this myself but I am still getting the error.
Can someone please Help me?

Here is the url to my site where the vote script is.   http://www.onlyfarms.com/vote/   if someone would like to upload a photo so I can test again and fix this.
I am glad to pay for help here, I am very happy with this script, just limited in my knowledge of fixing problems. :lol:
Title: Re: Warning Function copy failed to open......
Post by: V@no on September 09, 2006, 01:52:37 AM
If your host turned on SAFE MODE, then thats the problem...refer FAQ for more info and possible work around it.
Title: Re: Warning Function copy failed to open......
Post by: rosie on September 11, 2006, 06:55:07 PM
Hi Thank you for taking the time to answer.  Safe Mode is not on.  Please -Can you help with anything else I need to check for?
Title: Re: Warning Function copy failed to open......
Post by: V@no on September 11, 2006, 11:04:04 PM
Then there are only two reasons could possibly cause this:
1) data/media/8/ does not exists
2) data/media/8/ is not writable (aka not CHMOD 777)

I know you insist that you've checked the permissions, but it wont hurt to double check ;)
Title: Re: Warning Function copy failed to open......
Post by: rosie on September 12, 2006, 12:07:22 AM
Quote
but it wont hurt to double check

OR Triple check.  I had checked more than once, but just now when I read your reply I checked again -and all of them except 4 folders were set to 755!
The weird thing is, just now when I clicked each folder and then clicked on 'change permissions' the permissions were already all ticked and showing 777 all I had to do was click to change them, it's never been like that before. It should have been showing 755 and then I could have changed it to 777........strange
I changed all of them back and maybe now it will work I'm sure it should.
I wonder if this had something to do with my server being down a few hours last week? I wonder how the permissions got changed and why they were correct when I clicked on it. Any ideas?
Oh by the way Thank you for your patience and your quick response here.
Title: Re: Warning Function copy failed to open......
Post by: V@no on September 12, 2006, 12:29:48 AM
another posibility is something wrong with your FTP client ;)

If I were you, I'd contact host administrator with this question, maybe they changed something or even they could check their logs to make sure the server wasnt hacked...who knows..