Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-rc1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
3 Jul 2008 at 17:22 UTC
Updated:
12 Oct 2018 at 22:50 UTC
Comments
Comment #1
etamar commentedHave upgraded my Drupal installation to 5.12, ran update scripts, and finally got to reinstalling the new Views module.
After successfully turning the old Views module off, copying the new one, and activating Views module successfully also, I have attempted running update.php to apply update commands.
The following errors have occured, rendering Views module inactive.
Fatal error: Call to undefined function db_drop_table() in /home/lfamlar1/public_html/drupal-5.3/modules/views/views.install on line 182
Invalid argument supplied for foreach() in /home/lfamlar1/public_html/drupal-5.3/update.php on line 542
array_merge() [function.array-merge]: Argument #2 is not an array in /home/lfamlar1/public_html/drupal-5.3/update.php on line 309.
Missing argument 2 for views_ui_help() in /home/lfamlar1/public_html/drupal-5.3/modules/views/views_ui.module on line 156.
Comment #2
merlinofchaos commentedFirst, NEVER change an issue from a Drupal 6 issue to a Drupal 5 issue in the Views queue, because they're different software packages. It's just pollution. It confuses the issues and harms the existing flow.
Second, why are you trying to install a Drupal 6 module on Drupal 5? Surprise, it won't work.
submodality: Somehow I'd missed this issue in the queue, sorry. It probably should've been filed as a bug report.
Comment #3
merlinofchaos commentedsubmodality: I've never seen this error, and according to the documentation the 2nd argument for hook_help isn't optional, so the question for me would be: What's *calling* hook_help without the 2nd argument and why?
Comment #4
merlinofchaos commentedClosing after a year with no response to #3.