Hi,
I don't know if you all have the same Problems...
but my problem is:
after installing drupal - works fine
and installing gallery2 - works fine
i installed the gallery2 module

when i activate the module there is no error... but nothing is shown (navigation block is active - thats not the point)

when i try to change the path to gallery2 there is always an error
"
warning: _gallery_init(/embed.php) [function.-gallery-init]: failed to open stream: No such file or directory in C:\AppServ\www\drupal-webseite\modules\gallery.module on line 237.

warning: _gallery_init() [function.include]: Failed opening '/embed.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\drupal-webseite\modules\gallery.module on line 237.
"
it is the same in windows and on linux

my path is drupal/ and drupal/gallery2

does someone has an idea?

greetings
dave

will there be a new gallery module for the gallery2, because now it is final (rc1)?

Comments

lvthunder’s picture

What are you trying to change the path too? I think that path is a relative path so it should be gallery2/ (the default). Does gallery come up when you go to http://yoursite.com/drupal/index.php?q=gallery.

drazzig’s picture

Hi,

Had same problem just now, fixed it by adding a preceding slash in 'relativeG2Path' => $relativeG2Path line (247), changing to:

'relativeG2Path' => '/' . $relativeG2Path,

HOWEVER: Now my CSS isn't working properly, all my font has gone tiny again even though I changed the font size to 100% as suggested on a previous issue (which worked). This is because a preceding slash is being put on the link href in the drupal header now. Still getting all the other CSS formating, not sure why this has changed. If you can fix this I'd be very grateful.

bushi’s picture

I have allmost the same issue but changing that line dosn't seem to reolve it for me (no effect). Running 4.6 and gallery2 RC1. Frustration city :p. Both work alone www.walkerpad.com/testsite www.walkerpad.com/gallery2

warning: _gallery_init(gallerey2//embed.php): failed to open stream: No such file or directory in /home/httpd/vhosts/walkerpad.com/httpdocs/testsite/modules/gallery.module on line 235.
warning: _gallery_init(): Failed opening 'gallerey2//embed.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/walkerpad.com/httpdocs/testsite/modules/gallery.module on line 235.

Fatal error: Undefined class name 'galleryembed' in /home/httpd/vhosts/walkerpad.com/httpdocs/testsite/modules/gallery.module on line 251

Thanks

-Griffon

vidy’s picture

reply to:
#1 submitted by lvthunder on August 11, 2005 - 04:56
What are you trying to change the path too? I think that path is a relative path so it should be gallery2/ (the default). Does gallery come up when you go to http://yoursite.com/drupal/index.php?q=gallery.

Yes this works!!!!
---------------------
reply to:
#2 submitted by Drazzig on August 16, 2005 - 22:45

Hi,

Had same problem just now, fixed it by adding a preceding slash in 'relativeG2Path' => $relativeG2Path line (247), changing to:

'relativeG2Path' => '/' . $relativeG2Path,

HOWEVER: Now my CSS isn't working properly, all my font has gone tiny again even though I changed the font size to 100% as suggested on a previous issue (which worked). This is because a preceding slash is being put on the link href in the drupal header now. Still getting all the other CSS formating, not sure why this has changed. If you can fix this I'd be very grateful.

No it didn't work :(

other ideas?
thanks

dave

alexandreracine’s picture

Status: Active » Closed (fixed)

Hi, since there was some release lately please check out...

1- The G2 version 1.0 of gallery.
2- The latest version of this module.