You must enter a setup password in your gallery/config.php

pcmodeler

Joined: 2002-11-06
Posts: 13
Posted: Fri, 2003-01-24 17:59

You must enter a setup password in your gallery/config.php file in order to be able to set up Gallery.

When you think you have resolved this problem, you can click this button to try again:

This same thing happened before and I gave up trying to get it to work, but it keeps saying I haven't setup a password when I try to run setup.

I've looked at the config file and placed it in the proper directory and renamed it. I assume I need to put my password between the single quotes:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>$gallery->setConfig('setup.password', ''); </TD></TR></TABLE><!-- BBCode End -->

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-01-24 22:45

Yes, put something in there -- it's an added security feature.

 
pcmodeler

Joined: 2002-11-06
Posts: 13
Posted: Sat, 2003-01-25 04:10

But that's the problem. I have and it still says I haven't. It's as if it isn't looking at the config file.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-01-25 05:46

Make sure register_globals is on. Gallery 2 eventually won't require register_globals, but you'll need it enabled for this to work right now.

 
pcmodeler

Joined: 2002-11-06
Posts: 13
Posted: Sat, 2003-01-25 22:16

yup. It's on so that's not it. Is there a possible chmod issue or perhaps a missing .htaccess file?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sun, 2003-01-26 00:56

Well, I don't know what to say. There must be something screwy in your PHP setup, I'm really not sure. Maybe just try re-downloading the code. You did move the config file to its correct position, per the README instructions, right? Anyhow... have a look and make sure your PHP settings are all correct. Othewise, then try some debugging and hunt down what the problem is. Sounds like the config file isn't being included properly. Anyhow, the current G2 in CVS barfs on the setup... so you probably should wait a bit until Bharat fixes the small problem and try installing it again then.

-Beckett (

)

 
pcmodeler

Joined: 2002-11-06
Posts: 13
Posted: Sun, 2003-01-26 03:21

Downloaded it twice. I don't know what the issue would be with my php. I've got a dozen or so other items (including gallery) that run fine. Guess I'll wait for the fixed setup.