Hi,
I didn’t know where to post this, but wanted to share the info anyway, might save someone some time.
I just switched (migrated) from a HTTP server to HTTPS server (security reasons), and got an error:
Fatal error: Call to undefined function str2lower() in /var/www/assets/modules/yams/class/yams.class.inc.php on line 3348
The str2lower function doesn’t exist in the standard PHP functions. I thought the developers might want to use strtolower, which does exist. I corrected this and YAMS works like a charm again!
For your reference: line 3348 now reads:
&& strtolower( $_SERVER['HTTPS'] ) != 'off'
This is part of the IsHTTPS() function.
Cheers,
noes
PS:
version of Modx: Evo1.0
version YAMS: Version: 1.0.5 beta
version PHP: PHP Version 5.2.6-1
version Apache: Apache2 something.