I have moved a website with YAMS to a other host, i can get into the manager but the website gives an error: (old site = ok)
PHP Fatal error: Call to undefined function str2lower() in D:\www\xxx.nl\www\assets\modules\yams\class\yams.class.inc.php on line 4489
Into that file onto line 4489 (&& str2lower):
public function IsHTTPS()
{
global $https_port;
if (
(
isset( $_SERVER['HTTPS'] )
&& $_SERVER['HTTPS'] != ''
&& str2lower( $_SERVER['HTTPS'] ) != 'off'
)
|| $_SERVER['SERVER_PORT'] == $https_port
)
{
return TRUE;
}
else
{
return FALSE;
}
}
# EDIT it probably has to do with the PATH:???!!
MODX_BASE_PATH D:/www/xxxxxx.nl/www/