Image Manager not working

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
shotb1
Forum Members
Forum Members
Posts: 11
Joined: Sun Oct 22, 2006 7:07 pm

Image Manager not working

Post by shotb1 »

When I go to load the Image Manager it is attemping to load then the admin panel appears where it is supposed to be.

Any Ideas please??

Thanks in advanca  :)
mwcannon

Re: Image Manager not working

Post by mwcannon »

I am stuck with the same problem. I have checked file permissions and they seem to be right. (I know, that's not the issue with the way this is loading but I was trying to be thorough.) The appropriate parts of the config.php file are:

#-------------
#Path Settings
#-------------

#Document root as seen from the webserver.  No slash at the end
#e.g. http://blah.com
$config['root_url'] = 'http://www.indygt.com';

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = 'D:\hshome\mwcannon\indygt.com';

#Name of the admin directory
$config['admin_dir'] = 'admin';

#Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] = 'D:\hshome\mwcannon\indygt.com\tmp\cache';

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'D:\hshome\mwcannon\indygt.com\uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://www.indygt.com/uploads';



and



#--------------
#Image Settings
#--------------

#Which program should be used for handling thumbnails in the image manager.
#See http://wiki.cmsmadesimple.org/index.php ... ge_Manager for more
#info on what this all means
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';

#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = 'D:\hshome\mwcannon\indygt.com\uploads';
$config['image_uploads_url'] = 'http://www.indygt.com/uploads';

I can upload files with the file manager with no problem so the probelm seems to be somewhere in the Image Manager settings. When I attempt to insert an image into a page using the image icon on the editor, I get the appropriate windows that would let me upload the image but when I go through the upload process, nothing appears in the directory.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Image Manager not working

Post by Elijah Lofgren »

Hmm... Strange. If you want you can PM or email me temp Admin Login info to your CMSMS Admin Panel and I can maybe take a look and try to see what's wrong tomorrow.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
jhommel

Re: Image Manager not working

Post by jhommel »

I have installed a test environment at home and the same problem.

Have someone a answer to this problem??

Thanks for help
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Image Manager not working

Post by Elijah Lofgren »

Which browser are you using? IE7?
Does it work using Firefox?

Thanks,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
3dcandy

Re: Image Manager not working

Post by 3dcandy »

PHP needs to be set up to use an image library like GD. Make sure it is enabled.
This is not always enabled by default, especially on Windows servers
jhommel

Re: Image Manager not working

Post by jhommel »

Thanks for your reply.

I test it with firefox and it`s the same.
File manager is still running.

Thanks for help.

Jörg

This are my environment: (german installation)
- W2k3 Server
- Apache 2.2
- PHP 5
- MySQL 5
- CMS 1.0.2

Config.php:
#-------------
#Path Settings
#-------------

#Document root as seen from the webserver.  No slash at the end
#e.g. http://blah.com
$config['root_url'] = 'http://localhost';

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = 'C:\\web\\Apache Software Foundation\\Apache2.2\\htdocs';

#Name of the admin directory
$config['admin_dir'] = 'admin';

#Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] = 'C:\web\Apache Software Foundation\Apache2.2\htdocs\tmp\cache';

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'C:\\web\\Apache Software Foundation\\Apache2.2\\htdocs\uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://localhost/uploads';


#--------------
#Image Settings
#--------------

#Which program should be used for handling thumbnails in the image manager.
#See http://wiki.cmsmadesimple.org/index.php ... ge_Manager for more
#info on what this all means
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';

#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = 'C:\web\Apache Software Foundation\Apache2.2\htdocs\uploads\images';
$config['image_uploads_url'] = 'http://localhost/uploads/images';

php.ini:

; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.

;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll

[gd]
; Tell the jpeg decode to libjpeg warnings and try to create
; a gd image. The warning will then be displayed as notices
; disabled by default
gd.jpeg_ignore_warning = 0

; Local Variables:
; tab-width: 4
; End:
[PHP_IMAP]
extension=php_imap.dll
[PHP_MYSQL]
extension=php_mysql.dll
[PHP_MYSQLI]
extension=php_mysqli.dll
[PHP_CPDF]
extension=php_cpdf.dll
[PHP_JAVA]
extension=php_java.dll
[PHP_PDF]
extension=php_pdf.dll
[PHP_POP3]
extension=php_pop3.dll
[PHP_PRINTER]
extension=php_printer.dll
[PHP_SMTP]
extension=php_smtp.dll
[PHP_GD2]
extension=php_gd2.dll
jhommel

Re: Image Manager not working

Post by jhommel »

I`m so happy :)

I have fond the problem in the php.ini in this section:
At the end of this section there is an temp - path like this:
;session.save_path="C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\php\upload"

I have change the path to this:
session.save_path="C:\web\Temp\php\upload"

The same with this path:
upload_tmp_dir="C:\web\Temp\php\session"

Thanks to all

Jörg

;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = Off

; Define the anonymous ftp password (your email address)
;from="john@doe.com"

; Define the User-Agent string
; user_agent="PHP"

; Default timeout for socket based streams (seconds)
default_socket_timeout = 60
upload_tmp_dir="C:\web\Temp\php\session"
;session.save_path="C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\php\upload"
session.save_path="C:\web\Temp\php\upload"
Post Reply

Return to “CMSMS Core”