4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: alex26 on January 23, 2003, 10:15:14 PM
-
I have been reading and reading and reading some more. So far many people seem to have the same problems... I have a problem getting IMAGEMAGICK to work also. I don't get a error just a blank page that sits there. I have tried everything the forum said.
I am running w2k server, with IIS 5
*I Installed PHP 4.3.0-installer.exe
With Microsoft iis 4 or higher option
As well the Directory has uploadtemp\iuser access
*I installed ImageMagick-i686-pc-windows.exe
Install dir was c:\imagemagick\
*I installed mysql-3.23.54-win
*4images has ability to IUSER read and write to DATA directory
When I ran the 4images install.php I made sure that the IUSER could access everything. The install was fast and everything worked.
I have setings imagemagick:
c:\imagemagick\convert.exe
Is there something else I should be installing to make this work??
Is there a list of things to install?
-
It's very simple to check if ImageMagic itself works on your system. Just try it from the command prompt: convert.exe -resize 100x100 yourimage.jpg newimage.jpg
If you find newimage.jpg in this directory, 100x100 px size, then your problem is not with ImageMagic...
-
yep.. I have tried that.. and it works perfect.. even the the path is set so it works in all dirs. still in the my 4images web I can't generate any thumbs. or even see anything on the page for that matter..
-
Didn't you try to set GD as "Conversion tool for thumbnails" in 4images?
-
well not to sound stupid... I have tried to go to the site to get GD... so far.. I have no idea what they want you to install..
if I pick GD.. I get
GD library error.
Check module settings.
-
Greetings,
I am having the same problem. Has a solution been found?
Thanks
-
if I pick GD.. I get
GD library error.
Check module settings.
GD library is a part of your PHP installation. Check your php.ini... Since you're running PHP under Windows, just uncomment one line in php.ini (I'd recommend GD2)
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
extension=php_gd2.dll
;extension=php_gd.dll
If for some reason you don't have this DLL, download in at http://www.coupin.net/gd-freetype/php_gd2.zip
-
I have been reading and reading and reading some more. So far many people seem to have the same problems... I have a problem getting IMAGEMAGICK to work also. I don't get a error just a blank page that sits there. I have tried everything the forum said.
Is there something else I should be installing to make this work??
Is there a list of things to install?
I had the same problem on the same configuration. After some research I found out that php for win32 doesn't support the function "is_executable"
see http://www.php.net/manual/en/function.is-executable.php
It is used in includes/image_utils.php :
switch($config['convert_tool']) {
case "im":
$convert_options['convert_path'] = check_executable($convert_options['convert_path']);
$convert_options['convert_path'] = preg_replace("/".check_executable("mogrify")."$/i", check_executable("convert"), $convert_options['convert_path']);
if (!@is_executable($convert_options['convert_path'])) {
$convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
}
break;
there is a @ in front of it so it will not show an error about function not found... when you comment out these 3 lines it will work!
// if (!@is_executable($convert_options['convert_path'])) {
// $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
// }
-
PHP v4.3 doesnt support it, but v4.2.3 worsk just fine.
I noticed, that many scripts that I tryed were working fine with v4.2.3, but quit working after upgrading PHP to v4.3
So far, I'll stick with v4.2.3 that is more campatible.
-
PHP v4.3 doesnt support it, but v4.2.3 worsk just fine.
I noticed, that many scripts that I tryed were working fine with v4.2.3, but quit working after upgrading PHP to v4.3
So far, I'll stick with v4.2.3 that is more campatible.
On my Linux computer it works fine (php 4.3) ;) so it is only on the windows version I presume ?