Upgrading Gallery embedded in Drupal - Click goes to Drupal Header & Menu
|
StephenW
![]()
Joined: 2005-12-23
Posts: 25 |
Posted: Sat, 2006-10-07 18:39
|
|
(I'm not sure,but I may have upgraded to 2.1.1 when it came but at this time the "creating thumbnails when upgrading" didn't work. (Gallery 2 couldn't find the GD libraries or ImageMagick)) Within the last week, hoping that the new installation would would be able to find the image librariess, etc. I upgraded to Gallery 2 version 1.1.2. Now,even though the album pictures on the front of the standalone Gallery2, and I can log in, I can't even navigate inside the albums, or into the admin section. Every time I click on an album, or click on the admin link, even though the URL address shows correctly, the Drupal header and menu block show up with a blank page. Go here and see: http://www.winterssewing.com/drupal/gallery2/main.php One note, the pictures in my Drupal website (which Gallery 2 in embedded within) do show as they are supposed to. (go here to see that the pictures show: www.winterssewing.com/drupal) Before I did the upgrade I had made a complete backup of my entire website. I also made a backup of the Gallery 2 MySQL database. Before I attempted the upgrade, as a test, I did a clean installation (with a new MySQL database) of Gallery 2.1.2 into an empty test directory to see if everything was going to work. This test installation worked fine. However, when I did the upgrade, using the existing MySQL database, the installer went through the upgrade process. I'm wondering if there is something either in the database, or in the Drupal 4.7 Gallery2 embedded feature causing this. If I can't fix it soon, I'm considering just using the Full Backup to just restore the website back to it's previous condition. Any ideas of what to do now? Thanks,
|
|


Posts: 32509
first, i went to your standalone g2.
i saw that thumbnails don't show.
i looked at the html source code of your page and found a link to one of the thumbnails.
i entered the address in the browser to see what happens if i try to fetch the thumbnail. i used: http://www.winterssewing.com/drupal/gallery2/d/2897-2/vidslide.jpg
-> it shows a drupal page instead of the thumbnail.
clearly, it's a URL rewrite / short URLs / mod_rewrite issue.
the mod_rewrite rules from drupal (probably in drupal/.htaccess) are interfering with g2's mod_rewrite rules.
if you disable the short urls in drupal and g2, it will work again.
gallery.menalto.com shows that one can configure short urls such that they work for drupal and g2 at the same time without interfering.
but i didn't do the setup.
maybe a drupal / g2 guy can help you there.
moving the topic to the integration forum.
Posts: 189
See http://www.drupal.galleryembedded.com/index.php/DRUPAL_Gallery2_URL_Rewrites for how to configure URL rewrite.
Posts: 25
Valiant,
Thank you so much for giving me some ideas about what the problem is. I didn't have a clue what was wrong or how to fix it. Your explanation has at least given me some direction about fixing the problem. Thanks a bunch.
Kiz,
Thanks for the link to "how to configure URL rewrite". That helps me know where to go to find answers.
Best Wishes,
Stephen W.
www.winterssewing.com/drupal