Ok changed that line to:
Code:
if (!preg_match('[0-9]', $key)) {
Then had a similar error for line 412 and changed it to:
Code:
if (!preg_match('[0-9]', $key)) {
Note that this is the function and the carat symbol that I needed to change here.
Then the debug file had some different errors:
Code:
[02-Feb-2010 11:36:15] PHP Deprecated: Assigning the return value of new by reference is deprecated in E:\xampp\htdocs\zen\includes\functions\functions_email.php on line 161
[02-Feb-2010 11:36:15] PHP Deprecated: Function ereg_replace() is deprecated in E:\xampp\htdocs\zen\includes\functions\sessions.php on line 112
So I went to functions_email.php and changed line 161 to:
Code:
$mail = new PHPMailer();
Removing the ampersand and then went to sessions.php and changed line 112 to:
Code:
if (preg_replace('[a-zA-Z0-9]', '', session_id()) != '') session_regenerate_id();
Now the page zen/admin still loads blank but I have no errors in the debug file to work with. What have I done wrong here?