See for your self..
http://board.marlincrawler.com
We normally have anywhere from 40 - 50 guests on at the same time within the timer limit, but ever since I upgraded from RC1 > 1.0.1, it's only tracking 1 guest.
I searched first but couldnt find any other listing of this. Anyone else having this problem?
Thanks in advance
BigMike
SHOW CREATE TABLE smf_log_online;
What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0) What IP does it show under who's online?
-[Unknown]
Results from SHOW CREATE TABLE x_log_online;
CREATE TABLE `yabbse_rootlog_online` (
`session` varchar(32) NOT NULL default '',
`logTime` timestamp(14) NOT NULL,
`ID_MEMBER` mediumint(8) unsigned NOT NULL default '0',
`ip` int(11) unsigned NOT NULL default '0',
`url` text NOT NULL,
PRIMARY KEY (`session`),
KEY `online` (`logTime`,`ID_MEMBER`),
KEY `ID_MEMBER` (`ID_MEMBER`)
) TYPE=MyISAM
And the IP for the Mystery guest is 0.0.0.0
Also, if its of any use, http://board.marlincrawler.com/phpinfo.php
Thanks as always Mr. Brackets
Are you sure QueryString.php was properly updated? Can I see a phpinfo? What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
-[Unknown]
ah - check my edit above :)
QueryString.php .... let me check
QueryString.php: Software Version: SMF 1.0
I've installed about 6 packages from the manager, and manually installed the Magic Llama mod from Grudge (?)
I did some trouble with the Buddy package and had to manually remove it and reinstall it line by line, but I am not sure when the online count went bad..
Well, PHP definitely has my correct IP, so I'm not sure why SMf isn't getting it (since my IP is pretty simple) unless Load.php or QueryString.php wasn't updated....
How about Load.php and Subs.php?
-[Unknown]
Nope, everything is the correct version. But I've edited the files so many times maybe something got messed up. I used a file comparo with a "stock" subs.php file and my current file yesterday (while I was goofing around with the buddy thing) and the only differences were the mods that I had added...
I guess for now dont worry about it and I think I will recheck a bunch of files.
Are there any other files besides QueryString.php, Load.php, and Subs.php that handle the online list so I can check them as well? (I will do this sometime this weekend)
Thanks
BigMike
QueryString.php determines the IP. Load.php makes the IP available for guests and members throughout SMF. Subs.php logs the online information.
-[Unknown]
Thanks man, I'll let you know what I find, either on Sun or Monday..
BigMike
Hey Unknown,
I installed the update to 1.0.2, which was successful, and I compared the above mentioned files with a stock version of 1.0.1 and the differences are only with the mods that I've added and none deal with IP numbers as far as I can tell..
I do have the "Faster Parsecode" feature installed, and I preserved it during the 1.0.2 update but Im sure that others would be having the same problem if that was a conflict.....
The only other thing could be the Magic Llama mod, which only affect Load.php, and I just removed it and it made no difference.
QueryString.php has not been changed since 1.0.1.
Subs.php has BuddyList, some Magic Llama code, and Faster Parsecode installed.
Load.php has BuddyList and some Magic Llama code installed.
None of the above control/carry/alter/require anything relating to one's IP...
I'm gonna do some more debugging.......................... stand by
I've traced $context['num_guests'] back to BoardIndex.php, and alot changed from 1.0.1 to 1.0.2 with the code that controls everyone's time online. I replaced the 1.0.2 version with a stock 1.0.1 version that is unmodified (no buddy list) and still get the same problem..
1 guest and his IP # is 0.0.0.0
Looking around some more........ stand by
Ok Unknown, I've traced the problem to the source.
Sorry but its due to the Magic Llama script. I disabled it in the admin and now it is tracking guests normally.... Sorry you had to spend time here for support on a script that is not maintainted by the SMF team.
I've still gotta figure out why its not tracking the guests and maybe I relay this to the author of the script to make sure it doesnt happen again.
Just out of curiosity, what was wrong with the package manager that prompted for a updated release of SMF?
Thanks again for your help,
BigMike
It just wasn't skipping files properly. That wasn't the main reason for the release, there were a few other little things that were mostly server-specific building up.
Aquilo is not going to be around all that soon, from what I hear, but perhaps you can post whatever code you think is doing it here and I can help you with that?
-[Unknown]
Hey Unknown,
I figured out where the error was and it was a problem with the installation of the magic llama script.
For some reason it copied some code twice and I found this and removed the 2nd entry and now the guest count is correct and working.
The code was in ModSettings.php and was the following:
array('heading', &$txt['lableLlamas']),
array('check', 'freeLlamas', &$txt['enableLlamas']),
array('check', 'showLlamaStats', &$txt['enableLlamastats']),
array('check', 'allowllamasoff', &$txt['allowllamasoff']),
array('rule'),
array('int', 'Llama_chances', &$txt['LlamaChance']),
array('text', 'Llama_image', &$txt['Llamaimage']),
array('int', 'llamaW', &$txt['LlamaW']),
array('int', 'llamaH', &$txt['LlamaH']),
array('int', 'Llamaspeed', &$txt['Llamaspeed']),
array('rule'),
array('text', 'Type1', &$txt['lableLlama1']),
array('text', 'Type1_min_points', &$txt['Llama1min']),
array('text', 'Type1_max_points', &$txt['Llama1max']),
array('text', 'Type1_discription', &$txt['Llama1discription']),
array('rule'),
array('text', 'Type2', &$txt['lableLlama2']),
array('text', 'Type2_min_points', &$txt['Llama2min']),
array('text', 'Type2_max_points', &$txt['Llama2max']),
array('text', 'Type2_discription', &$txt['Llama2discription']),
array('rule'),
array('text', 'lateLlama', &$txt['lateLlama']),
This was added twice in a row consecutively, and that, for some reason, was reseting the $context['num_guests'] counter, however I have no idea how that could be because it doesn't entail that variable!
None the less, everything is dandy now so that's what counts.
Cya
BigMike