Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-22-2011 06:12:02

posnpretty
Member
From: Kentucky
Registered: 05-04-2008
Posts: 130
Website

I can't log in as admin to my site

I've been distracted for nearly two years and have not been working on my website. I just tried logging in to the admin site using the email address and password that I first set up, but got this message:

The email address and password you entered could not be validated. If you do not remember your password, use the 'Send Password' link to have your password sent to you via email.

Next, I tried using the "Send Password" link, but when I entered my email address I got this message:

The email address you entered could not be validated. You must enter a valid email address in order to receive your password via email.

No one else has access to the admin area. Does anyone have any ideas?

Thanks for your help!
Cyndi

Offline

 

#2 02-22-2011 06:28:48

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 401
Website

Re: I can't log in as admin to my site

If you can access your files via ftp or Control Panel you should be able to see the correct login details in config.php

Nigel

Offline

 

#3 02-22-2011 06:41:04

posnpretty
Member
From: Kentucky
Registered: 05-04-2008
Posts: 130
Website

Re: I can't log in as admin to my site

nigel wrote:

If you can access your files via ftp or Control Panel you should be able to see the correct login details in config.php

Nigel

I can access my files, but there are two config.php files - one in the khxc directory, and another one in the khxc-private directory. I don't see the credentials in either file.

Offline

 

#4 02-22-2011 06:53:02

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 401
Website

Re: I can't log in as admin to my site

It could be a user issue, this post might be worth looking at.

https://forum.kryptronic.com/viewtopic.php?id=22618

Nigel

Offline

 

#5 02-22-2011 07:23:18

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: I can't log in as admin to my site

If you hadn't used the credentials for 2 years they were likely purged. The thread Nigel posted a link to explains how to recreate things.

Offline

 

#6 02-22-2011 07:29:26

posnpretty
Member
From: Kentucky
Registered: 05-04-2008
Posts: 130
Website

Re: I can't log in as admin to my site

Dave wrote:

If you hadn't used the credentials for 2 years they were likely purged. The thread Nigel posted a link to explains how to recreate things.

Dave,

The khxc_users table in the database is empty - how did that happen? What do I do now?

Offline

 

#7 02-22-2011 08:37:04

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: I can't log in as admin to my site

It happened because the credentials weren't used for more than a year. For reasons only Nick knows the inactive user purge also purges super user entries.

As explained in the linked thread simply create a user for yourself. All you need is the id column which is the e-mail address, the password column (using the MD5 hash function and the usergroup column which needs to be superuser

Offline

 

#8 02-22-2011 08:45:36

posnpretty
Member
From: Kentucky
Registered: 05-04-2008
Posts: 130
Website

Re: I can't log in as admin to my site

Dave wrote:

It happened because the credentials weren't used for more than a year. For reasons only Nick knows the inactive user purge also purges super user entries.

As explained in the linked thread simply create a user for yourself. All you need is the id column which is the e-mail address, the password column (using the MD5 hash function and the usergroup column which needs to be superuser

I guess I'm confused - I can't access the rows because it says the table is empty. How do I add a user? I have reread the linked post several times and couldn't find any mention of how to create a user if the table is empty. Sorry.

Offline

 

#9 02-22-2011 08:46:51

posnpretty
Member
From: Kentucky
Registered: 05-04-2008
Posts: 130
Website

Re: I can't log in as admin to my site

Is it the "Insert" tab I need to click on?

Offline

 

#10 02-22-2011 08:49:38

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: I can't log in as admin to my site

Yes

Offline

 

#11 02-22-2011 09:02:54

posnpretty
Member
From: Kentucky
Registered: 05-04-2008
Posts: 130
Website

Re: I can't log in as admin to my site

Okay - got it. Thanks, Dave! One more question - should I complete the profile for my account or leave it as is?

Offline

 

#12 02-22-2011 11:49:53

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: I can't log in as admin to my site

It doesn't really matter for a super user ID unless you're going to use it for testing too.

Offline

 

Board footer