/    Sign up×
Community /Pin to ProfileBookmark

Hey all,

I am going crazy here trying to figure out how to get a login system working. I have tried getting multiple working that I have found already made online. The most recent one can be found at this link.

[url]http://tutorialzine.com/2009/10/cool-login-system-php-jquery/[/url]

When I register the page refreshes but does not say an e-mail has been sent or that the username is taken like it does on the demo (from the link above). An e-mail does get sent to me. The User is created in the database but I cannot login.

I realize that this may not be enough information but I don’t know what else to do. If anyone has any things that commonly go wrong with setting these up or if anyone has one that they know works and maybe we can go from there?

Thanks,

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@Xtrme_XJauthorMar 23.2010 — Also When I attempt to use session variables from a tutorial that I am doing nothing is working. I hope this helps.
Copy linkTweet thisAlerts:
@Xtrme_XJauthorMar 23.2010 — This tutorial I am reading says if the session stuff does not work to check my session properties. Here they are... I do not know how to tell what is wrong with them.

I also do not know how to Change them if there is something that needs changing.

session

Session Support enabled

Registered save handlers files user

Directive Local Value Master Value

session.auto_start Off Off

session.bug_compat_42 Off Off

session.bug_compat_warn On On

session.cache_expire 180 180

session.cache_limiter nocache nocache

session.cookie_domain no value no value

session.cookie_lifetime 0 0

session.cookie_path / /

session.cookie_secure Off Off

session.entropy_file no value no value

session.entropy_length 0 0

session.gc_divisor 1000 1000

session.gc_maxlifetime 1440 1440

session.gc_probability 1 1

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path /var/php_sessions /var/php_sessions

session.serialize_handler php php

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid On On
Copy linkTweet thisAlerts:
@criterion9Mar 23.2010 — Do you have session_start(); at the top of your scripts?
Copy linkTweet thisAlerts:
@Xtrme_XJauthorMar 23.2010 — Yes,

Ok so I have narrowed it down to an error on the server. I loaded the entire folder onto another server and set up the db and it worked perfectly. I now need to figure out what is wrong with the settings.
×

Success!

Help @Xtrme_XJ spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...