Environment:
goDaddy economy shared hosting,
PHP 4.3.11: './configure' '--with-cgi' '--enable-fastcgi' '--with-config-file-path=/web/conf' '--with-gd' '--with-xml' '--with-gettext' '--with-zlib-dir=/usr/src/zlib' '--disable-posix' '--with-jpeg-dir=../jpeg-6b' '--enable-gd-native-ttf' '--enable-ftp' '--with-freetype-dir=/usr' '--with-freetype' '--with-sybase=/usr/src/freetds' '--with-curl=/usr/bin/curl' '--with-dom' '--enable-calendar' '--enable-soap' '--enable-bcmath' '--with-zip' '--with-openssl' '--with-mcrypt' '--with-mysql=/usr/local/mysql-5.0'
GD is available, ImageMagik is NOT.
MySQL 5.0.45 (NOT on localhost).
sinpletest library: 1.0.1beta2
NO PATCHES APPLIED.
Drupal 5.3: Drupal Core, Comment, Contact, Help, Menu, Path, Profile, Search, Taxonomy, Upload;
Image, Image Attach, Image Gallery, Image Import: 5.x-1.6
SimpleTest 5.x-1.0
When I run Image test ONLY (or in conjunction with others) It breaks and throws up an error into the browser:
Fatal error: Call to undefined function: strripos() in /home/content/a/n/s/answerjam/html/test/sites/all/modules/simpletest/tests/image_module.test on line 108
Unfortunately my access to the logs and system guts is severely limited (goDaddy economy hosting). But, since this is my test environment, I can patch the PHP code any way you tell me :-)
Comments
Comment #1
andrabr commentedMore details: same error when the test is performed by admin (user 1) and an administrative user with full granted privileges.
Comment #2
Rok Žlender commentedstrripos is PHP5 only and you are using PHP 4.3.11. If you could write a fix that avoids using PHP 5 function in image.tests that would be awesome.
Comment #3
Rok Žlender commentedThis seems to be php4 only problem.