.htaccess, conflicts with hosting permissission

SupportNisse
SupportNisse's picture

Joined: 2004-06-02
Posts: 18
Posted: Thu, 2004-10-21 06:59

After clean 1.4.4 installation, configuration wizard fails with error message "Error: You must create an empty file named .htaccess and chmod it 777 before proceeding. See [documentation] for more details."
The docs however states 666, but of course this does not help.
(Tried also to install pl2, but received same message).

It does not matter what I do, I tried with no .htaccess file at all, tried with a 777 empty file, tried with a 766 empty and 666 empty, all with the same resulting error message. I suspect that thera are some hosting permission policy that somehow blocks the 777 but I am not sure of it.

In order to further isolate the problem I created a config.php outside of the wizard. Then I get the gallery to start, but I then is stuck on the login screen which accept my login but does not react and does not let me in.

When digging into this I noticed that it also seem to be a permission problem on the files in the .user folder. Every time one of these files is used (by the login script I assume), the file is chmod to 644. I could make the login work one time by chmod the files under .user to 755 (but of course they are chmod back to 644 after usage). Furthermore, once one album is added, it is no longer possible to get the login to work by chmod the .user files back to 755.

So, it seems to be a permission conflict between gallery requirements and the hosting permission policy. Please think of something to overcome it. :(

Thanks

----
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):
Gallery version: 1.4.4 (but also tried with pl2)
Apache version: Apache/1.3.31 (Unix)
PHP version (don't just say PHP 4, please): 4.3.9
Graphics Toolkit: ImageMagick
Operating system: Unix
Web browser/version (if applicable): IE 6.0 sp2

 
turtleae86

Joined: 2004-10-22
Posts: 1
Posted: Sat, 2004-10-23 00:01

I'm having the same problem.... =/
Not really sure where to go with this.

 
SupportNisse
SupportNisse's picture

Joined: 2004-06-02
Posts: 18
Posted: Sun, 2004-10-24 20:19

The strange thing is that I have on the same ISP but on another account Gallery 1.4.4 up and running.
That is why I tried to install a 1.4.4 version.... but as I stated above, I am still stuck on the .htaccess error meessage.

A hint or advise on where to look for a solution is highly appreciated....

Is it a Gallery bug? Is it an ISP policy, Apache or PHP setting??? Or simply something we overlook?

Give us a wild guess, but please give something...

Thanks

 
montymessex

Joined: 2004-02-24
Posts: 62
Posted: Mon, 2004-10-25 04:38

im having the same EXACT problem! i add the .htaccess file and my gallery crashes. i delete it then i rerun the config wizard and it asks for the .htaccess file again... argh!

i wonder if this could be the problem -- i get it when i run the config wizard showing me the config.php file:

Quote:
Note: Your server has the PHP open_basedir restriction set, and certain of your paths are not in the list of restricted paths (/home2/daktron:/usr/lib/php:/usr/local/lib/php:/tmp) This doesn't mean that they won't work, however it does mean that we can't verify that the paths are correct. If you are unable to upload photos correctly, please refer to the FAQ and to the diagnostics to resolve your problems.--------------------------------------------------------------------------------

i am ALSO having problems with loging as described above. and uploading images is not working.

i wish i never tried to upgrade my old gallery.

some wise gallery person please help...

 
SandraR

Joined: 2004-08-17
Posts: 103
Posted: Wed, 2004-10-27 20:52
 
SupportNisse
SupportNisse's picture

Joined: 2004-06-02
Posts: 18
Posted: Thu, 2004-10-28 17:37

Hi SandraR
When checking yr ref. I arrive to two recommendations:
1. Check the Apache log
2. Remove the .htaccess file

Point 1. There is no entries in the error log (I assume that the configuration wizard stops before actual error occur)
Point 2. Already tried to remove the .htaccess file but that did not help either...

More suggestions to isolate the failure are welcome....please

 
SupportNisse
SupportNisse's picture

Joined: 2004-06-02
Posts: 18
Posted: Tue, 2004-11-02 19:05

In the absence of more suggestions to solve above problem , I tried to installed G2 instead.

I picked the nightly built as of Nov 01.... and it works!!!! Not a single problem! The install wizard did an excellent job, step by step instruction and it passed all security and permission checks.

To me it indicates that the problem is related to Gallery 1.4.4 pl2 and not the hosting or system environment.

Anyway, it seems to be a better deal to wait for G2 beta, than wait for a G1 solution. :-?