Hi !
I've installed Gallery 2 successfully and I'd like to include it in Drupal 4.6.5.
I've activated the module "gallery" and, when I click on the section "Gallery", it says : Call to a member function on a non-object in <my_directory>/drupal-4.6.5/modules/gallery/gallery.module on line 327.
Do you know how to fix the problem ?
Thanks in advance.
Posts: 8
I've checked a little into the code, and $ret (at line 320 in gallery.module) is null.
In fact, it calls GalleryEmbed::init which calls GalleryInitFirstPass (line 109). And I don't find the declaration of this last function.
Can someone help me please ?
Posts: 37
Are you using gallery 2.1? The module works with 2.0 only right now. An update is in the making but not yet out.
globo
Posts: 189
What version of Gallery2 are you using? What version of gallery.module?
Posts: 8
I use Gallery 2.1 and gallery.module 4.6.0.
Should it work ?
By the way, I uploaded the directories with classes from Gallery 1 because they weren't in the Gallery 2 version.
Posts: 189
Nothing from Gallery1 is needed. Can you please explain exactly what you did in your last comment.
Gallery 2.1 and gallery.module 4.6.0 do not work together yet.
Posts: 8
When I installed Gallery2, some directories and files were needed :
- upgrade/po/sv.po
- upgrade/po/tr.po
- upgrade/po/vi.po
- upgrade/po/zh_TW.po
- upgrade/steps/
- upgrade/templates/
Since they were missing, I took them from the Gallery1 version.
By the way, can you tell me if Gallery 2.0 works well with gallery.module 4.6.0 ?
Thanks a lot.
Posts: 189
Yes, Gallery 2.0 works with gallery.module 4.6.0. Check out http://codex.gallery2.org/index.php/Gallery2:How_to_Embed_Gallery2_in_Drupal if you have problems.
I still think you should not need any G1 stuff, but it's probably unrelated to any gallery.module issues.
Posts: 8
I've started again everything from the beginning, with Gallery 2.0 and it works really well. Thanks a lot for your help. :D
Posts: 78
gallery.module for drupal works with G2.1 but only with drupal 4.7. check it out:
http://drupal.org/node/45159#comment-83889
------------------------------------------------------------------------------
...you can help, too!
Posts: 78
actually there is one working version, take a look at the begining of
http://drupal.org/node/45159#comment-83889:
http://drupal.org/files/issues/gallery_0.module
------------------------------------------------------------------------------
...you can help, too!
Posts: 2
I've got Drupal 4.7.4, Gallery 2.1 and the 4.7 version of the gallery module, yet I'm getting:
PHP Fatal error: Call to a member function on a non-object in /home/kbchomeo/public_html/gallery2/modules/rewrite/classes/RewriteApi.class on line 67
Any help would be appreciated.
Posts: 2
Nevermind. What a noob am I! The Rewrite module wasn't installed!
[img]http://media.urbandictionary.com/image/page/noob-56631.jpg[/img]