Search…

X3 Photo Gallery Support Forums

Search…
 
3rd_Man
Topic Author
Posts: 8
Joined: 21 May 2007, 15:25

Admin Password - Problem Fixed - just changed password...

21 May 2007, 15:31

I have been unable to get my password recognized within the Admin log-in. I have edited my password.php as per the support page.

I am using a GoDaddy Linux host with Safe mode OFF.

My password.php is as follows (password changed of course and removed tags)

-----------------------------------------------------------

// Instructions on setting passwords here: www.photo.gallery/support/passwords/
// To enable your admin password, remove the double slash in the second line below and change the password.

$data['guest'] = 'guest';
$data['not_my_password'] = '*';

-----------------------------------------------------------

I have tried changing the * to admin but it doesn't work either.

What am I missing?

Thank you for your time!
Last edited by 3rd_Man on 21 May 2007, 17:06, edited 1 time in total.
 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

21 May 2007, 16:41

I think its quite simple. I think you just misinterpreted what the documentation is trying to say. Let me try to clarify things for you:

//$data['admin_password_here'] = '*';

Simply set your own unique password where it says admin_password_here, and remove the double slash // to enable it. Example:
$data['bubblegum321'] = '*';

The //$data...etc... just means that this code isn't being implemented, its like a comment tag. For you to implement your admin password you need to deleted the // to make it no longer a "comment" code, and actually a password determining code.

Lets use your example:

$data['guest'] = 'guest';
$data['not_my_password'] = '*';

In this case, your admin password is: not_my_password
The * represents the level of access, in this case, admin-leveled access.
If the user types in guest for password, then they will have a guest-leveld access.

$data['password goes here'] = 'guest';
$data['password goes here'] = '*';

Maybe that will clarify things.

The * just determines the level of access, for e.g. if you
 
3rd_Man
Topic Author
Posts: 8
Joined: 21 May 2007, 15:25

21 May 2007, 16:54

Hey vietknight,

Thank you very much for responding to my post.

I tried changing my password to something else. What what do you know, IT WORKED!

Imagevuex must not have liked my choice of passwords for some reason.

I reckon I should have tried that first off!

Thanks again.