Forum Moderators: coopster
Warning: copy(/uploadedimages/744069.gif): failed to open stream: No such file or directory in C:\Inetpub\vhosts\example.com\httpdocs\upload_image.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\example.com\httpdocs\upload_image.php:53) in C:\Inetpub\vhosts\example.com\httpdocs\upload_image.php on line 91
and also this error on the other page.
logo.gif, size: 4819 [ Ok ]
Warning: copy(/uploadedimages/825810.gif): failed to open stream: No such file or directory in C:\Inetpub\vhosts\example.com\httpdocs\doupload.php on line 55
[edited by: jatar_k at 4:32 pm (utc) on Sep. 16, 2006]
[edit reason] examplified [/edit]
The clue is kind of in the error message. Its saying that the file it is trying to open does not exist. Have you checked to make sure the path is correct?
The header error will probably be related to the copy error as no data can be sent to the browser before this function is called. Hence that error appears.
dc
What this could really mean is that your provided dir URL is not followed, on a local machine you may try using the long URL starting by C: etc... and instead of backslashes use slashes
Further on a local machine for ex: you have a test site named:
test a dir named: main and within main a dir named: img
So you could think that your pic should be directed as follow:
/main/img/my_pic.jpg
But it won't work for it should read
/test/main/img/my_pic.jpg
Good luck