Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since I did not well submit the first time my bug report, here is the correct one.
This should be the issue to use to collaborate on theses versions : Drupal 4.6.x, Gallery 2.1, gallery.module 4.6
Here is what I get.
Fatal error: Call to a member function on a non-object in [path to the module]/modules/gallery.module on line 319
The gallery in standalone works pretty well actually.
Here is a patch that could mabe work, but does not work for the moment. If someone would like to play with it, please check it out.
Comments
Comment #1
fazizi CreditAttribution: fazizi commentedWhat member function was trying to be called? I bet it's the isError method.
Take a look at my comment:
http://drupal.org/node/45159#comment-79711
Fi
Comment #2
alexandreracine CreditAttribution: alexandreracine commentedMmmm, no line 319 is the second line here
Comment #3
alexandreracine CreditAttribution: alexandreracine commentedBut more important, with the gallery.module version 3 that you can download here : http://drupal.org/node/45159#comment-80514
Here is what I have when I go in the admin area of the gallery.module setting in admin/settings/gallery
"gallery
Array"
And then two buttons.
There is no fields to put data in.
Comment #4
patchak CreditAttribution: patchak commentedGallery 2.1 and drupal 4.6 will not work together?
Is there workaround or I have to move my drupal site to 4.7???
Comment #5
alexandreracine CreditAttribution: alexandreracine commentedPatchak - Short answer : no.
Comment #6
Inform8n CreditAttribution: Inform8n commented>> Patchak - Short answer : no.
To which of his questions? I really don't want to move to Drupal 4.7 yet and potentially break more modules I have installed. =/
Comment #7
alexandreracine CreditAttribution: alexandreracine commentedInform8n:
Drupal 4.7 is not stable yet, this can give you some hints :) Will it break some stuff? Yep.
Currently : Gallery 2.1 is out, but gallery.module does not work with G2.1 and Drupal 4.6.x.
You can download Drupal 4.7 cvs, gallery.module cvs and G2.1 and make them work, but expect some bugs or bumps along the road.
There is an old saying : If it is not broken, don't fix it.
Comment #8
wilh CreditAttribution: wilh commentedSo is there an effort going on to address 2.1 and 4.6, or do we just have to wait for 4.7 to become stable?
Comment #9
MichelleI don't think anyone is working on 2.1/4.6 unless I missed a post.
Michelle
Comment #10
centipod CreditAttribution: centipod commentedCould someone please just tell the Gallery folks to not say on their website that 4.6 can embed Gallery2? Unless its true?
Comment #11
kiz_0987 CreditAttribution: kiz_0987 commentedBut it is true. People have been using Drupal 4.6 with Gallery 2.0 for months now (since Gallery2 first came out). The issue is that there is no supported version of gallery.module for Drupal 4.6 and Gallery 2.1. The supported choices are:
Drupal 4.6 and Gallery 2.0
Drupal 4.7 and Gallery 2.1
Comment #12
bharat CreditAttribution: bharat commentedI've submitted a patch to DRUPAL-4-6 that makes it work with Gallery 2.1. This is the code that we use on the Gallery website. Works fine.
http://drupal.org/node/45159#comment-90780
Comment #13
kiz_0987 CreditAttribution: kiz_0987 commentedBharat's patch has been committed into the CVS for version 4.6. There is now gallery.module (G2.0) and gallery.module.G2.1 (G2.1). When using Gallery2.1 you have to remove/rename gallery.module and rename gallery.module.G2.1 to gallery.module, as explained in INSTALL.txt.
Thanks Bharat.
Comment #14
(not verified) CreditAttribution: commented