Hi All,
I fixed this by trial and error in the end (after posting on several forums including this one and getting no help at all).
Incase this is use to someone else who is struggling with getting this excellent script to run on a non-Ajax-Template site ...
The out of line images were caused by an incorrect DOCTYPE. (don't ask me why but this fixes it) :-
It's this :-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
And it's not this :-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
If you're getting an empty Your IP Address / Host Name then it's because the following code must be right at the top (above the header tag even) :-
<?php
error_reporting(E_ALL ^ E_NOTICE); // Report all errors except E_NOTICE warnings
ini_set('display_errors', 1); // turn error reporting on
//ini_set('log_errors', 1); // log errors
//ini_set('error_log', dirname(__FILE__) . '/error_log.txt'); // where to log errors
// include the who's online functions
require ('include-whos-online-header.php');
$whos_online_records = update_whos_online();
// begin whos-online login check
$passed_login = false;
if ($C['enable_password_protect']) {
$passed_login = process_login();
}
?>
Now, I'm sure this is in the docs which come with the script but I must have missed it so perhaps you did too ...
I hope this helps someone because I've spent hours & hours trying to figure it out !
Kind Regards, Simon