Gallery2 works stand alone drupal works stand alone. When useing gallery2 embed module things start going wrong.

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

Comments

kiz_0987’s picture

Did you make a typo in your path to gallery in the settings?

I notice "gallerey2" in your post: eg _gallery_init(gallerey2//embed.php)

bushi’s picture

I don't think so but tried it without a trailing slash as well and I also try going just to http://www.walkerpad.com/testsite//?q=gallery which seems to be correct (given that other modules like http://www.walkerpad.com/testsite//?q=admin work). I took a trailing slash out of the base url in settings.php (the documentation is really bad in this regard some places require one others don't) but the net effect is the same. Same error on trying to access embed gallerey

Type php
Date Thursday, August 18, 2005 - 09:48
User Griffon
Location /testsite/?q=gallery
Message _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.
Severity error
Hostname 128.107.253.38

if I remove the trailing slash in setting > gallery then the error dose update to

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 254

so net effect zero and the module settings says that it is needed.

-Griffon

bushi’s picture

After going back through and resetting everything, now I get page can't display error at http://www.walkerpad.com/testsite/?q=gallery not exactly an improvment but at least it's different. *sigh*

Can anyone post an exact walkthrough of the steps to make this work, the docs are somthing less then helpfull and folling seems to not be working for a good chunk of people.

kiz_0987’s picture

But your test gallery site is at:

http://www.walkerpad.com/testsite/gallery2/main.php

But you have put gallerey2 in your Drupal settings, instead of gallery2. This looks wrong to me.

bushi’s picture

I'm not sure I follow what you are saying.

Drupal is at www.walkerpad.com/testsite
gallery2 is at www.walkerpad.com/testiste/gallery2

the drupal settings > gallery is set to gallery2/

The gallery menue link from drupal leads to

http://www.walkerpad.com/testsite/?q=gallery

which as far as I can tell should be correct but returns a page not found. All other settings > gallery ../gallery2/ ect vairables lead to one error message or another as posted.

-Griffon

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.