JamesHeinrich / phpThumb

phpThumb() - The PHP thumbnail generator
Other
315 stars 97 forks source link

Fatal error: Call to undefined function URLschemeDefaultPort() #119

Closed badbadmonkey closed 6 years ago

badbadmonkey commented 6 years ago

I've installed the package as downloaded from GH (current version: v1.7.15-201806071234), added only the high security password to phpThumb.config.php and made no other changes, and I get the following PHP error:

Fatal error: Call to undefined function URLschemeDefaultPort() in /home3/peters/public_html/include/phpThumb-master/phpthumb.functions.php on line 748

I'm running an older version of phpThumb without issue, but can't figure this problem. It's generated just from phpThumb.demo.check.php so I'm eliminating any extraneous factors.

JamesHeinrich commented 6 years ago

Thanks. It got broken in https://github.com/JamesHeinrich/phpThumb/commit/bb3ecb6ba34e3fb7130cfb0f6bdc04a37f544c81 and has been fixed in https://github.com/JamesHeinrich/phpThumb/commit/1fc28a6acf1ffa5ad60a57ee1304fd580892c990