Admin Login

mvlay posted 26th of August 2008 in Community Voice. 5 comments.

I have tried all of the below options, which do successfully run and insert/update the admin table (like it's suppose to do). But unfortunately, I still have problems logging in as admin. I would get this error "Profile error. Please, try again." In the admin table, admin profile does exist. Any suggestions?

1.
Create a file named test.php with the following contents.
-----------------------------------------------------------
<?php
require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' );

$admin = 'admin';
$password = 'dolphin';
$password = md5($password);

$query = 'TRUNCATE TABLE `Admins`';
db_res($query);
$query1 = "INSERT INTO `Admins` SET `Name` = '$admin', `Password` =

'$password'";
db_res($query1);
?>
-------------------------------------------------------
Then upload it to the server and run by calling it. Now your admin

username and password are below.

name: admin
password: dolphin

2.  
I would suggest that you open up your database and go into the Admins table. You'll see the Password group. Then you should see 1 row with an MD5 hash. You can edit that value and change it to "21232f297a57a5a743894a0e4a801fc3" without the quotes for an example. then try to login with username admin, and password admin. Should be set from there to reset the password to your own from within the Admin menu.

3.
Found the solution for the Admin Login Problem: The user name and the password are not correctly saved to the database. Username is completely empty and the password is wrong. So here the solution, enter your database and enter the table named “Admins” and show all entries. Than use edit and write write your username into the field “Name”. Next step, use a site like “http://elmar-eigner.de/md5_maker.html” and enter your wished password and generate a MD5 hash. That generated hash has to be copied to the field “Password” after that save your database and enjoy your working admin login. ;) Greets

4.
So many people at Unity keep asking about adding more Administrators to their Dolphin powered sites so as to divide the work load, or due to some other reason. So i decided to write this small tutorial which will guide people about adding more Admins to their dolphin powered site by editting their site database.
-------- Step 1 --------
As most of you would be knowing that Dolphin uses MD5 encryption for storing passwords in site database, we first need to convert the password, which we want to use for the new administrator, into MD5. We can do this with two methods. One is to get the desired password encrypted at sites like www.md5encryption.com . If you use this method, paste the md5 encrypted password which you will get some where, say notepad, and simply SKIP to step 4. Else continue.
-------- Step 2 --------
The other method is to first create a profile in your site with the same password which you want to use for the new administrator account.
---------- Step 3 ----------
After you've created a new profile, open your dolphin site databaseusing phpmyAdmin or similar program. Browse through the table 'Profiles' and search for the user profile which you created just now. You can find it easily with the profile id. Open that profile table and copy the value of the password which would be by default encrypted in Md5. Paste it some where, say notepad, to use it later.
-------- Step 4 --------
Open your site database using phpmyAdmin or similar program. Browse through the table 'Admins'. Using insert option, add a new Administrator with the desired username and md5 encrypted password which you earlier pasted into notepad. Your new site administrator account is now ready for use.
---------
Second method of md5 password conversion can also be used in case you forget your Admin password. In that case, you would need to browse through your existing site Admin table in the database and replace the older md5 value of password with newer one.
----------
Please do post your Comments. Reposted for those who did not read it last time.

 
Comments
·Oldest
·Top
Please login to post a comment.
gkcgautam
Dear mvlay,
It would have been better if you had mentioned here that you copied the 4th point (tutorial on adding more admins) from my blog post.

http://www.boonex.com/unity/blog/entry/Adding_more_Admins_in_Dolphin
mvlay
True. I could've also done that.
mvlay
Nevermind guys. I got it working.
mrpowless
login from admin not front

in the popup sometimes you have to hit submit to get to the real admin login screen
Hi,

my Hard Drive webt out yesterday, and I lost ALL OG MY PASSWORDS AND ADMIN LOGIN LOCATIONS, i HAD IT WRITTEN DOWN BUT CANNOT FIND IT, CAN YOU PLEASE ET ME THE LINK FOR THE dOLPHIN ADMIN LOG-IN?

tHANKS FOR ANY HELP: Sorry, cant type worth a damn. doc_tekno@netzero.com
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.097919940948486