Upgrading to Drupal 6 from 5, gallery module update fails
|
Roland B Roberts
Joined: 2006-03-27
Posts: 9 |
Posted: Thu, 2009-09-10 05:34
|
|
I'm upgrading (using a test site) from Drupal 5 to the latest 6. Having reached the point where I start updating modules, I've installed the most recent gallery module 6.x-1.0 then enabled it in Drupal. Next I run the update script and get this message: An error occurred. http://test.astrofoto.org/update.php?id=5&op=do <br /> <b>Fatal error</b>: Call to undefined function views_invalidate_cache() in <b>/var/www/test.astrofoto.org/docroot/modules/image/contrib/image_gallery/image_gallery.install</b> on line <b>97</b><br /> I'm not sure how to prcede at this point. I'm doing this on Fedora 11, and the test site shares the underlying gallery installation with the main site (database and files), but the drupal installations are completely separate at present (database and files). I've configured the gallery plugin in the old drupal 5 site to recognize the test site a a "friendly referrer." Any ideas on what is happening here? Am I missing another plugin someplace? |
|
| Login or register to post comments |

Posts: 9
Okay, maybe I've found the answer. It look like I need to have the views module installed. In Drupal5, I had this and it has a function named views_invalidate_cache(). This gets me through the upgrade successfully. I still have other problems, but they are different, so I'll start another thread for that....