Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
hunnydusst
New Member
New Member


Joined: Apr 05, 2007
Posts: 18

PostPosted: Mon Apr 09, 2007 7:39 pm Reply with quote

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?
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Mon Apr 09, 2007 11:27 pm Reply with quote

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 ROTFL 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.
 
View user's profile Send private message
hunnydusst
PostPosted: Tue Apr 10, 2007 4:10 pm Reply with quote

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?
 
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Apr 10, 2007 5:22 pm Reply with quote

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 
View user's profile Send private message
hunnydusst
PostPosted: Tue Apr 10, 2007 6:17 pm Reply with quote

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.
 
hunnydusst
PostPosted: Thu Apr 12, 2007 6:29 pm Reply with quote

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?
 
hunnydusst
PostPosted: Thu Apr 12, 2007 11:37 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©