Page 1 of 1
edit
Posted: Mon Oct 06, 2003 5:26 pm
by synicarus
edit
Posted: Tue Oct 07, 2003 7:48 am
by Jade
It looks like some of the varibles from the gallery are screwing with the varibles from your index page. Try uninstalling the gallery and see if that fixes the problem. If not you'll need to go in manually and fix things.
Jade
Posted: Tue Oct 07, 2003 3:30 pm
by wmasterj
i agree with jade, but a faster solution, maybe. Is if you rename the variables for the guest-user thing and give them more specific names.

Posted: Wed Oct 08, 2003 4:12 pm
by synicarus
hey thanks a lot i'll try that

Posted: Thu Oct 30, 2003 5:07 pm
by synicarus
wmasterj wrote:i agree with jade, but a faster solution, maybe. Is if you rename the variables for the guest-user thing and give them more specific names.

yea i'm still looking, lol. any idea where these files are that i should edit and/or what i should be looking for? thanks a lot (sorry i'm a newb)
Posted: Fri Oct 31, 2003 8:40 am
by MishaPappa
Viewing the "block-User_Info" for PHP-Nuke, you'll find these lines which calculate and set the values for People Online elements:
Code: Select all
$guest_online_num = $db->sql_numrows($db->sql_query("SELECT uname FROM ".$prefix."_session WHERE guest=1"));
$member_online_num = $db->sql_numrows($db->sql_query("SELECT uname FROM ".$prefix."_session WHERE guest=0"));
$who_online_num = $guest_online_num + $member_online_num;
It doesn't appear that the script is acquiring any data from the table to fill those variables or there is no data present, hence the calculated zero value for $who_online_num variable.
You may want to take a look at the {yournukeprefix}_session table to confirm that it is getting populated when people are visiting your site. If you have visitors/members online but no data is present in this table, it would indicate that you've made some rather significant alterations during the installation of Gallery... review all of the installation steps taken.