|
Autor |
Nachricht |
ZFX
|
Titel: Cannot upload pic get Permission denied error
Verfasst am: Di, 25 Jul 2006, 06:40 |
|
|
I installed your mod and everything went well until I tried to upload a picture. When I goto post and click on the upload picture button the "upload' menu opens up. I select a jpg to upload and in 5 or 6 secs I get these errors:
Code: |
Warning: move_uploaded_file(./userpix/5c9354228d5c6ebf9e9cb0835b205d1a.jpg): failed to open stream: Permission denied in d:\webroot\clan5150\forum\uploadpic.php on line 124
Warning: move_uploaded_file(): Unable to move 'd:\PHP\uploadtemp\php13FC.tmp' to './userpix/5c9354228d5c6ebf9e9cb0835b205d1a.jpg' in d:\webroot\clan5150\forum\uploadpic.php on line 124
Warning: getimagesize(./userpix/5c9354228d5c6ebf9e9cb0835b205d1a.jpg): failed to open stream: No such file or directory in d:\webroot\clan5150\forum\uploadpic.php on line 127
Warning: Cannot modify header information - headers already sent by (output started at d:\webroot\clan5150\forum\uploadpic.php:124) in d:\webroot\clan5150\forum\includes\page_header.php on line 559
Warning: Cannot modify header information - headers already sent by (output started at d:\webroot\clan5150\forum\uploadpic.php:124) in d:\webroot\clan5150\forum\includes\page_header.php on line 561
Warning: Cannot modify header information - headers already sent by (output started at d:\webroot\clan5150\forum\uploadpic.php:124) in d:\webroot\clan5150\forum\includes\page_header.php on line 562 |
The only thing that I can think that it would be is my directory is not at 777. But when I goto change it via my ftp client (Flash FXP and I tried core ftp lite) I get this error from the webserver:
Code: |
[R] SITE CHMOD 777 /clan5150/forum/userpix
[R] 500 'SITE CHMOD 777 /clan5150/forum/userpix': command not understood |
When I look at the directoy for userpix, using core ftp, I see this as the permissions "drwxrwxrwx".
Any help would be appricated. Thank you.
|
|
Nach oben |
|
boris
Beiträge: 11154
|
Titel: Re: Cannot upload pic get Permission denied error
Verfasst am: Di, 25 Jul 2006, 21:15 |
|
|
ZFX @ Di, 25 Jul 2006, 07:40 gab folgendes von sich: |
move_uploaded_file(./userpix/5c9354228d5c6ebf9e9cb0835b205d1a.jpg): failed to open stream: Permission denied |
That's most likely a server-problem as the script is not allowed to READ ("failed to open stream") the uploaded file - you'll have to check your server- and/or PHP-config to fix it.
I can't help you with that as I'm not into servers, but I remember somebody having this problem and his provider could fix it.
ZFX gab folgendes von sich: |
When I look at the directoy for userpix, using core ftp, I see this as the permissions "drwxrwxrwx". |
That's because you're running a windows-server, "777"-permission is a unix-standard, read the FAQ, chapter II. 3. (that won't solve your problem but mentions "rwxrwxrwx").
____________ beehave - home of humbug ... [we can't afford to be neutral]
|
|
Nach oben |
|
ZFX
|
Titel: (Kein Titel)
Verfasst am: Mi, 26 Jul 2006, 01:29 |
|
|
Ya I had read the FAQ and that is why I was heading towards the permissions. I will check with my host to see if I can get it solved. Thank you for giving me some direction.
|
|
Nach oben |
|
|
|
ähnliche Beiträge |
|
Thema
| Autor
| Forum
| Antworten
| Verfasst am
|
|
Mailbenachrichtigung bei Bild-Upload |
boris |
mod support |
0 |
Do, 20 Aug 2009, 19:25 |
|
Upload Pic erweiterung |
parariedel |
mod support |
3 |
Mo, 12 Mai 2008, 19:49 |
|
Nach Update kein Upload mehr möglich !!?? |
Player-GTI |
mod support |
14 |
Di, 29 Jan 2008, 14:55 |
|
Upload Pic Problem mit User Rechte |
meme |
mod support |
2 |
Mo, 21 Jan 2008, 14:29 |
|
Upload Pic für phpBB3 |
miwie |
mod support |
2 |
Mo, 17 Dez 2007, 20:17 |
Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
|