Drupal 4.6 + G2

beerfan

Joined: 2005-09-28
Posts: 2
Posted: Thu, 2005-09-29 04:45

I am in the process of installing Gallery2 for use within Drupal using Walkah's Drupal Gallery2 integration module and had a little snag.

Drupal is configured, by default, to change the session.save_handler to USER from FILES. This makes the gallery installer not work. To work around this, you can place an .htaccess file in the gallery directory with the following in it.

<IfModule mod_php4.c>
php_value session.save_handler    FILES
</IfModule>

Simply create a new file with the above text in it and save it as ".htaccess" then upload it to the root of your gallery2 directory.

 
beerfan

Joined: 2005-09-28
Posts: 2
Posted: Thu, 2005-09-29 05:58

I ran into a second snag. I initially placed the gallery2 files in the 'gallery' directory. However, this is the path used by the gallery Drupal module so gallery2 would not work in embedded mode and I had to rename the directory to 'gallery2'. Beware.