Gallery can not write to the .htaccess file

matoo2002

Joined: 2008-03-25
Posts: 2
Posted: Tue, 2008-03-25 02:41

Using 2.2.4 and upgraded from 1.5
Everything worked very well but when I enable G1->G2 Mapping I get errors on that and on URL Rewrite 404 file not found.
If I try and save after just enabling g1->g2 mapping it says "an error occurred while trying to save your settings" and there are error icons on both g1->g2 mapping and 404 file not found.
If I disable 404 file not found, I get " An error occured while trying to save your settings
Cannot write to the .htaccess file" With no error on g1->g2 mapping and the not installed icon on 404 file not found.
Any ideas? I can not view the images on my page now, but I can while messing with the settings.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2008-03-25 03:02

To get the g1-->g2 url mappings working, you should first enable the UrlRewrite module via the g2 site admin, and verify that its tests don't report any errors.
-Beckett

--

(gratuitous link to my gallery! ~~ http://photos.beckettmw.com/ )

 
matoo2002

Joined: 2008-03-25
Posts: 2
Posted: Tue, 2008-03-25 03:07

I have done that. This is the result of the test
" Gallery .htaccess file

Testing if Gallery can write to the .htaccess file.

Error
Please make sure Gallery can write to the existing .htaccess file

chmod 666 /home/matoo/public_html/gallery/.htaccess

"

I checked the permissons for that file and It should be able to write to it.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2008-03-25 03:10

Did you run that command? Can you confirm what the permissions are? You can rerun the test, and it should pass.

-Beckett

--

(gratuitous link to my gallery! ~~ http://photos.beckettmw.com/ )