| Project: | Dashboard |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
After installing dashboard module I get this error:
PHP Fatal error: Cannot redeclare dashboard_add_ui() (previously declared in /var/www/html/modules/dashboard/dashboard.page.inc:13) in /var/www/html/modules/dashboard/dashboard.page.inc on line 28, referer: http://site/user
The site is active and I can't stop other modules to test where is conflict.
I would like to use Dashboard module instead of a combination of Advanced Profile, Author Pane and Panels, possibly somewhere in conflict with these modules...
Modules:
Drupal core 6.20
Administration menu 6.x-3.0-alpha4
Advanced Forum 6.x-1.1
Advanced help 6.x-1.2
Advanced Profile Kit 6.x-1.0
Author Pane 6.x-1.1
Calendar 6.x-2.4
CAPTCHA 6.x-2.3
Chaos tool suite 6.x-1.8
Charts and Graphs 6.x-2.6
CKEditor - WYSIWYG HTML editor 6.x-1.2
Compact Forms 6.x-1.3
Content Construction Kit (CCK) 6.x-2.9
Content Profile 6.x-1.0
Content Taxonomy 6.x-1.0-rc2
Context 6.x-3.0
Data 6.x-1.0-alpha14
Date 6.x-2.7
DHTML Menu 6.x-3.5
Diff 6.x-2.1
Features 6.x-1.0
FileField 6.x-3.9
FileField Paths 6.x-1.4
FileField Sources 6.x-1.2
getID3() 6.x-1.4
Image 6.x-1.1
ImageAPI 6.x-1.9
ImageCache 6.x-2.0-beta10
ImageField 6.x-3.9
jQuery UI 6.x-1.4
jQuery Update 6.x-1.1
Lightbox2 6.x-1.11
Link 6.x-2.9
LoginToboggan 6.x-1.8
Mail Editor 6.x-1.x-dev (2010-Dec-28)
Messaging 6.x-2.3
Mime Mail 6.x-1.0-alpha7
Modal Frame API 6.x-1.6
Node Relationships 6.x-1.5
Notifications 6.x-2.3
Notifications Rules 6.x-1.x-dev (2010-Dec-30)
OG Panels 6.x-2.0
Organic groups 6.x-2.1
Organic Groups - Multiple Mandatory Groups by Role 6.x-1.4
Panels 6.x-3.9
Panels Tabs 6.x-1.0-rc6
Pathauto 6.x-1.5
Printer, e-mail and PDF versions 6.x-1.12
Privatemsg 6.x-1.3
Rules 6.x-1.4
Schema 6.x-1.7
Search by Page 6.x-1.14
Search Files 6.x-2.0-beta4
Simplenews 6.x-1.3
Simplenews Content Selection 6.x-1.6
Simplenews Digest 6.x-1.x-dev (2010-Jul-11)
Simplenews Template 6.x-1.0-beta3
Skinr 6.x-1.6
SMTP Authentication Support 6.x-1.0-beta5
SWF Tools 6.x-2.5
Tabs (jQuery UI tabs) 6.x-1.3
Taxonomy Image 6.x-1.6
Taxonomy Manager 6.x-2.2
Taxonomy Menu 6.x-2.9
ThemeKey 6.x-3.2
ThemeKey Properties 6.x-2.4
Token 6.x-1.15
User Import 6.x-2.4
userplus 6.x-2.5
Vertical Tabs 6.x-1.0-rc1
Views 6.x-2.12
Views Bonus Pack 6.x-1.1
Views Charts 6.x-1.1
Views Slideshow 6.x-2.3
Views Table Highlighter 6.x-1.1
Voting API 6.x-2.3
Web File Manager 6.x-2.13-beta2
Webform 6.x-3.6
Workflow 6.x-1.5
Templates:
- Fusion 6.x-1.0
- Mix and Match 6.x-1.6
Comments
#1
today this happened to me... I have a block on the dashboard with a link to create node profile.. After creation.. node is created, but a white screen of death happened...
In my logs I have this "Cannot redeclare dashboard_add_ui() previously declared in dashboard.page.inc:13) in dashboard.page.inc on line 29" while reading response header from upstream, ...."
but.. it seems it is nothing to do with dashboard...
When I create a profile.. it redirects to /user/%uid
I have a panels setup for user pages... there is where the white screen happen... just entering /user/%uid to test... it gives the error. and disabling it.. then no error happen... but why panels would give error in dashboard_add_ui() ? I do not know
#2
Hi, it happened to me too, simply visiting the home page of the site. This happened one time only; after refreshing the page I got the right page content, normally.
#3
same problem here....
#4
ditto. same problem here. (using pressflow)
#5
Here's a patch that we applied to our site. There's an include to dashboard.page.inc in dashboard_user() but there's also a require_once to it in dashboard_theme(). Not sure why it's set up that way, but we've basically just commented out the include and left the require_once. Everything seems to be running fine on our site so far.
#6
After adding user view panel page and entering url mysite.com/user getting this error as well.
Without succes i tried patch above.
#7
I've got the same problem as #6. Dashboard works fine but if I combine it with a users panels page, I get the redeclaration error. Unfortunately, the patch doesn't work for me because I can't find how dashboard.pages.inc is getting included twice.