Author |
Message |
hunnydusst
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 05, 2007
Posts: 18
|
Posted:
Mon Apr 09, 2007 7:39 pm |
|
Hi there! I'm a relative noob to nuke, so don't know if this is a block issue, database issue, or something I did with Nuke Sentinel...... please be patient.
My "who's online" block, (standard nuke block) show's everyone online as a guest. It's been that way since day one. I haven't been too concerned, but as I migrate to RavenNuke, I want to make sure I have the base site working.
Nuke is 7.9 Sentinel is 2.4.2
I did try the "who is where" block from here to see if it was an issue with the block itself. Aside from color issues which I won't begin to worry about, same thing. Everything is showing as a guest.
Where do I start to fix this? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Apr 09, 2007 11:27 pm |
|
hunnydusst wrote: | Where do I start to fix this? |
Let's start at the very beginning. A very good place to start. Hmmm. That could make a catchy tune Sorry - I couldn't resist that.
There is more than likely a MySQL issue. The first thing you should do is check your server error log. That may tell you what the error message is. Check that and get back to us if you still need help. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hunnydusst
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 10, 2007 4:10 pm |
|
I've got some file does not exist errors, but looks like for the theme...
AT-webforums_darkeq/style/styleNN.css
templates/DarkEQ/formIE.css
and then this one....
Failed loading /usr/local/directadmin/ioncube_loader_lin_5.1.so: /usr/local/directadmin/ioncube_loader_lin_5.1.so: undefined symbol: _zend_hash_add_or_update
I'll find the theme files and fix that. What in the name of God is the other error? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
Former Moderator in Good Standing
![](modules/Forums/images/avatars/0cd76dcf45da5de2cf864.jpg)
Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Tue Apr 10, 2007 5:22 pm |
|
That looks like an error you should ask your host about. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hunnydusst
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 10, 2007 6:17 pm |
|
something happened to my control panel log-in, and they set up a new access page for me. That's the control panel trying to load the phpmyadmin page. I have to take out the host name and replace with my domain name everytime I click it.
Sooooooooooooo........ theme error causing the guest/member issue?
I'm about ready to dump the whole site and reload... but that makes me slightly nervous. Don't want to lose all the posts etc. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hunnydusst
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Apr 12, 2007 6:29 pm |
|
Mmmmmkay, fixed some theme issues. Thanks, didn't realize I had that many errors. My host hasn't responded as to what's causing the other error.... they're "working on it", whatever that means.
Doesn't matter what theme I use..... still shows all visitors as guests. I checked the table structure for nuke sessions and that looks OK.... (not that I'm sure, just compared to what others have)
Code:
-- Table structure for table `nuke_session`
--
CREATE TABLE `nuke_session` (
`uname` varchar(25) NOT NULL default '',
`time` varchar(14) NOT NULL default '',
`host_addr` varchar(48) NOT NULL default '',
`guest` int(1) NOT NULL default '0',
KEY `time` (`time`),
KEY `guest` (`guest`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
And the Who is Online Block code=
Code:sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_session WHERE guest='1'")); $member_online_num = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_session WHERE guest='0'")); $who_online_num = $guest_online_num + $member_online_num; $who_online = "
"._CURRENTLY." $guest_online_num "._GUESTS." $member_online_num "._MEMBERS."
"; $content = "$who_online"; if (is_user($user)) { if (is_active("Private_Messages")) { $row = $db->sql_fetchrow($db->sql_query("SELECT user_id FROM ".$user_prefix."_users WHERE username='$uname'")); $uid = intval($row['user_id']); $newpm = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_bbprivmsgs WHERE privmsgs_to_userid='$uid' AND (privmsgs_type='5' OR privmsgs_type='1')")); } } $row2 = $db->sql_fetchrow($db->sql_query("SELECT title FROM ".$prefix."_blocks WHERE bkey='online'")); $title = filter($row2['title'], "nohtml"); if (is_user($user)) { $content .= "
"._YOUARELOGGED." $uname.
"; if (is_active("Private_Messages")) { $row3 = $db->sql_fetchrow($db->sql_query("SELECT user_id FROM ".$user_prefix."_users WHERE username='$uname'")); $uid = intval($row3['user_id']); $numrow = $db->sql_numrows($db->sql_query("SELECT privmsgs_to_userid FROM ".$prefix."_bbprivmsgs WHERE privmsgs_to_userid='$uid' AND (privmsgs_type='1' OR privmsgs_type='5' OR privmsgs_type='0')")); $content .= ""._YOUHAVE." $numrow "._PRIVATEMSG.""; } $content .= "
"; } else { $content .= "
"._YOUAREANON."
"; } ?>
|
Does anyone see anything wrong in these? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hunnydusst
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Apr 12, 2007 11:37 pm |
|
mmmkay, disregard this one. I loaded the newest RavenNuke in a subfolder, and it's working there. Having to convert the forum theme as it was causing issues. When I get done with that.... we'll see what else pops up, but the subsite is at least functioning and recognizing users. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|