Closed (won't fix)
Project:
Dashboard
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 11:57 UTC
Updated:
11 Jan 2024 at 06:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hedac commentedtoday 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
Comment #2
matteogeco commentedHi, 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.
Comment #3
dob_ commentedsame problem here....
Comment #4
dublin drupaller commentedditto. same problem here. (using pressflow)
Comment #5
jason@blaze commentedHere'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.
Comment #6
held69 commentedAfter adding user view panel page and entering url mysite.com/user getting this error as well.
Without succes i tried patch above.
Comment #7
stevecowie commentedI'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.
Comment #8
plopesc