Problem with opening G2 albums in nodes (Drupal 5.3)
|
Boghdan
Joined: 2007-11-05
Posts: 5 |
Posted: Mon, 2007-11-05 02:16
|
|
Hello. Boghdan |
|
| Login or register to post comments |

Posts: 135
I cant get all details from just looking at your site, but there are two problems, I think:
You can read a full install tutorial at http://codex.gallery2.org/Integration:Drupal:Installation (! written for the 5.x-2.x series of gallery module !)
Posts: 5
Ah! Thanx! It seems to be the first problem you mentioned. I really installed the gallery in the 'gallery' folder under the root of my drupal site. Will try to fix it today later. Hope it worx.
Thanks a lot! )
Posts: 5
Yeah! Actualy i had two of these problems. Sorry for not RTFMing.
But now after reading the installation manual i still cannot find solve another one problem. When i click on the thumbnail of the main gallery in drupal node i gat back the same page (drupal with G2 main gallery node, which i had before clicking)
http://boghdan.uabalt.net/?q=gallery
Any ideas?
Posts: 135
Is it possible that you dont have 'Clean URLs' (admin/settings/clean-urls) enabled in Drupal? The 5.x-1.x version, what I guess you are using, does not warn you in this case.
Posts: 5
Yep, this one helped!
Thanks a lot!
Posts: 2
I'm having a similar problem to profix898, every time I click the thumbnail of a sub-gallery via it goes back to the same page but with the sub-gallery url. My base url is http://www.tal-tech.co.uk, gallery2 installed under http://www.tal-tech.co.uk/gallery2 with the gallery plugin under http://www.tal-tech.co.uk/gallery. If you visit that list URL and click on the first sub-gallery you get directed to the URL http://www.tal-tech.co.uk/gallery/v/taltech/ but it shows the same page as previously, not decending into the Sub-gallery.
I've check that URL rewite and clean urls are switched on, but I can't figure out whats going wrong. Any help would be appreciated.
Drupal: 5.3
Gallery: gallery 5.x-2.0
Gallery2: 2.2.3
Thanks
Posts: 135
@Undergrid: Can you please post an excerpt of your Drupal .htaccess file (containing the G2 rewrite rules)? This behavior is usually a url rewrite issue, although on the first sight your configuration look good.
Posts: 2
Hi Profix, yes it was a problem with the rewrite rules in the .htaccess, once I took a look at the file it was pretty obvious. All sorted now, thanks for the help.
Posts: 1
I am having the same issue. What did you change in the rewrite rules to get this to work correctly? I am not very good with rewrite rules so nothing glaring jumps out at me while looking at the .htaccess file. Here is the file if it helps:
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
<FilesMatch "(\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# PHP 4, Apache 1.
<IfModule mod_php4.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</IfModule>
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</IfModule>
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
# Enable expirations.
ExpiresActive On
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
</IfModule>
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# If your site can be accessed both with and without the prefix www. you
# can use one of the following settings to force user to use only one option:
#
# If you want the site to be accessed WITH the www. only, adapt and
# uncomment the following:
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
# RewriteRule .* http://www.example.com/ [L,R=301]
#
# If you want the site to be accessed only WITHOUT the www. prefix, adapt
# and uncomment the following:
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
# RewriteRule .* http://example.com/ [L,R=301]
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
#RewriteBase /drupal
# Rewrite old-style URLs of the form 'node.php?id=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]
# Rewrite old-style URLs of the form 'module.php?mod=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
# $Id: .htaccess,v 1.81 2007/01/09 09:27:10 dries Exp $
Posts: 1
Hi Undergrid / dwkoste
I too am having an identical problem.
I have a fresh install of
Drupal 5.3
Gallery 2.2.3
And the Drupal gallery module gallery 5.x-2.0
Clicking on domain.com/gallery shows me a list of galleries
Clicking on a gallery icon takes me to the domain.com/gallery/v/artist+a/ but I still see the same list of galleries - and "This is the main page of your Gallery" text.
So for some reason it is not drilling down into the gallery.
When I try it outside Drupal in the domain.com/gallery2/gallery/v/artist+a/ all is fine.
Any help would be greatly appreciated.
Thanks.
Posts: 7
Same problem here with clicking on a album just redirecting to the same page ... can someone post the changes necessary in .HTACCESS to correct this?
Posts: 1
Alcohol treatment cannot be equal to drug treatment. Moreover many “exclusive” treatment services in Los Angeles make the mistake of treating alcoholics and drug addicts the same method, while if the challenge faced by one group were similar to those faced by the other. But this cleanly isn’t the case. The fact is that alcohol addiction presents it’s wounded with a unique set of challenges on the road to recovery. An exclusive Heroin Detoxcenter that fails to recognize that much, can’t ever possibly expect to help its clients get where they need to go.
The Cliffside Malibu understands the nuances of alcohol rehabilitation. Cliffside’s alcohol treatment experts are important numbers in the field, and take a fantastic wealth of knowledge to their work. Of all the fashionable alcohol rehabs existing, this is why Cliffside is the special alcohol treatment purpose for expensive clients from as far away as Thailand and the Philippines. It’s also why there should be no doubt as to where your interests will be best served.
Alcohol recovery is an extraordinarily easily broken process. To complete it successfully, you’re going to need exactly the right kind of care from exactly the right kind of caregivers. Cliffside Malibu can give it to you with their private alcohol rehab programs. All that remains, now, is for you to make the right choice. The day you arrive at Cliffside’s secluded private estate will be the day you start remembering why you ever believed tomorrow to be a thing worth looking forward to. For the sake of the people who care about you, here’s hoping you can muster the courage to do what you must.
Posts: 1
I recently came across your blog and have been reading along. I thought I would leave my first comment.
White Board