Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
thumpn8974
Worker
Worker



Joined: Feb 09, 2011
Posts: 188
Location: US

PostPosted: Wed Feb 09, 2011 8:03 pm Reply with quote

When a person goes and registers at my site, it allows them to go through all the normal sing up procedures. When they get the activation email, they click on it and it takes them to thier profile. When they submit it, it gives this error, "No user matching the given criteria was found." I can't find thier username in the database user or temp user files; the only place they show up is in the "nuke_nsnst_tracked_ips". I don't know what is going on, but any help would be great.
 
View user's profile Send private message Visit poster's website Yahoo Messenger
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Wed Feb 09, 2011 8:34 pm Reply with quote

What happens if you try to register yourself under a different ID than your regular sign-in, same error?

Can you post a URL to your site and somebody here will see what happens.
 
View user's profile Send private message
thumpn8974







PostPosted: Wed Feb 09, 2011 9:32 pm Reply with quote

The site is www.h3llclan.com or to skip the intro it is www.h3llclan.com/index.php
 
dad7732







PostPosted: Wed Feb 09, 2011 9:36 pm Reply with quote

Ok, waiting for admin approval.

BTW: It is very very difficult to read anything using that theme, gray on black makes most everything hidden and tough to see. I had to hilite sentences to be able to read. Just an FYI.
 
thumpn8974







PostPosted: Wed Feb 09, 2011 9:41 pm Reply with quote

If I activate a screen name, it deletes it from everywhere except the nuke_nsnst_track_ips table.

I bought that from clanthemes.com. I am going to college so I can learn all this stuff, or until then I am learning by trial and error.


Last edited by thumpn8974 on Wed Feb 09, 2011 9:43 pm; edited 1 time in total 
dad7732







PostPosted: Wed Feb 09, 2011 9:43 pm Reply with quote

Yup, got the message:

No user matching the given criteria was found.

That sorta rules out a blocked IP. Thinking cap on, maybe someone else can make a determination faster.
 
dad7732







PostPosted: Wed Feb 09, 2011 9:48 pm Reply with quote

Also, this topic has already been discussed at length.

See: Only registered users can see links on this board! Get registered or login!
 
thumpn8974







PostPosted: Wed Feb 09, 2011 9:48 pm Reply with quote

Let me try to activate you, but I am sure it is going to hide your user info. Only place I will find anything is in that nuke_nsnst_track_ips table.

There may be one thing, but I hate to go there, I deleted the nuke_users file from the database, and uploaded the one from my regular PHP Nuke site I had before. It seemed to not make a difference and I didn't have to have everyone register all over again. I don't think that is the problem, but it could be. I don't know how I would fix it if it is.

As to the above link, I already looked in there. I didn't find anything that showed an answer, or at least not one that I understood.
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed Feb 09, 2011 10:31 pm Reply with quote

I noticed that you site has jquery loading twice. That could cause issues. I would set error reporting to true in the config.php file and see what errors are being generated.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
thumpn8974







PostPosted: Wed Feb 09, 2011 11:03 pm Reply with quote

Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /**********/****/********/html/modules/Forums/admin/page_header_admin.php on line 44

I turned error reporting on and got this.

What is jquery? and where do I find it?

Also, when I try to manually add a user, it gives me this error message:
ERROR: There was a problem updating the database.

I even tried turning off use email activation. I am starting to feel I am out of my league here...lol.
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Thu Feb 10, 2011 7:55 am Reply with quote

I would guess that the users table you uploaded doesn't match field for field with the one in the Ravennuke distribution. And that would cause SQL errors "behind the scenes". You can turn on database error reporting by editing your rnconfig file appropriately. There is documentation in the file about how to do this.

If I'm right about the users table and you want to preserve your existing data you are going to need to do a field by field comparison of the RN users table versus the one you have loaded and "patch" up your table to match. That's kind of tedious because there are a LOT of fields but it might be your best solution. But first confirm the errors.
 
View user's profile Send private message Visit poster's website
nuken







PostPosted: Thu Feb 10, 2011 10:06 am Reply with quote

One thing you could do to verify it is not related to the theme is to change the default theme to one of the included RN themes and try to register. If it works in one of the other themes, that will let us know where to look.
 
thumpn8974







PostPosted: Thu Feb 10, 2011 2:44 pm Reply with quote

I appreciate the info, but here is what happened. I took my old "nuke_user" table from my NukePHP and put in place of Ravenuke's "nuke_user" table. I went back to original and it works. It really sucks, though, I had 38 people signed up on my site, now they have to re-register all over again and if I knew enough about scripts and knew what to look for, I would sit down and do it, but I am clueless when it comes to that. So, all that being said, you can't cross platform nukephp and ravenuke 2.40.01 MySQL tables. It mucks up your site.
 
thumpn8974







PostPosted: Thu Feb 10, 2011 2:49 pm Reply with quote

There is one more thing, I went and updated the security like it listed on here(not in this topic). I updated my .htaccess files and now I am getting this message when I log into my forums:


Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /*******/**/********/htdocs/homesite/html/modules/Forums/includes/page_header.php on line 58
 
fkelly







PostPosted: Thu Feb 10, 2011 4:17 pm Reply with quote

Quote:
you can't cross platform nukephp and ravenuke 2.40.01 MySQL tables. It mucks up your site.


True.

I'm not sure if this helps but if you want to know why ... the code in RN "expects" certain fields to be present in the users table. Here is an example of the code from the new_finish.php program:

Code:


   $sql = 'INSERT INTO ' . $user_prefix . '_users '
         . '(user_id, user_avatar, user_avatar_type, user_lang, user_lastvisit, lastsitevisit, umode, '
         . 'username, name, user_email, femail, user_website, user_icq, user_aim, user_yim, '
         . 'user_msnm, user_from, user_occ, user_interests, newsletter, user_viewemail, '
         . 'user_allow_viewonline, user_timezone, user_dateformat, user_sig, user_sig_bbcode_uid, bio, user_password, '
         . 'user_regdate, agreedtos) VALUES (NULL, \'gallery/blank.gif\', \'3\', \'' . addslashes($language) . '\', \'' . $lv . '\', \'' . $lv . '\', \'nested\', '
         . '\'' . addslashes($ya_username) . '\', \'' . addslashes($ya_realname) . '\', \'' . addslashes($ya_user_email) . '\', \'' . addslashes($femail) . '\', \''
         . addslashes($user_website) . '\', \'' . $user_icq . '\',\'' . $user_aim . '\', \'' . $user_yim . '\', \'' . $user_msnm . '\', \''
         . addslashes($user_from) . '\', \'' . addslashes($user_occ) . '\', \'' . addslashes($user_interests) . '\', \'' . $newsletter . '\', \''
         . $user_viewemail . '\', \'' . $user_allow_viewonline . '\', \'' . $user_timezone . '\', \'' . addslashes($user_dateformat) . '\', \''
         . addslashes($user_sig) . '\', \'' . $user_sig_bbcode_uid . '\', \'' . addslashes($bio) . '\', \'' . $hashed_pass . '\', \'' . $user_regdate . '\', \'1\')';


I know it looks like gibberish perhaps but that's how things work See the reference to "agreedtos". That field was added as part of converting RN to the RNYA module from the old PHPnuke Your Account module. There were other changes as well. If you are running RN code against PHPnuke tables then agreedtos won't be there and MYSQL will create an error.

There are ways to fix the situation but I mentioned those earlier in the thread. It doesn't sound like you are inclined that way. Quite honestly, most of them would take longer than the 38 minutes or so it would take to reenter 38 usernames.
 
thumpn8974







PostPosted: Thu Feb 10, 2011 7:47 pm Reply with quote

Yeah, right now, I am in the process of adding their names. I am going to try to copy the passwords they used from the Nuke Users table. Am I am bout screw up by doing that? I hope not.
Thanks everyone for their help. I hope this helps another novice that comes along and tries to short cut...lol.
 
thumpn8974







PostPosted: Thu Feb 10, 2011 7:58 pm Reply with quote

Thanks again
 
fkelly







PostPosted: Thu Feb 10, 2011 8:22 pm Reply with quote

If you have PHPmyadmin you could copy the passwords. They are MD5 encrypted so you will need to copy what looks like strange codes from the old PHPnuke table to the new RN one on a record by record basis. Or you could write a script to do that for you.
 
thumpn8974







PostPosted: Fri Feb 11, 2011 1:23 am Reply with quote

Any idea why I am getting this when I go into my forums:

Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /*******/**/********/htdocs/homesite/html/modules/Forums/includes/page_header.php on line 58

I followed the steps of renaming the forums/rn.htaccess file to .htaccess and basically copying the information that was in my http/.htaccess file. I followed these instructions from here: http://rnwiki.ravennuke.com/wiki/RavenNuke2:Configuration . I am sure I did something wrong, but I followed the instructions. I think it is just a glitch.or something to do with the above error message.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Fri Feb 11, 2011 4:43 pm Reply with quote

thumpn8974 wrote:
Any idea why I am getting this when I go into my forums:

Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /*******/**/********/htdocs/homesite/html/modules/Forums/includes/page_header.php on line 58

Your forum configuration probably has gzip compression turned on and it should be off.
 
View user's profile Send private message Send e-mail
thumpn8974







PostPosted: Sat Feb 12, 2011 11:00 am Reply with quote

WOW!!! Thank you so much. I have been trying to find something out about it for days. I am glad someone knew that; I was clueless.

Now if I could just get my forum status notifications buttons (ie: New Post, Popular, etc.) to work, and show when there are new post, that would be great, but not necessary I guess.
 
Guardian2003







PostPosted: Sat Feb 12, 2011 1:44 pm Reply with quote

That sounds like it might be a cookie problem but those settings should have set correctly by the install script.
 
thumpn8974







PostPosted: Tue Mar 08, 2011 2:19 pm Reply with quote

I turned the gzip off in the forum general configuration, and it went away. I also was able to copy the user accounts (by typing them in, and copy and pasting) into the new database. It works great, just can't restore their old post....oh well. It is working well, right now, and hope it stays that way. Thanks again for everyone's help.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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 ©