Page 1 of 1

permissions problem with my file manager

Posted: Wed Dec 21, 2005 10:37 pm
by steve
Hi All,

I seem to have a permissions problem with my file manager.

When I tried to create a new folder i got this:

Warning: mkdir(/home/virtual/site427/fst/var/www/html/uploads/test): Permission denied in /home/virtual/site427/fst/var/www/html/site_admin/files.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:132) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:132) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:132) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:132) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:132) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:132) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 176

Looks like I need to chmod something, but not sure what.

Any hints appreciated

Steve

p.s. I had to change the 'admin' directory to 'site_admin' to make it work on my hosting package.

Re: permissions problem with my file manager

Posted: Wed Dec 21, 2005 11:00 pm
by steve
ok, i've managed to sort the 'create a folder' thing out (I re-set the permissions on the uploads and tmp folders) but now when i try to upload a file I get:



Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 934 is not allowed to access /home/virtual/site427/fst/var/www/html/uploads/test2 owned by uid 48 in /home/virtual/site427/fst/var/www/html/site_admin/files.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:92) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:92) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:92) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:92) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:92) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site427/fst/var/www/html/site_admin/files.php:92) in /home/virtual/site427/fst/var/www/html/lib/classes/class.admintheme.inc.php on line 176

and:

'File could not be uploaded. Permissions problem?'

Help!  ???

Steve

Re: permissions problem with my file manager

Posted: Wed Dec 21, 2005 11:24 pm
by jah
SAFE MODE is enabled on your host. Try to search this forum for SAFE MODE. I've seen this discussed recently.

Jon