Loading...
 
Architecture / Installation

Architecture / Installation


admin/admin login doesnt work

posts: 4

it looks like everything is all setup but when I finally go to login, the admin/admin combo doesn't work. A admin account exists, but 'admin' isn't working for the password. I certainly haven't changed it anywhere, as I have yet to login at all.

Any ideas?

http://www.acautionarytale.com/tiki/tiki-index.php

Pete (weary of the install :-( )

posts: 2881 United Kingdom

Hi,

Ok, Firstly if its a fresh tiki, I would empty the database completely of all tables using something like phpMyAdmin or the mysql interface.

Then run the installer again. And choose a different profile. It could be related to your chosen installation profile.

Damian

posts: 4


Well, I did all that, tried every different profile and the login still gives me an error. I then dumped all my tables and rebuilt the database, but still doesn't work.

The admin account exists because if I have an email sent (for lost password) it says it sent it (of course there is no email address).

I looked at the results from the profile script at install and as you would expect there is the line where admin/admin is set as the user/password. for some reason it just won't work.

aaaaarrrrrrggggggg.
Pete

edit: I did a datadump of the users_users table from the phpadmin and it comes out like this:

INSERT INTO users_users VALUES (1, '', 'admin', 'admin', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f6fdffe48c908deb0f4c3bd36c032e72', NULL, NULL, NULL, NULL, NULL, NULL, NULL);

looks like the login is in there properly...just wont work come login time...is there a way for me to have installed everything but then it comes to logging in, I am not communicating with the database properly? - though that doesnt make sense since it is finding the admin user, just not the admin password...

Could if be in how the encryption/hash thing for the password is functioning - I don't know anything about that, but could settings at my host affect it?


posts: 4


Well, I did all that, tried every different profile and the login still gives me an error. I then dumped all my tables and rebuilt the database, but still doesn't work.

The admin account exists because if I have an email sent (for lost password) it says it sent it (of course there is no email address).

I looked at the results from the profile script at install and as you would expect there is the line where admin/admin is set as the user/password. for some reason it just won't work.

aaaaarrrrrrggggggg.
Pete

edit: I did a datadump of the users_users table from the phpadmin and it comes out like this:

INSERT INTO users_users VALUES (1, '', 'admin', 'admin', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f6fdffe48c908deb0f4c3bd36c032e72', NULL, NULL, NULL, NULL, NULL, NULL, NULL);

looks like the login is in there properly...just wont work come login time...is there a way for me to have installed everything but then it comes to logging in, I am not communicating with the database properly? - though that doesnt make sense since it is finding the admin user, just not the admin password...

Could if be in how the encryption/hash thing for the password is functioning - I don't know anything about that, but could settings at my host affect it?


posts: 6

Hi Pete are you working now ??

I had the same problem as you. Think ist was a character set issue with me

What DB are you using ????

I dropped anything to do with users_users and recreated them from a native SQL prompt with the correct environment set.

All then worked fine.

If you select the admin entry out from users_users after it has been created with the install script it will appear fine although I don't think that it is interpreted correctly

my DB is Oracle 9.2.0

John


posts: 2881 United Kingdom

Just for the record,

The email sending routine says its send it for anything. So to protect active accounts against ones that dont exist, that way it cannot be used to check if a accounts exists or not.


posts: 11 United States
You know I had this same problem after installing. The problem was that my FTP was interrupted when I was sending up all of the folders and files. So, some of the files, specifically files deeper in subfolders, never made it to ISP. After I uploaded the missing files, this worked fine.

posts: 2
I know this is an old post but I had the same problem today and solved it by going into the MySQL database to the users_users table and entering an email address. I then went to the 'forgot my password' link which sent me an email to update the password and I was in. For some reason just entering a password into the table directly didn't work.
posts: 1
for a neophite, this was very helpful.

posts: 21 Pakistan

Hello Friends,

Same problem with me! But I am surprised to see that there is no solution!

Kamaal



posts: 1

Same problem here (hostgator hosting). Can't login with admin/admin or anything else that I insert into users/users. With alternate entries I get a "must change password" page with the username appended with the ?SSID=xxx session id. I changed php.ini to use cookies rather than the trans_id method, with the result that it tells me I have to enable cookies (cookies are enabled and I have some from the same site...)

There does not appear to be any actual way to install this wiki on my site, or to get any help, so I'll look elsewhere. it's a shame, though.


posts: 1

I am having the same problem.

And the solutions above (dumping tables, etc) make no sense to me.


posts: 1817 Catalan Countries

Try following the suggestion at the documentation FAQs: FAQ
On many servers it works with no problem.
Moreover, for next time, report which version of the software you are using (did you try with tiki 3.0?)
HTH