• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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