Internal error or misconfiguration

Dave

Joined: 2002-08-27
Posts: 4
Posted: Tue, 2002-08-27 05:29

I just downloaded the latest gallery, and am getting a strange error from my server logs during setup.

The server encountered an internal error or misconfiguration and was unable to complete your request.

c:/apache/apache/htdocs/modules/gallery/setup/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration

My server is running in windows XP
Apache/1.3.26 (Win32)
Mysql 3.23.39
PHP Version 4.2.2

I have other .htaccess files running in my server and do not seem to have this problem wiht those.

***I added the following text to httpd.conf***

<Directory c:apacheapachehtdocsmodulesgallery>
AllowOverride Options FileInfo
</Directory>

***this is the test contained in the .htraccess file***

php_value auto_prepend_file php_value_ok.php
php_flag magic_quotes_gpc off

Options FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(index.php)$ index.php?init_mod_rewrite=1&amp;ersandbroken= [QSA]
</IfModule>

Any ideas what could be wrong? php works with all the postnuke sites I have installed, and several other scripts installed as well.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-08-27 05:35

The quick fix is to remove all "php_value" lines from your .htaccess file(s).

I believe that this is an issue with PHP; it is supposed to accept the "php_value" config option, but some builds of PHP 4.2.x have a bug where it doesn't take them.

 
Dave

Joined: 2002-08-27
Posts: 4
Posted: Wed, 2002-08-28 05:17

Thanks man, but I couldnt get it to work. It installed ok, but I cant get any files to upload. It tells me that I am trying to upload an invalid file no mater what file type I am using. My php just doesnt like it. I am going to wait for gallery 2.0 to launch. thanks for the reply. Has anyone heard when the projected release date is?

 
s-fu

Joined: 2002-07-15
Posts: 22
Posted: Wed, 2002-08-28 09:58

You should read the old Mailing List.
Somehow, PHP 4.2.2 is not tested stable under Win32.
I'm using 4.2.1 with W2K. Just perfect!

Good Luck!

 
CarpetBagger
CarpetBagger's picture

Joined: 2002-08-09
Posts: 49
Posted: Wed, 2002-08-28 18:08

Every time I have installed Gallery under Win32, I have a problem with the .htaccess files. Open the .htaccess file with a program like TextPad, and you'll see some TAB characters in the middle of one of the lines. I think there were three TAB's. Delete the three TABS and it should work OK.

The only persistent problems I've ever had with Gallery under Win32 is when you try to Move files from one Album to another. Sometimes the image file can get corrupted some how. It's something in the fs_win32 file I think. I haven't played with it enough to find the trigger.