• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

php and uploads

isfcom

New Pleskian
Hello
I use windows 2003 Webedition with Plesk 7.5
I have some scripts and an phpbb Board but the uploads of avaters didnt function. I have set in the Plesk Menue the Directorys to wirighting rights but there are already Problems. Here the error Code:
Warning: copy(./images/avatars/2841448087e5de6cf.jpg): failed to open stream: Permission denied in C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\usercp_avatar.php on line 288

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\usercp_avatar.php:288) in C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\page_header.php on line 486

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\usercp_avatar.php:288) in C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\page_header.php on line 488

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\usercp_avatar.php:288) in C:\Inetpub\vhosts\default2.de\httpdocs\default2\sub\includes\page_header.php on line 489

I have found out that these Problems can be caused by a wrong configured Windos temp directory. But i thought plesk will configure alle these things. I have testest some directory values but the error comes again and agin.

I hope someone can help.
Sorry for bad English.

Thanks
 
Hi, isfcom

It says, that the permission is denied for the
./images/avatars/

you should add "modify" permissions for the internet anonymous user through plesk -> file manager -> <your-dir> -> "lock" on the right of the folder name.

Hope, this helps
 
Thanks.

It Functions but only with the phpbb Board. The normal uploadscript that i have used bevor on linux didn`t fuction. I can programm it like phpbb but i want to know if there is any specialbilety in this conifgurations...
 
Back
Top