[Drupal] Call to a member function on a non-object
CyberKate
Joined: 2006-02-28
Posts: 8 |
![]() |
Hi ! I've installed Gallery 2 successfully and I'd like to include it in Drupal 4.6.5. Do you know how to fix the problem ? Thanks in advance. |
|
CyberKate
Joined: 2006-02-28
Posts: 8 |
![]() |
I've checked a little into the code, and $ret (at line 320 in gallery.module) is null. Can someone help me please ? |
|
globo
![]()
Joined: 2005-02-07
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 |
|
kiz_0987
Joined: 2005-02-27
Posts: 189 |
![]() |
What version of Gallery2 are you using? What version of gallery.module? |
|
CyberKate
Joined: 2006-02-28
Posts: 8 |
![]() |
I use Gallery 2.1 and gallery.module 4.6.0. By the way, I uploaded the directories with classes from Gallery 1 because they weren't in the Gallery 2 version. |
|
kiz_0987
Joined: 2005-02-27
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. |
|
CyberKate
Joined: 2006-02-28
Posts: 8 |
![]() |
When I installed Gallery2, some directories and files were needed : 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. |
|
kiz_0987
Joined: 2005-02-27
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. |
|
CyberKate
Joined: 2006-02-28
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 |
|
igrcic
![]()
Joined: 2005-04-19
Posts: 78 |
![]() |
gallery.module for drupal works with G2.1 but only with drupal 4.7. check it out: |
|
igrcic
![]()
Joined: 2005-04-19
Posts: 78 |
![]() |
actually there is one working version, take a look at the begining of http://drupal.org/files/issues/gallery_0.module ------------------------------------------------------------------------------ |
|
andrewspringman
![]()
Joined: 2006-12-19
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. |
|
andrewspringman
![]()
Joined: 2006-12-19
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] |
|