Admin login details.

Help with installation and general calendar setttings

Admin login details.

Postby andy4729 » Sun Mar 27, 2011 1:09 pm

So I've done the stupid thing of losing the login details for the admin page. I haven't logged in for a whnile so I've jsut totally forgotten what the details were.

Is there a way to reset/change the login detials?
andy4729
 
Posts: 8
Joined: Mon Feb 21, 2011 2:13 pm

Re: Admin login details.

Postby chris » Sun Mar 27, 2011 1:51 pm

Hi,
This is one basic feature that is missing from the admin panel ie. the ability to reset the password and get the system to send you a new one.

I suggest that you do the following:

Reset the password manually in the database via phpmyadmin or similar.
You will need to run a code like this:
Code: Select all
UPDATE bookings_admin_users SET `username`   =   'admin',   `password`   =   'fe01ce2a7fbac8fafaed7c982a04e229' WHERE id=1 LIMIT 1

This will basically reset them to the default users that you had when you installed the script.
user: admin
password: demo
Don't forget to login in to admin and modify your user data ;)

Chris
User avatar
chris
Site Admin
 
Posts: 1088
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Admin login details.

Postby djnield » Sun Jan 08, 2012 11:56 am

chris wrote:You will need to run a code like this:
Code: Select all
UPDATE bookings_admin_users SET `username`   =   'admin',   `password`   =   'fe01ce2a7fbac8fafaed7c982a04e229', WHERE id=1 LIMIT 1



I'd like to try this as I can't log in but how do your 'run' the code in phpmyadmin please?
djnield
 
Posts: 8
Joined: Sat Jan 07, 2012 11:35 am

Re: Admin login details.

Postby chris » Sun Jan 08, 2012 1:35 pm

Open phpmyadmin
Click on the "SQL" tab/option
Paste the query in the textarea
Click on the "continue" (or similar) button.
User avatar
chris
Site Admin
 
Posts: 1088
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Admin login details.

Postby djnield » Sun Jan 08, 2012 1:58 pm

Chris,

Thanks for replying. I get this error when I try that suggestion:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=1 LIMIT 1' at line 1


I'm just not sure if the installation actually worked correctly as I can't log in even for the first time using the default user/password.

Have you come across this before?

Darren
djnield
 
Posts: 8
Joined: Sat Jan 07, 2012 11:35 am

Re: Admin login details.

Postby chris » Sun Jan 08, 2012 2:52 pm

opps, there is an extra comma i that query.
I try this:
UPDATE bookings_admin_users SET `username` = 'admin', `password` = 'fe01ce2a7fbac8fafaed7c982a04e229' WHERE id=1 LIMIT 1


Sorry about that.

Chris
User avatar
chris
Site Admin
 
Posts: 1088
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Admin login details.

Postby djnield » Sun Jan 08, 2012 3:04 pm

Thanks,
That code worked this time....but still I can't log in to the admin.

When I put the username and password the page just refreshes. No error messages or anything, just a refresh.

Can you give me any other pointers?

Darren
djnield
 
Posts: 8
Joined: Sat Jan 07, 2012 11:35 am

Re: Admin login details.

Postby djnield » Sun Jan 08, 2012 5:50 pm

I tried installing the script into different domains I operate and they all installed correctly - I was able to log in to the admin.

The one site I can't get to work, the calendar installs and is viewable, just can't get into admin - is built with drupal.

Is the calendar compatible in a drupal enviroment?
djnield
 
Posts: 8
Joined: Sat Jan 07, 2012 11:35 am

Re: Admin login details.

Postby chris » Sun Jan 08, 2012 7:14 pm

I'm afriad that I have no idea about Drupal.
I think that you will need to open up the login php file and do some debugging to try to work out what is going on.

Chris
User avatar
chris
Site Admin
 
Posts: 1088
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Admin login details.

Postby djnield » Sun Jan 08, 2012 7:26 pm

Ok Chris,

I'm afraid thats more than beyond me. I'll need a rethink.

Thanks anyway,
Darren
djnield
 
Posts: 8
Joined: Sat Jan 07, 2012 11:35 am

Next

Return to Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron