Page 1 of 1

Image Manager not working

Posted: Mon Oct 23, 2006 10:46 am
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  :)

Re: Image Manager not working

Posted: Tue Dec 26, 2006 6:14 am
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.

Re: Image Manager not working

Posted: Wed Dec 27, 2006 5:58 am
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.

Re: Image Manager not working

Posted: Fri Jan 05, 2007 9:01 am
by jhommel
I have installed a test environment at home and the same problem.

Have someone a answer to this problem??

Thanks for help

Re: Image Manager not working

Posted: Fri Jan 05, 2007 3:10 pm
by Elijah Lofgren
Which browser are you using? IE7?
Does it work using Firefox?

Thanks,

Elijah

Re: Image Manager not working

Posted: Fri Jan 05, 2007 6:38 pm
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

Re: Image Manager not working

Posted: Sun Jan 07, 2007 1:27 pm
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

Re: Image Manager not working

Posted: Sun Jan 07, 2007 3:15 pm
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"