Admin login

djfoley123

Joined: 2008-07-24
Posts: 1
Posted: Thu, 2008-07-24 14:28

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):http://www.ybw.com/gallery/
Gallery version:Gallery v1.4.4-pl5
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

Hi, I've inherited Gallery and only have a login that allows to add galleries, edit tags etc. I want to create new logins with restricted admin rights but don't have the correct login details. Does anyone have any advice on how I can find this info as it's been lost in the sands of time here. It's a dat question I realise!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-07-24 14:56

Hello,

if this is your Gallery and you have access to the webspace, you can restore the password for the user 'admin'.
Just put a file called 'resetadmin' (yes, no extension) in the setup folder.
Then open the config-wizard with your browser and follow the instructions.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Appsnt

Joined: 2008-08-29
Posts: 7
Posted: Fri, 2008-08-29 05:25

I also inherited Gallery v1.4.3-pl2 and need to reset admin password.
I have tryed resetadmin and it did not work because I can not run configuration wizard.
I am new and may not be doing it correctly.
If uploading a new password file or something to fix it would be great.
Any help would greatly appreciated.

Allan

Gallery URL (optional but very useful):http://www.beattheheatnt.org.au/gallery/
Gallery version:Gallery v1.4.3-pl2
Apache version:?
PHP version (don't just say PHP 4, please):?
Graphics Toolkit:?
Operating system:?
Web browser/version (if applicable):IE6

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-08-29 06:19

Hello,

why are you not able to run the config wizard?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Appsnt

Joined: 2008-08-29
Posts: 7
Posted: Fri, 2008-08-29 06:23

I am sorry to say I dont know how.
I have tried http://www.beattheheatnt.org.au/gallery/setup but get internal server error.
I am new to all this.

Allan

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-08-29 08:38

There is a .htaccess file in the setup folder.

Remove it and you should be able to access the config.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Appsnt

Joined: 2008-08-29
Posts: 7
Posted: Sat, 2008-08-30 09:27

I had a look in the setup folder did not find .htaccess file there.
I looked throught ftp and also went in throught web host setup page still no file.
My web host has been great as I wiped my site out and they restored a backup for me.
I did find some file that look like login/password related in
\albums\.users
Like I said I am new to all this.

Allan

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2008-08-30 19:28

Hi,

you said you get an internal server error. That would be error 500 and the reason would be the .htaccess file

What i see is a Error 403 "You don't have permission to access /gallery/setup on this server."
Please chmod the setup folder to 777

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Appsnt

Joined: 2008-08-29
Posts: 7
Posted: Sun, 2008-08-31 12:31

I have changed it back to 777 so I can see the 500 error.
I am still not finding a .htaccess file in /gallery/setup.

Found if I set it to 755 I can get config wizard to run.
I enter new password and save config.
Reset to 400 and try and login fails.
I also found out what Apache, PHP versions Blue host are using.
Both have been updated to new versions.

Allan

Gallery URL (optional but very useful):http://www.beattheheatnt.org.au/gallery/
Gallery version: Gallery v1.4.3-pl2
Apache version: 2.2.9 Unix
PHP version : 5.26
Graphics Toolkit:
Operating system:?
Web browser/version (if applicable):IE7

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-08-31 13:39

there we go. PHP5!

Gallery 1 prior to 1.5.3 is not fully compatible with php5.

-jens

 
Appsnt

Joined: 2008-08-29
Posts: 7
Posted: Mon, 2008-09-01 11:37

I uploaded 1.5.8 but could not get it to run.
I just uploaded 1.6-RC1 and its up.
now I can login to my team gallery.
all I have to do now is get a mate to change it to match the site.
Thanks for the help Jens.

Allan

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-09-01 12:41

Hmm, okay :-)

Keep in mind that Gallery 1.6-RC1 is a prerelease version...

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6