Hi
I have same problem right here and right now
I’m not sure, but try to replace 30 string with new one
Code updated.
$PHPTHUMB_CONFIG['document_root'] = realpath((getenv('DOCUMENT_ROOT') && preg_match('^'.preg_quote(realpath(getenv('DOCUMENT_ROOT'))).'^', realpath(__FILE__))) ? getenv('DOCUMENT_ROOT') : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__))));
Must work with PHP 5.2 and 5.3.
Post here if it doesn’t.
UPD Config file attached. PS. Don’t forget to modify settings for your needs.