Fatal error with ImageManager.php and CHMOD-error

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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Fatal error with ImageManager.php and CHMOD-error

Post 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
Last edited by Gregor on Fri May 26, 2006 3:00 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”