Cannot upload files

Please report bugs here!

Moderator: Thorsten

Post Reply
TheFray
Posts: 3
Joined: Sat Nov 20, 2010 2:05 am

Cannot upload files

Post by TheFray »

Hey.

I am using the version 2.6.11
Safe Mode: On
Open Basedir: off

When I upload a file I get the following error message in debug mode:


phpMyFAQ warning [2]: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10000 is not allowed to access /var/customers/webs/kamerauser/kb/attachments owned by uid 33 in /var/customers/webs/kamerauser/kb/inc/PMF_Attachment/File.php on line 80

phpMyFAQ warning [2]: fopen() [function.fopen]: Unable to access /var/customers/webs/kamerauser/kb/attachments/476a8/06c4b/638a9/df7ba144046f19794 in /var/customers/webs/kamerauser/kb/inc/PMF_Attachment/Filesystem/File.php on line 71

phpMyFAQ warning [2]: fopen(/var/customers/webs/kamerauser/kb/attachments/476a8/06c4b/638a9/df7ba144046f19794) [function.fopen]: failed to open stream: No such file or directory in /var/customers/webs/kamerauser/kb/inc/PMF_Attachment/Filesystem/File.php on line 71
Leider ist ein Fehler beim Hinzufügen des Attachments aufgetreten.


I just can't figure out what's wrong!? The folder is chomod-ed correctly.

Thanks in advance!!
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Cannot upload files

Post by Thorsten »

Hi,

the folder attachments/ needs write access by your webserver. Please disable safe mode if possible.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
TheFray
Posts: 3
Joined: Sat Nov 20, 2010 2:05 am

Re: Cannot upload files

Post by TheFray »

Thorsten wrote:Hi,

the folder attachments/ needs write access by your webserver. Please disable safe mode if possible.

bye
Thorsten
The attachments/ folder already is chomod-ed "777". Is there any other way than disable safe mode?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Cannot upload files

Post by Thorsten »

Hi,

you have to ask your webhoster.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
TheFray
Posts: 3
Joined: Sat Nov 20, 2010 2:05 am

Re: Cannot upload files

Post by TheFray »

What I meant is: Is there any other way to solve that problem other than disable safe mode?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Cannot upload files

Post by Thorsten »

Hi,

no. phpMyFAQ cannot change the PHP runtime.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply