Panels does not overtake user profile page after install / missing panels setup for user
POVYLAZZZ - June 7, 2009 - 17:12
| Project: | Advanced Profile Kit |
| Version: | 6.x-1.0-alpha3 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I installed his module exactly like it is written in README.txt. Then I opened my admin profile I so a link "Create User Profile" I edited my profiles user profile and here is the result how looks the profile:
http://superpc.lt/FTP/untitled.bmp
I see that it is a bit different from what I saw after pressed "Try out..." link.
How to fix this?

#1
That's what you get with just content profile when you don't have CTools/Panels taking over the user page. So you've got something set up wrong. I don't have the time for in depth support on this unfinished module but I will leave the issue active in case some other user would like to jump in and walk you through the installation.
Michelle
#2
Did any one come up with a fix to this problem? I'm facing the same problems with this module.
#3
There is a weird issue with the default panel page. If any of the style settings are changed for the panel, panes disappear and/or javascript is not enabled.
How can I disable the default panel altogether? I can't seem to delete it.
#4
Does anyone have a solution to this problem? I've done an upgrade from alpha 2 and ranned into the same problem....
#5
@drupal101: There isn't an upgrade path from Alpha 2. Panels 3 has some code to upgrade from Panels 2 that may get you part way there (I havent' tried it) but there isn't anything in APK itself that will upgrade the APK parts.
Michelle
#6
Hello Guys,
I seem to be getting the same.
Installed the latest of everything, Panels 3, ctools, APK and there are no predefined Panels for user pages.
I even tried uninstalling and reinstalling APK but no luck.
#activelyOUT I believe your issue is a different one.
#7
#8
Also was trying to import as panel the contents of advanced_profile.delegator_default.inc but was unsuccessful. That seems to contain the panel setup.
Could someone who succeeded and is reading this post a Panels 3 compatible default Advanced Profile panel so we can test it?
#9
The handler that comes with APK is compatable with P3. I don't know why some of you are having trouble with it but I don't have time to work on this module right now so it's "as is" for the next couple of weeks.
Michelle
#10
Thanks Michelle, will try to poke around a bit more :)
So, when I try to do this import using panels-6.x-3.x-beta2 I get an "unable to interpret page code"
I am attaching my import as well. This is a direct copy of the HANDLER from the advanced_profile.delegator_default.inc file in includes/panels
#11
I get that too.
It only seems to happen to user/%user (I have not tried it for node/%node). Import works for the custom panel pages that you can create.
I think this is more of a panels issue than an apk issue.
also for those who can't override, check to see if you have Realname installed or anything else that takes over the theme function
http://drupal.org/node/443880#comment-1582752
Chris
#12
Hi Chris,
Just to be clear, so you managed to successfully import the user panel from APK
If yes, how?
If we cannot even import there is not much we can do with the realname patch. :)
Meanwhile I also posted this at panels, if it is related more to that: http://drupal.org/node/488528
#13
You don't need to import anything. If it isn't picked up automatically then you have something else wrong and trying to import it isn't going to solve that.
Michelle
#14
Thanks Michelle, so meaning I have sg else wrong makes it sound like this is installation specific.
Can someone export the user profile then who managed to install this into Panels 3 and post it here? I believe that would make things easier.
Also , has anyone succesfully managed to get the user panel override inside the latest panels (3.beta2) after installation?
#15
@giorgio79: What you are asking for is what already comes with the module.
Michelle
#16
Thanks Michelle, it seems it did not come with my module. :)
I assumed the sample I attached at #10 is the panels script I can import manually. (that was from advanced_profile.delegator_default.inc)
If that is not it could you kindly show me where is the exported setup I could try copying and pasting manually? As on automatic install, my panels setup was empty for the user profile. I tried uninstalling and reinstalling but no luck.
#17
Yes, that's the file. In theory, the lines between the two comments should be importable, though I've never tried it. My point, however, is that if it is not working for you already, importing what is not working for you isn't going to be helpful.
That's all the more time I can spend on this right now. I'm sorry to have to leave the module in an "as is" state but I am unlikely to be able to invest more time in it until July as I am swamped with forum stuff right now.
Michelle
#18
Important note, the Delegator module comes with CTools and *must* be turned on for the panels page to be able to take over the profile page. If you've just enabled CTools, that will create this exact scenario. I'd recommend maybe mentioning this in the readme, or on the page for advanced profile.
#19
Doh! I just sort of assumed folks would turn that on, I guess. Yeah, that's a critical module. There's no delegation without delegator. :)
Michelle
#20
Hi Michelle,
I had the delegator on and am having this same problem.
Something I noticed. When going to panel pages admin the actual APK panel is not listed there (it should be right). But when going to the user profile there is an edit panel tab. When looking at the actual content of the panel it is empty. The panes that existed before upgrade are not there any longer. I've added a few panes but still nothing shows up on the actual profile page, just a blank screen.
I've set up a copy of my site on a test server if you'd like to log in and see. Just let me know and I'll email you the credentials
Phil
#21
I think I have made some progess on this. It seems panels 3 things changed a bit. I did not see a panel page and I thought I was missing sg. But then I went to system pages, and there is an option like
"Customize a system page". When I select "User Page" there it is showing there as "overridden". There is also an option called "Import task handler" and when I tried to import the stuff I attached at #10 I get the message handlersis already imported.
So it is working, just that panels 3 handles the user page as a system page, not as a separate panels page.
When I go to edit the user page panel content, however, most of hte panels say:
"Deleted missing content type content_field"
And when I go to the profile page I get:
" user warning: Table 'drupal_user_relationships' doesn't exist query" probably because I dont have user relationships installed. :)
#22
Giorgio I think your onto something. I am seeing the same.
#23
Same issue. Subscribing.
According to the Devel Module, advanced profile or Panels doesn't even get rendered on user profile page..
http://i41.tinypic.com/4tvxh0.png
#24
Same issue. Subscribing.
#25
Ok, I just spent the last hour starting from scratch, building a completely new Drupal site, then installing APK step by step following the readme. I ran into a few things I needed to clean up but mostly it just worked. I don't know what's causing all the problems you folks are running into but I suspect you're missing a step somewhere or not using the right version of something. The best thing I can suggest is to completely uninstall APK, including reverting the user page handler and any views you have modified and starting over following the readme exactly. The updated readme is here:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/advanced_pr...
I know that way works because I just did it.
Here's the versions of what I'm using:
Author Pane 6.x-2.x-dev (2009-Jun-24)
Content Construction Kit (CCK) 6.x-2.4
Content Profile 6.x-1.0-beta4
Chaos tool suite 6.x-1.x-dev (2009-Jun-23)
Link 6.x-2.6-beta1
Panels 6.x-3.x-dev (2009-Jun-13)
Views 6.x-2.x-dev (2009-Jun-25)
I don't know what more to tell you folks. If anyone has any ideas, I can try to help, though my time is still super limited for a while. Otherwise, I don't know what else I can do here.
Michelle
#26
hmm, followed that exactly and it's still not working. Although not on a fresh install, as I assume that would work.
A few things I noticed (after updating to the dev versions mentioned above):
Maybe this has to do with an interfering module. I have the following modules installed:
Perhaps other people experiencing the same problem could list their modules and we could experiment with the similarities.
#27
#1 is either a Panels or a CTools error. I suggest checking those queues to see if the error has been reported.
#2 isn't part of APK. I don't know what link you are talking about. Possibly something Content Profile is doing?
Michelle
#28
Fixed this by installing the newest dev version of the views module (2009-Jun-26). Works great!
On a side note, looks like a conflict between the Devel Module and Panels caused that error, among other issues (unrelated to the problems here, but still rendering panels unusable) - see here.
Edit: Just reactivated the RealName module and that breaks it too, not sure if that was the original thing that broke it. Could be a combination of the two. Also found info on that and a patch here.
#29
#30
Automatically closed -- issue fixed for 2 weeks with no activity.