500 Internal Server Error with fresh install using preinstall.php

Pionir

Joined: 2008-08-05
Posts: 2
Posted: Tue, 2008-08-05 15:48

I've run the preinstall.php script to a new hosting account and it's downloaded and unzipped the .tar.gz and created the gallery2 folder without problems.

When I go to the /gallery2/install/index.php page, I get an error 500:

"500 Internal Server Error
The request was not completed. The server met an unexpected condition.

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Port 80"

I don't have shell access, but do have a control panel which allows me to modify a few settings.

The file/folder permissions are as follows

/gallery2 : 777
/gallery2/subfolders : 755
/gallery2/files : 644
/gallery2/folders/files : 644

My host appears to be using cpanel (http://www.cpanel.net/) for the control panel software.

Any help would be appreciated :)

David


Gallery version : 2.2.5
PHP version : 5.2.5
PHPInfo Link : NA
Webserver : Apache 2.0.63
Database : Mysql 4.1.22 standard
Operating system : Linux

 
Pionir

Joined: 2008-08-05
Posts: 2
Posted: Tue, 2008-08-05 15:55

Well it appears that changing permissions of /gallery2 to 555 has got past the error, then resetting them to 755 in order to upload the load login.txt.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-08-05 16:08

some webhosts automatically generate an error (e.g. internal server error) when a folder / file is accessed that is globally writable (777 permissions).
that's a security measure, and it's pretty rare. either way, we recommend changing permissions after the installation for the same reason.
good that you managed to get past this error.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage