Page 1 of 1

Fatal error with ImageManager.php and CHMOD-error

Posted: Fri May 26, 2006 2:56 pm
by Gregor
Hello,

After opening the imagemanager (version 0.13) the following error appeared:


Imagamanager (Help)

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/filemanager/ImageManager/Classes/ImageManager.php on line 106



I also noticed that creating a directory via Content -> Filemanager the directory has as file attributes 700 When I try to open this directory the following error appears:

File Management (Help)

Current Directory: /images/Koop-1

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10184 is not allowed to access /home/httpd/vhosts/uisge-beatha.eu/httpdocs/uploads/images/Koop-1 owned by uid 48 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 245

Warning: opendir(/home/httpd/vhosts/uisge-beatha.eu/httpdocs/uploads/images/Koop-1): failed to open dir: Success in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 245

Warning: readdir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 246

Warning: closedir(): supplied argument is not a valid Directory resource in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 247

Warning: dir(): SAFE MODE Restriction in effect. The script whose uid is 10184 is not allowed to access /home/httpd/vhosts/uisge-beatha.eu/httpdocs/uploads/images/Koop-1 owned by uid 48 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 276

Warning: dir(/home/httpd/vhosts/uisge-beatha.eu/httpdocs/uploads/images/Koop-1): failed to open dir: Success in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 276

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/admin/files.php on line 278



If I change the file attributes CHMOD 777 than there is no error when opening the directory. It seems that the file manager gives the too few permissions to the created directory.

Any suggestions how to solve this?

Thanks,
Gregor