This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Admin can't login the second time


avatar
Puran 4
From: -
Admin can't login the second time

Hi,

Yesterday evening I was a buzy guy installing CT and testing things.
After several hours searching, reading and a complete reinstall I did have to give up as I could not login as admin for the second time.

I installed the community edition 2.0.4. under Apache 2+ with MySQL 5+ and PHP 5+ and a PHP memory limit of 128, in the root of my sitespace public_html. My PC is a ACER Aspire X3200 PC with max memory and e4450 cpu and the server has room enough to install CT at least 20 times and 47 dbases left to use.
At the start everything goes fine the admin account made and logged in for the first time goes smootly. I created a second account for myself as user, logged in etc.. all perfect. Then I wanted back to the Admin to adept the permissions of that second account, logged out and logged in as admin. No way 'wrong password' was the message and when I try to login for the second account I got the same message. To test I created a third account, same results: First time goes well, second time no way to get in. Afther a restart (fresh install) are the results the same.
I checked the spelling, the passwords etc. no error to find. The accounts where added to the dbase so thats also not the problem.

Things that make me wonder are the lengty prefix in the dbase as I gave in 'ea_' and it was changed to ea_esselbach_ct .... very long.

Maybe the point is that I didnt use a forum to integrate so I choose contentteller before finnishing the install.

I read up in the forum, I read some files and then I decide to get some sleep. Today I give changing to elswhere a thought but then: I did searching for three weeks to find a script like CT that (finaly) seems the solution for our site of our Not for profit site(s), 2 domains and 7 subdomains, each with there own site but 2 userdbases (1 for each domain), even when that means I have to translate it complete to Dutch.

Sorry for my bad english and a lengty question, greetings,
a desperate Puran Confused Face

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Admin can't login the second time
avatar
Editor
0
From: -
Thanks for the info Smiling Face. Open /modules/users/userdologin.php in an editor and replace:

   $input_username = ( isset( $_POST[ 'input_username' ] ) ) ? $security -> checkvare( $_POST[ 'input_username' ] ) : "" ;

$input_password = ( isset( $_POST[ 'input_password' ] ) ) ? $security -> checkvare( $_POST[ 'input_password' ] ) : "" ;


with:

    $input_username = ( isset( $_POST[ 'input_username' ] ) ) ? $security -> checkvar( $_POST[ 'input_username' ] ) : "" ;

$input_password = ( isset( $_POST[ 'input_password' ] ) ) ? $security -> checkvar( $_POST[ 'input_password' ] ) : "" ;
1 Re: Admin can't login the second time
avatar
OP 4
From: -
Solved the puzzle Smiling Face

Hi Philipp Esselbach,

I solved the puzzle and a puzzle it was Smiling Face .

First my browser 'Mozilla/5.0 (Windows; U; Windows NT 6.0; nl-NL; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17' just incase it has something to do with it. The server works under Linux but I could not find out the name of it.

I like strong passwords so I use fore instance 'Aa.123456#aAaA12', an example so don't worry that someone steal all my gold.
The first time while installing one got directly to the cadmin login in with the already filled name and password placed. No problem.
The second time, while on the normal template, there's another kind of login tool that won't accept points in the password, so refuses to let me in. Along time I thought that it was the way it goes by CT, so I start (as admin) creating a new user to test. I used the same password (with the point in it) same story so I start wondering.... Confused Face

I created by registration another user, a simple lovely person (yep, a woman Smiling Face with Sunglasses) so I used a simple password without the point, hit the link in the mail and got in, no problem.
Then the light broke trough, the point was the puzzle part that kept me out of my sleep.

Solution: Make both login tools have the same signs that are allowed to use and put a string with options beside it, because then I had seen it in ten seconds in stead of ten hours.

Hope you find a solution for it or I get the point and don't use the point anymore, no point for me.

Greetings Puran Grinning Face
1 Re: Admin can't login the second time
avatar
Editor
0
From: -
Very odd Confused Face. Never heard that anyone had such login problems.

Which browser are you using? Have you tried another browser? Which operating system is the server using?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.