Hi
I just installed CMSMS and it looks fine untill now.
Emcountered following problem with Image Manager
I upload the images through ftp, then when accessing the Image Manager, this one is supposed to create the thumbnail files.
There is where I get the error : Fatal error: Call to a member function read() on a non-object in F:\WWW\Hoegaarden\lib\filemanager\ImageManager\Classes\ImageManager.php on line 217
I'm running on a W2k server with IIS5, php 5.05 and MySQL 4.1
CMS version is 0.10.3
I have a feeling this might have to do with the installation op PHP but not quiet sure about this
Anyone has a clue on how to solve this.
Tkx
Image Manager error
-
bLuE
Re: Image Manager error
Hi,
I got the same problem when trying to access to folders in my "uploads/images' directory.
After investigate, i found a way to solve this problem.
The code of the '/lib/filemanager/ImageManager/Classes/ImageManager.php' page must be corrected.
Go to line 214 to find this code : ' if(is_dir($path))'
Replace by this one : ' if(($path != "/") && (is_dir($path)))'
It just add a test too check the path name of the directory and avoid it if equal to '/'.
It's work for me, hope it will work for you.
bLuE
I got the same problem when trying to access to folders in my "uploads/images' directory.
After investigate, i found a way to solve this problem.
The code of the '/lib/filemanager/ImageManager/Classes/ImageManager.php' page must be corrected.
Go to line 214 to find this code : ' if(is_dir($path))'
Replace by this one : ' if(($path != "/") && (is_dir($path)))'
It just add a test too check the path name of the directory and avoid it if equal to '/'.
It's work for me, hope it will work for you.
bLuE
Re: Image Manager error
Hi bLeU
This indeed solved my problem.
Thanks for the tip!
Klendino
This indeed solved my problem.
Thanks for the tip!
Klendino
-
MaxPhantom
Re: Image Manager error
Hi,
I got the same problem:
Fatal error: Call to a member function on a non-object in /lib/filemanager/ImageManager/Classes/ImageManager.php on line 106
I am using the latest verion (11), and the named solution is corrected in the ImageManager.php.
The problem occured after creating a subdir.
Can anybody help me with this.
Max
I got the same problem:
Fatal error: Call to a member function on a non-object in /lib/filemanager/ImageManager/Classes/ImageManager.php on line 106
I am using the latest verion (11), and the named solution is corrected in the ImageManager.php.
The problem occured after creating a subdir.
Can anybody help me with this.
Max
-
MaxPhantom
Re: Image Manager error
The problem is solved. Thank you Melix.
Because my server is running in save mode, there is an owner conflict.
After changing the owner, with chown -R everything works fine.
Max
Because my server is running in save mode, there is an owner conflict.
After changing the owner, with chown -R everything works fine.
Max

