permissions problem with my file manager

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
steve
Forum Members
Forum Members
Posts: 70
Joined: Mon Apr 11, 2005 12:31 pm

permissions problem with my file manager

Post 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.
steve
Forum Members
Forum Members
Posts: 70
Joined: Mon Apr 11, 2005 12:31 pm

Re: permissions problem with my file manager

Post 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
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am

Re: permissions problem with my file manager

Post by jah »

SAFE MODE is enabled on your host. Try to search this forum for SAFE MODE. I've seen this discussed recently.

Jon
Post Reply

Return to “CMSMS Core”