Closed (won't fix)
Project:
Dashboard
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2010 at 15:11 UTC
Updated:
11 Jan 2024 at 06:33 UTC
Jump to comment: Most recent
I am getting a WSOD on admin/settings/dashboard/widgets. Am working on a clean D6 install with only admin_menu, dashboard, ctools and jquery_ui installed. When I turn on php error messages this is what I get
Fatal error: Call to undefined function drupal_build_form() in /Applications/MAMP/htdocs/playground/sites/all/modules/dashboard/dashboard.admin.inc on line 179
Comments
Comment #1
Anonymous (not verified) commented@aschiwi: install the views module and use the 6x-2.0 branch of Dashboard. Views is required and this is listed in the README.txt file.
M
Comment #2
merlinofchaos commentedJust as note, if you're using Views' form building stuff, you should probably use ctools' version of it, since you're already requiring CTools content types (I think?) and it's a little more mature than the Views version.
Comment #3
aschiwi commented@techsoldaten: thanks for the quick support. I am using the 6x-2.0 branch. I can find no mention of Views in its README.txt and Views is not listed as a dependency either.
After installing Views I can add widgets on admin/settings/dashboard/widgets as expected. They are not showing up on /dashboard yet, but that might be my fault, I will look through the settings some more.
Comment #4
Anonymous (not verified) commentedViews should be listed as a dependency in the README and in the info file. I will look into that and make sure they are there.
They were only added in the v2 of the module. That's what made me think you were on a v1 release.
After you have added a widget, it will appear on the widget browser. Click on the link for Add More Widgets to find them and add them to your dashboard.
M
Comment #5
aschiwi commentedI guess I found the problem. I downloaded dashboard with drush yesterday. Here's the README: http://drupalbin.com/14849 and the dashboard.info: http://drupalbin.com/14850
It looks fine in http://drupalcode.org/viewvc/drupal/contributions/modules/dashboard/READ... so I guess this was a drush issue.
Adding widgets works now as well. Thanks :)
Comment #6
stborchertJust for the record: neither the README.txt nor the .info contains informations about a dependency to views.
I've downloaded Version 6.x-2.0.
README.txt:
dashboard.info:
Stefan
Comment #7
Anonymous (not verified) commented@Stefan - *sigh* that is an issue with the d.o packaging script then.
Dependencies were added to the README.txt file here: http://drupal.org/cvs?commit=370778
Dependencies were added to the info file here: http://drupal.org/cvs?commit=370732
Those both happened on Monday.
M
Comment #8
Anonymous (not verified) commented@aschiwi: yeah, those are not the right files. Here is what is in CVS for the v2 branch:
http://drupalcode.org/viewvc/drupal/contributions/modules/dashboard/READ...
http://drupalcode.org/viewvc/drupal/contributions/modules/dashboard/dash...
I love packaging scripts and all their little quirks. It will probably work tomorrow.
M
Comment #9
plopesc