If Gallery2 is not under the Drupal-Root Directory, then the CSS-Paths from the Gallery Module are wrong.

CommentFileSizeAuthor
#3 g2forceout.patch732 bytesprofix898
#2 capture3.jpg9.85 KBWaldknoblauch

Comments

profix898’s picture

Can you please be a little more specific? How do the css paths look like and how should they be? Where do you have Gallery2 installed? Is this a G2 multisite install? If so, where is the codebase and where the sites? Do you get a warning on the 'Install' tab? Can you please check your 'variables' table for a 'gallery_outside' variable? It should be there and set to true.

Waldknoblauch’s picture

StatusFileSize
new9.85 KB

The Browser-Source produced by the gallery module looks like:
<style type="text/css" media="all">@import "/portal/gallery2/modules/core/data/gallery.css";</style>

But my Gallery2 Folder is not under Drupal Root ("portal"), it is under the Server Root. No G2 multisite. The Gallery2 filesystem path is correct.

I can not find a 'gallery_outside' variable in my database. I have updated from gallery module 1.0.

profix898’s picture

StatusFileSize
new732 bytes

What are your settings for 'Gallery2 URL or URI' and 'Gallery2 filesystem path'? As a workaround you can try the attached patch to manually set the 'gallery_outside' variable.

Its possible that we missed your layout in testing and nobody tried the betas with your configuration :( Sorry for inconvenience.

Waldknoblauch’s picture

Hello, i have now downgrade to version 1.0. no problem with this version. I wait for version 2.x :-) Nevertheless thank you for your work.

alexandreracine’s picture

Status: Active » Fixed

This is fixed? Good.

------------
Feel free to reopen but please look at the latest version first! It's probably fixed.

http://drupal.org/project/gallery

Closing (cleanup)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.