No…the whose-on-line is in it’s own folder under the weather folder named “wx”. Now that you mention it I can see that would be a major problem but would the solution be to remove the “whose” folder and let the various components run free in the wx folder?
So I just need to set them free from the “whose on first-what’s on second and I don’t know on third” folder and let them run and play in the “wx” folder which is where the template Settings.php is. Correct??
I have my template set up to NOT use the Theme Switcher. When I upload the new theme switcher and in Settings.php set the option to “true” the wxindex.php page goes berserk with 2 messages at the top pertaining to cookies.
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/l/u/l/lulu836/html/wx/wxindex.php:2) in /home/content/l/u/l/lulu836/html/wx/include-style-switcher.php on line 46
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/l/u/l/lulu836/html/wx/wxindex.php:2) in /home/content/l/u/l/lulu836/html/wx/include-style-switcher.php on line 46
You may have a whitespace in one of your template include files
make sure there are no whitespaces before the opening <?php
or after the closing php ?>
especially look for this in Settings.php
you can try putting this at the top of the Settings.php just after the opening <?php
# session_start() must be processed before any other output
# or you might get a warning "headers already sent".
if( !isset( $_SESSION ) ) {
session_start();
}
I have got it working almost now, had to do some different processing in order to get it to work because I dont use the carterlake templates and my site is not PHP driven it uses server-side includes. Anyway the only bit which does not work is where it should say Your IP Address and then show the IP, but its blank.
added country flags addon feature, installing this addon will add Country Flags next to each IP address on your whos-online.php page
see ‘country-addon’ folder readme.txt in the zip file for more info
to upgrade from 1.06, replace include-whos-online-header.php and include-whos-online-page.php and add this setting to include-whos-online-settings.php
// enable ip-to-country lookups
// requires installing the country-addon plugin
// enabling this will cause an error if you have not installed the plugin!
$C[‘enable_country_lookup’] = 0; // 1 enables, 0 disables
Been playing again this morning and have found that the tick box for show bots does not stick as well as the script not recognising my IP as me. I suspect this could be the way I have had to install it as the PHP has to run each time its called as a separate program as the pages are not PHP generated. I’ll continue to play but if anyone has any ideas I’d be greatful.