Problems during Configuration Wizard

ran2000

Joined: 2004-08-01
Posts: 10
Posted: Mon, 2004-08-09 01:55

Hi All,

After installing gallery, it runs fine but some images are not being uploaded and the upload process fails.

During Configuration Wizard, I faced both messages below:

Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:

<Directory c:\arquivos de programas\easyphp1-7\www\gallery>
AllowOverride Options FileInfo
</Directory>
If you are running PHP in CGI mode, this message is unavoidable.

and

Warning!
Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on, first make sure that your .htaccess file is being obeyed. If it still doesn't work, you may need to reconfigure and rebuild Apache with this flag:

--enable-module=rewrite

Following Gallery Documentation, I had removed the comments on following variables inside httpd.conf:

LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

But it did not fixed the problem. Could you please help me?

The apache is installed under:

C:\Arquivos de programas\EasyPHP1-7\apache

The album directory is on:

F:\apache_files\albums

Thanks,

Rodrigo!
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.rodrigoaraujo.net
Gallery version: 1.4.4
Apache version: Easy PHP 1.7
PHP version (don't just say PHP 4, please): Easy PHP 1.7
Graphics Toolkit: ImageMagik 6.0.4 and Netpbm gallery 1.4
Operating system: XP Professional
Web browser/version (if applicable): IE 6.0

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Mon, 2004-08-09 11:14

FAQ Gallery:c.31

Put Gallery into config mode and then try a form upload and post the results.

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Mon, 2004-08-09 17:25

Hi,

How do I put Gallery in Config mode?

I am running Windows version.

Rodrigo!

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Mon, 2004-08-09 17:44

Using 1.4.4, "config mode" is obsolete, since we added the login requirements for the config wizard. All you need to do is re-run the configuration wizard and follow the instructions.

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Mon, 2004-08-09 23:22

I have already re-run it many times...but the problem still exists... :(

Any idea?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-08-09 23:24

ran2000, your problem is most likely the servemp3.com redirect. You probably need to edit config.php and insert that redirect url (or just your IP) into the album and Gallery urls to be able to logon ( FAQ Gallery:c.9 )

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Tue, 2004-08-10 02:33

Christian,

In fact, I am able to logon. I am reporting a problem that is appearing as a warning whenever I enter in the Configuration Wizard.

Please, check the messages above.

Regards,
Rodrigo!

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Tue, 2004-08-10 03:35

The messages are not problems. As I said, if you want us to help with the upload problems, you need to follow the instructions in FAQ c.31

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Tue, 2004-08-17 20:19

Signe,

FAQ c.31 does not apply to the system I am running nor the version of Apache and PHP used.

Please, give me instructions on how to proceed.

Regards,
Rodrigo!

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Tue, 2004-08-17 22:25

What? C.31 applies to *gallery*, not to Apache or PHP. It most definitely applies.

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Wed, 2004-09-29 02:44

Signe,

Even reading the FAQ C.31, I am not able to clean those issues.

Also, I have observed a new error when viewing an image. See the error below:

Warning: key(): Passed variable is not an array or object in c:\arquivos de programas\easyphp1-7\www\gallery\view_photo.php on line 436

Regards,
Rodrigo!

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Wed, 2004-09-29 02:44

Does this error has any relationship with the previous reported?

Thanks,
Rodrigo!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Thu, 2004-09-30 05:40

Well, for the unable to logon issue try FAQ Gallery:c.22.

As for the key() problem.... I'm not sure. Follow FAQ C.22 first and once you can log in, we'll deal with the next problem.

-Beckett (

)

 
ran2000

Joined: 2004-08-01
Posts: 10
Posted: Thu, 2004-09-30 13:06

Beckett,

Thank you! The logon error is not an issue anymore. I will try FAQC.2.2.

Thanks,
Rodrigo!