Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
chosen14u
Hangin' Around



Joined: Feb 08, 2010
Posts: 31

PostPosted: Thu Mar 25, 2010 8:57 am Reply with quote

I am having issues when users register and then i approve them and they click activation link keeps says when they click it that no user data found.

any suggestions? please help!
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



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

PostPosted: Thu Mar 25, 2010 11:45 am Reply with quote

Do you have it set to require admin approval for new user registration in Admin Control Panel - Edit Users - Configuration - Registration?

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
chosen14u







PostPosted: Thu Mar 25, 2010 1:49 pm Reply with quote

Nope I
have turned that off
 
nuken







PostPosted: Thu Mar 25, 2010 4:08 pm Reply with quote

If you have require admin approval turned off, you should not need to approve them. They should receive the email prompting them to click the link to confirm their registration which takes them to a page to click a link to login.
 
chosen14u







PostPosted: Thu Mar 25, 2010 5:33 pm Reply with quote

Well what about it saying no user data is found after they click the link? [ Only registered users can see links on this board! Get registered or login! ]
 
nuken







PostPosted: Thu Mar 25, 2010 6:51 pm Reply with quote

Hmm. That is weird. The activation link is being sent correctly. Try reuploading the Your_Account module and see if that corrects the issue. Also, have people been able to register and log in before and this is just now happening or has it never worked?
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Mar 25, 2010 7:15 pm Reply with quote

yes i tried it out and there is a problem ... it seems to recognize the activation link but fails when you try to submit the form after that... maybe a missing field in the temp users db table?

try turning on error reporting and register like a user would, and see if you get any error messages after clicking the activation link.
 
View user's profile Send private message Visit poster's website
chosen14u







PostPosted: Thu Mar 25, 2010 7:34 pm Reply with quote

it use to work, then all of a sudden no one could register,

How do I turn on error reporting?
 
spasticdonkey







PostPosted: Thu Mar 25, 2010 8:53 pm Reply with quote

config.php


$display_errors = true; //This should only be used (set to "true") when testing locally and not in a production environment

make sure to set back to false when done Wink
 
chosen14u







PostPosted: Fri Mar 26, 2010 7:16 am Reply with quote

Ok, does it report the errors to the error log or in the config.php?
 
Hitman
New Member
New Member



Joined: Dec 21, 2002
Posts: 17

PostPosted: Fri Mar 26, 2010 7:18 am Reply with quote

I've had this issue to, but I moved the site to a folder which that was causing the issue. Also if your approving accounts manually and they click the link themselves later, the data is already entered into the database and I would assume that's why your getting that error.

Please do correct me if I am wrong.

_________________
Nuke Legacy - PHP-Nuke Support, Resources and Discussions site! 
View user's profile Send private message Visit poster's website
chosen14u







PostPosted: Fri Mar 26, 2010 7:58 am Reply with quote

Image
Shot at 2010-03-26

Image
Shot at 2010-03-26
 
chosen14u







PostPosted: Fri Mar 26, 2010 8:21 am Reply with quote

where does the error logs spew out the information? I will paste it here.
 
spasticdonkey







PostPosted: Fri Mar 26, 2010 9:09 am Reply with quote

it is shown on the webpage as they happen
 
chosen14u







PostPosted: Fri Mar 26, 2010 9:27 am Reply with quote

I followed thru with registering on the site, and it never showed any errors, just get the no user data was found.
 
spasticdonkey







PostPosted: Fri Mar 26, 2010 9:35 am Reply with quote

hmmmm, what about your error log with your host? Depending on their setup it may need to be enabled, and some hosts only allow it to be on temporarily..

you might also look in phpmyadmin at the user table, what is user_active set to for some of the new accts??

Also, is this a new install or an upgrade? Have you altered anything?
 
chosen14u







PostPosted: Fri Mar 26, 2010 10:03 am Reply with quote

it was a new install, it was working before when i first setup my site, but for some odd reason it has started doing this, I havent played or updated anything.

I am including the error log from my host.
 
Hitman







PostPosted: Fri Mar 26, 2010 10:06 am Reply with quote

Can you register a fake account and paste the full URL you would normally get when you register, maybe the URL is screwed.
 
chosen14u







PostPosted: Fri Mar 26, 2010 10:08 am Reply with quote

[Fri Mar 26 10:27:18 2010] [error] [client 129.42.208.184] File does not exist: /home/thebla21/public_html/404.shtml, referer: [ Only registered users can see links on this board! Get registered or login! ]
[Fri Mar 26 10:27:18 2010] [error] [client 129.42.208.184] File does not exist: /home/thebla21/public_html/themes/CT_RN_BLACK/images, referer: [ Only registered users can see links on this board! Get registered or login! ]
[Fri Mar 26 10:27:18 2010] [error] [client 129.42.208.184] File does not exist: /home/thebla21/public_html/404.shtml, referer: [ Only registered users can see links on this board! Get registered or login! ]
[Fri Mar 26 10:27:18 2010] [error] [client 129.42.208.184] File does not exist: /home/thebla21/public_html/themes/CT_RN_BLACK/images, referer: [ Only registered users can see links on this board! Get registered or login! ]
[Fri Mar 26 10:27:18 2010] [error] [client 129.42.208.184] File does not exist: /home/thebla21/public_html/404.shtml, referer: [ Only registered users can see links on this board! Get registered or login! ]
[Fri Mar 26 10:27:18 2010] [error] [client 129.42.208.184] File does not exist: /home/thebla21/public_html/themes/CT_RN_BLACK/images, referer: [ Only registered users can see links on this board! Get registered or login! ]
 
chosen14u







PostPosted: Fri Mar 26, 2010 10:12 am Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]

when clicked it brings me to a page to fill out some information (optional) click save changes then I get "No user matching the given criteria was found."
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Mar 26, 2010 11:11 am Reply with quote

In config.php are you using different values for $prefix and $user_prefix?

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
spasticdonkey







PostPosted: Fri Mar 26, 2010 11:12 am Reply with quote

hmm from the errors it looks like the images directory of CT_RN_BLACK is missing, as well as an issue with the 404 document that handles missing files. Not sure why that would cause this to fail though.

Are you sure you are using the current htaccess file? If I remember right 404.shtml is from older RN versions, it should be using the ErrorDocuments module by default.
 
chosen14u







PostPosted: Fri Mar 26, 2010 11:47 am Reply with quote

in config this is what it shows for $prefix and $user_prefix

$prefix = 'nuke';
$user_prefix = 'nuke';
 
chosen14u







PostPosted: Fri Mar 26, 2010 12:42 pm Reply with quote

Umm how do I check the current htaccess file?
 
spasticdonkey







PostPosted: Fri Mar 26, 2010 12:52 pm Reply with quote

the .htaccess file is in your web root
public_html/.htaccess

you should use the file that came with the distro, however you need to configure it for your site. [ Only registered users can see links on this board! Get registered or login! ]

btw, when you post error info here edit out your full path for security reasons:

File does not exist: /***/***/public_html/

also just to rule everything out, fix the BOM issue [ Only registered users can see links on this board! Get registered or login! ]

and try a default RN theme.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

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 ©