Durpal Version: 5.6
Gallery2 Version: 2.1
Gallery Module Version: 5.x-2.0
PHP Version: 5.2.5
I was able to successfully install Gallery2 and activate URL re-write.
After activating the Gallery Module, it is unable to find the albums (returns a 404 error).
I followed the instructions here:
http://codex.gallery2.org/Integration:Drupal:Installation#Step_4:_Clean_...
The main page is okay (http://sculpture.juliannayau.com), but clicking on the links gives me 404 errors. The Embedded Setup paths are blank in the URL Rewrite section of the embedded Gallery2 admin.
I also tried the instructions here:
http://codex.gallery2.org/Integration:Drupal:Installation:URL_Rewrite
When overwriting the defaults set by the Gallery module:
1. If I point to the Drupal .htaccess file, I get Internal Server errors
2. If I point to the Gallery2 .htaccess file, it doesn't pick up the URLs correctly (all image links are broken)
With the URL rewrite deactivated and uninstalled, all of the links work perfectly (they're just not pretty).
Comments
Comment #1
profix898 commentedWhat happens if you fill the blanks and submit the form? You should see additional rewrite rules being added to the top of Drupal's .htaccess file. You must specify the path to Drupal's .htaccess file here and not the G2 one. Also make sure that the .htaccess file is writable.
Can you tell us a little more about your directory structure (paths to Drupal and G2)?
Comment #2
julianna commentedAfter bumping around the settings some more, I managed to get it working.
The problem was for the "Please enter the Url to your environment. E.g. http://www.mySite.com/myNiceCMS/" field.
Because it's automatically pulling in the main website (http://sculpture.juliannayau.com), I didn't know how to complete it. It wouldn't take a blank value, and typing the full URL again caused major problems. It's finally working now that I populated the field with a backslash.
Comment #3
tasigurl commentedPlease Help
Julianna how did you fix your problem with Gallery. I have screen shots here: http://drupal.org/node/155959
Please Help
I have screen shots here: http://drupal.org/node/155959 I also asked for help here: http://drupal.org/node/220049
I installed the lastest Gallery2 via fantastico. My install is like:
Drupal dir: /var/www/web/html/drupal/
• Gallery dir: /var/www/web/html/gallery2/
• Website URL: http://www.example.com/drupal
• Standalone Gallery2 URL: http://www.example.com/gallery2/
I need help config the paths and locations for the stand alone and the drupal mod. on drupal in the gallery> settings> install it says everything is ok but its not because I can't get to the gallery from drupal.
I dont know what "rule to put in "show item" in my gallery stand alon admin> url rewrite:
On Drupal gallery> settings> install it says:
"Clean URL / URL Rewrite OK There is a writable .htaccess file in your defined Drupal directory (/home/gotantan/public_html/rwolfefamily/). Your 'Show Item' rule should start with 'gallery/'. Make sure to change the URL Rewrite rule(s) accordingly. "
I think I need to change the embed uri but It won't let me change the embed URI:
"Step 2: Gallery2 location settings - Auto Configuration (OK)
Gallery2 URL or URI:
URL or URI of the G2 standalone location. This can be either the full URL to Gallery2 (e.g. http://www.example.com/gallery2) or the path from docroot to the Gallery2 directory (e.g. /gallery2). If using a URI the protocol/hostname are both optional.
Gallery2 filesystem path:
/home/gotantan/public_html/rwolfefamily/gallery2/
Embed URI:
/index.php?q=gallery"