Archive for February 23rd, 2008

Drupal, Gallery2 integration, and a recent module update

I have another website that runs Drupal, with Gallery2 embedded. Yesterday I upgraded the Drupal module which does this. I had problems.

Suddenly, my site was unavailable for anyone who was not logged in. Everyone attempting to access the site received this message:

Fatal error: Call to undefined function drupal_get_path() in /path/edited/for/this/blog/gallery.module on line 4

Hmm. That’s not good. I read through all the sources for each updated file and nothing looked out of place. I was quite confused as to why this was happening. On a hunch, I disabled the Drupal caching mechanism for the site by browsing as the site admin, user #1, to admin/settings/performance and completely disabled the cache. This is a relatively low traffic site anyway, so it shouldn’t make any difference. That fixed the problem, at least as far as I can tell. The site appears to be accessible from multiple computers in varied locations, so I think we are good.

Hopefully this will help someone else out there who is having the same issue with this module update. If not, it will at least help me remember what I did. :)

9 comments February 23rd, 2008


Categories

 

February 2008
S M T W T F S
« Jan   Mar »
 12
3456789
10111213141516
17181920212223
242526272829  

Site Content License

The content on this site is
© Matthew Helmke.

Unless otherwise noted, content on this site is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Creative Commons License

Blogroll

Interesting Sites

Archives

Spam Blocked