related to: http://wordpress.org/extend/plugins/image-extractor
Comment
Im neuen GD-info wird neu “JPEG” statt “JPG” verwendet. Das Plugin überprüft diese Textsequenz und beendert mie einem “Fatal Error”, falls der Text nicht gefunden wird.
Diff:
php5:/home/test/public_html/wp-content/plugins/imageExtractor# diff class.ImageToolbox.php.bck class.ImageToolbox.php
202a203,205
> if ($gd_info[‘JPEG Support’]) {
> $this->_types[2][‘supported’] = 2;
> }
319a323,324
> if(strpos($line, “JPEG Support”) !== false)
> $array[“JPG Support”] = trim(str_replace(“JPEG Support”, “”, strip_tags($line)));
1444c1449
< ?>
\ No newline at end of file
—
> ?>
Error Log Entry:
/var/log/apache2/www.vmk.error.log [Sat Apr 21 19:56:28 2012] [error] [client 123.125.71.19] PHP Fatal error: Image: Imagetype (jpg) not supported for reading. in /home/test/public_html/wp-content/plugins/imageExtractor/class.ImageToolbox.php on line 461
image extractor version
php5:/home/test/public_html/wp-content/plugins/imageExtractor# head imageExtractor.php
<?php
/*
Plugin Name: Image Extractor
Plugin URI: http://www.dynamick.it/image-extractor-765.html
Description: This WordPress mod extract the image from the post.
Version: 1.1
Author: Michele Gobbi
Author URI: http://www.dynamick.it
Copyright (c) 2004, 2007 Michele Gobbi (http://www.dynamick.it)
php_info()
PHP Version 5.3.3-7+squeeze8
System | Linux php5 2.6.32-5-openvz-amd64 #1 SMP Mon Jan 16 17:49:19 UTC 2012 i686 |
Build Date | Feb 10 2012 14:09:56 |
Server API | Apache 2.0 Handler |
Virtual Directory Support | disabled |
Configuration File (php.ini) Path | /etc/php5/apache2 |
Loaded Configuration File | /etc/php5/apache2/php.ini |
Scan this dir for additional .ini files | /etc/php5/apache2/conf.d |
Additional .ini files parsed | /etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/imagick.ini, /etc/php5/apache2/conf.d/memcache.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini, /etc/php5/apache2/conf.d/pdo_sqlite.ini, /etc/php5/apache2/conf.d/sqlite.ini, /etc/php5/apache2/conf.d/sqlite3.ini, /etc/php5/apache2/conf.d/suhosin.ini |
PHP API | 20090626 |
PHP Extension | 20090626 |
Zend Extension | 220090626 |
Zend Extension Build | API220090626,NTS |
PHP Extension Build | API20090626,NTS |
Debug Build | no |
Thread Safety | disabled |
Zend Memory Manager | enabled |
Zend Multibyte Support | disabled |
IPv6 Support | enabled |
Registered PHP Streams | https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip |
Registered Stream Socket Transports | tcp, udp, unix, udg, ssl, sslv3, sslv2, tls |
Registered Stream Filters | zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk |