PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
jimmo
Regular
Regular


Joined: Dec 08, 2005
Posts: 94

PostPosted: Tue Aug 21, 2007 12:40 am Reply with quote Back to top

Hi All!

Since I upgraded to RN 2.10 a number of people have had trouble registering. They say that they input the correct code, but the system says it is incorrect. Obviously I cannot tell if they input it correctly, but it rarely happened before and all it took was to simply try again. In this case, the users try repeatedly and still they are told the code is incorrect.

I was wondering if someone else has had a similar a problem and, if so, what they have done to correct it. I was thinking about a link allowing the user to choose the old style CAPTCHA, audio, etc, but I would appreciate any feedback from others before I take the plunge.

Best regards,

jimmo
View user's profile Send private message
technocrat
Involved
Involved


Joined: Jul 07, 2005
Posts: 492

PostPosted: Tue Aug 21, 2007 9:55 am Reply with quote Back to top

This has been discussed a lot.
Only registered users can see links on this board!
Get registered or login to the forums!
his first post tells you pretty much what to do
View user's profile Send private message
jimmo
Regular
Regular


Joined: Dec 08, 2005
Posts: 94

PostPosted: Wed Aug 22, 2007 1:32 pm Reply with quote Back to top

The only thing that concerns me is that I can log in as an admin and some users can register without a problem. Why would adding that code effect some users and not others?
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7481
Location: Arizona

PostPosted: Thu Aug 23, 2007 6:02 am Reply with quote Back to top

Sorry to jump in here (and kick me out technocrat if I take this in the wrong direction).

The usual "suspects" when it is user specific is browser or PC firewall settings. For example, if they have cookies disabled within their browser AND depending upon how the server is set up to handle sessions when cookies are not enabled, this could happen. I have also seen some firewall or "anonymizer" type programs block the cookies from being transferred.
View user's profile Send private message Visit poster's website
jimmo
Regular
Regular


Joined: Dec 08, 2005
Posts: 94

PostPosted: Thu Aug 23, 2007 8:42 am Reply with quote Back to top

montego, you're always welcome to jump in!

The other post says to add "session_save_path(dirname(__FILE__));" at the top of mainfile.php, so I was curious as to how this would correct a user specific problem. So what is this actually doing. I read the doc for this function, as well as "Session Handling Functions" on php.net, but I didn't quite get what this is really doing other than it is where the session information is stored. If this is in mainfile.php, then wouldn't that be in the root directory of the RN installation? Does that mean there will be one file for each session/user?
View user's profile Send private message
technocrat
Involved
Involved


Joined: Jul 07, 2005
Posts: 492

PostPosted: Thu Aug 23, 2007 9:29 am Reply with quote Back to top

Have you added the line yet?

This points the session files to be made on the root of the site. What this shows is the host has the session folder, generally /tmp/, permissions incorrectly setup. Thus the files cannot be made and the sessions fail.

Since you seem to state that others are fine then it could be as Montego suggests or it could be that maybe your sessions are restricted in some way.
View user's profile Send private message
jimmo
Regular
Regular


Joined: Dec 08, 2005
Posts: 94

PostPosted: Sat Aug 25, 2007 8:30 am Reply with quote Back to top

Thanks. So far, so good with the sessions. I added the line and see that the sess_ files are being written to my DocumentRoot (i.e the same directory as mainfile.php). I would prefer not to fill that directory up with files. Is there a problem with same the sessions files somewhere else with something like this "session_save_path(dirname(__FILE__)."/tmp");" ?
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum