Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
airazor
Posts: 5 Joined: Wed 20. Oct 2004, 10:15
Location: Germany
Contact:
Post
by airazor » Wed 20. Oct 2004, 10:41
Hey Everybody,
I completly don´t know, what to do with this message and how fix this Problem.....
Code: Select all
Warning: ImageCreateFromGif: No GIF read support in this PHP build in /mnt/ja1/03/958/00000010/htdocs/WCMS/include/inc_ext/hft_image/hft_image.php on line 155
--------------------------------------------------------------------------------
file=/home/strato/www/ai/www.airuption.de/htdocs/WCMS/phpwcms_tmp/thumb_preview/1_5_OJwmMXIUIh.gif
file=/mnt/ja1/03/958/00000010/htdocs/WCMS/include/inc_ext/hft_image/hft_image.php
--------------------------------------------------------------------------------
Warning: Division by zero in /mnt/ja1/03/958/00000010/htdocs/WCMS/include/inc_ext/hft_image/hft_image.php on line 185
Warning: Division by zero in /mnt/ja1/03/958/00000010/htdocs/WCMS/include/inc_ext/hft_image/hft_image.php on line 186
Warning: Division by zero in /mnt/ja1/03/958/00000010/htdocs/WCMS/include/inc_ext/hft_image/hft_image.php on line 187
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /mnt/ja1/03/958/00000010/htdocs/WCMS/include/inc_ext/hft_image/hft_image.php on line 248
Pappnase
Post
by Pappnase » Wed 20. Oct 2004, 10:57
hello
wich php version did you have on your webspace. also what for gd values did you have in your conf.inc.php?
airazor
Posts: 5 Joined: Wed 20. Oct 2004, 10:15
Location: Germany
Contact:
Post
by airazor » Wed 20. Oct 2004, 11:02
Hi Paapnase,
thx for your support...
There is PHP 4.1.2 Installed on my server
my config looks like this:
Code: Select all
'./configure' '--prefix=/opt/KQphp4' '--enable-safe-mode' '--disable-xml' '--with-jpeg-dir=/usr/local' '--with-gd=/usr/local' '--with-png-dir=/usr/local' '--with-mysql=/usr/local' '--with-dom=/usr/local' '--with-zlib' '--with-db2' '--with-ndbm' '--with-gdbm=/usr/local' '--with-mhash=/usr/local' '--with-mcrypt=/usr/local' '--enable-discard-path' '--enable-sysvshm=yes' '--enable-sysvsem=yes' '--enable-debug=no' '--enable-bcmath=yes' '--enable-safe-mode=yes' '--with-exec-dir=/opt/KQphp4/exec' '--with-config-file-path=/opt/KQphp4/etc' '--enable-memory-limit' '--disable-pear' '--enable-calendar' '--enable-dbase' '--enable-wddx' '--enable-trans-sid'
airazor
Posts: 5 Joined: Wed 20. Oct 2004, 10:15
Location: Germany
Contact:
Post
by airazor » Wed 20. Oct 2004, 11:05
Code: Select all
<?php
// database values
$phpwcms["db_host"] = "rdbms.strato.de";
$phpwcms["db_user"] = "UXXXX";
$phpwcms["db_pass"] = "XXXXX";
$phpwcms["db_table"] = "XXXXX";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.airuption.de/";
$phpwcms["admin_email"] = "airazor@airuption.de";
// paths
$phpwcms["root"] = "WCMS"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 1; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'ronny@airuption.de'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT'] = '/home/strato/www/ai/www.airuption.de/htdocs';
?>
Thanks a lot for helping me....
cguenther
Posts: 111 Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:
Post
by cguenther » Wed 20. Oct 2004, 17:07
@airazor:
And also your PHP-Version is complied without GIF-support. check your phpinfo() for this entry:
Code: Select all
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Importend are the entries GIF Read Support and GIF Create Support. I don't think that you have a problem that you are running php < 4.2.1. That will occure other errors.
If you don't have GD-support you should check, if you have ImageMagick availible on your server, that you can use IM instead of GD.
regards