drupalfun.com
Panel Creation Errors cause "Invalid Panel Name" at "Profile panel" step
Friend:
I've followed your book carefully, over and over, before posting here, and I understand the concepts behind it.
Following instructions carefully for creating the panel page for profiles, I always get this huge block of Error messages, which I'm sure must have something to do with the fact that clicking ADD ARGUMENT, with NODE ID selected yields the error message "INVALID PANEL NAME":
*Really* need some feedback, and THANK YOU for your book and help!
[CODE]
* user warning: Table 'rscott_BOL2c.panels_object_cache' doesn't exist query: DELETE FROM panels_object_cache WHERE sid = '1d9000a45dcb101ca0bbdd256e694f66' AND obj = 'panel_object:panel_page' AND did = 0 in /home/rscott/public_html/backsideoflove/kittery/sites/all/modules/panels-6.x-2.0-alpha3/panels/panels.module on line 275.
* user warning: Table 'rscott_BOL2c.panels_object_cache' doesn't exist query: INSERT INTO panels_object_cache (sid, obj, did, data, timestamp) VALUES ('1d9000a45dcb101ca0bbdd256e694f66', 'panel_object:panel_page', 0, 'O:8:\"stdClass\":29:{s:3:\"pid\";s:1:\"5\";s:4:\"name\";s:7:\"profile\";s:3:\"did\";s:1:\"6\";s:5:\"title\";s:7:\"profile\";s:6:\"access\";a:0:{}s:4:\"path\";s:6:\"node/%\";s:10:\"load_flags\";i:0;s:6:\"css_id\";s:0:\"\";s:3:\"css\";s:0:\"\";s:9:\"arguments\";a:0:{}s:8:\"displays\";a:0:{}s:8:\"contexts\";a:0:{}s:13:\"relationships\";a:0:{}s:9:\"no_blocks\";s:1:\"0\";s:16:\"switcher_options\";a:0:{}s:13:\"switcher_name\";N;s:13:\"switcher_type\";N;s:4:\"menu\";s:1:\"0\";s:8:\"menu_tab\";s:1:\"0\";s:15:\"menu_tab_weight\";s:1:\"0\";s:10:\"menu_title\";N;s:16:\"menu_tab_default\";N;s:28:\"menu_tab_default_parent_type\";N;s:17:\"menu_parent_title\";N;s:22:\"menu_parent_tab_weight\";N;s:4:\"type\";s:5:\"Local\";s:7:\"primary\";O:14:\"panels_display\":13:{s:4:\"args\";a:0:{}s:7:\"content\";a:0:{}s:6:\"panels\";a:0:{}s:16:\"incoming_content\";N;s:6:\"css_id\";N;s:7:\"context\";a:0:{}s:15:\"layout_settings\";a:0:{}s:14:\"panel_settings\";a:0:{}s:5:\"cache\";a:0:{}s:5:\"title\";s:0:\"\";s:10:\"hide_title\";s:1:\"0\";s:6:\"layout\";s:14:\"twocol_stacked\";s:3:\"did\";s:1:\"6\";}s:7:\"display\";R:28;s:7:\"current\";s:7:\"primary\";}', 1239806675) in /home/rscott/public_html/backsideoflove/kittery/sites/all/modules/panels-6.x-2.0-alpha3/panels/panels.module on line 268.
[/CODE]
Related Questions
Responses
2. Alpha4 Panels install ruins everything!
Yes! You hit it on the head! This should be documented!
When first setting up Drupal I apparently got a copy of Panels 2 Alpha *4* (where did I get that? It doesn't even seem available for download??).
After turning to the book, and finding that none of her instructions made sense for my Panels options, I _did_ properly uninstall Alpha4 (several times trying to solve this) before installing Alpha *3* (and of course running UPDATE).
BUT, as you referred to, uninstalling Panels Alpha 4 properly does NOT delete all of the tables properly, such that subsequently installing Panels 2 Alpha *3* leads to the above rash of bombs when creating Panel Pages, per the book.
So, anyone stumbling on this with Panels problems while following the Good Book, try uninstalling Panels completely and properly, then use PHPMyAdmin to go in and manually yank out any PANELS* tables with a pair of pliers, then re-install the Panels 2 Alpha *3* module cleanly, and your problems should go away!
THANK you for responding!! I've wasted *so* many freaking hours on this! (but seriously, how the heck did either of us have an Alpha4 version installed, when you can only download Alpha3 as of this writing (Apr 2009)?
Bless you,
--Bobby


1. I understand the pain
I had the same exact thing happen to me. I'm a bit tired right now so hopefully I am remembering right, but I think the problem for me ended up being that I had tried a previous version of Panels (tried Panels 3 instead of 2), figured out it wouldn't work right, tried to uninstall it but apparently wasn't successful, and installed Panels 2 over top. I thought everything was fine until I got that error and couldn't figure it out.
Anyway, the fix for me was to uninstall panels the right way, then go to my Drupal database (using phpmyadmin in my case) and delete all the tables that begin with "panels" in the title. After that, I installed Panels 2.0 and it didn't give em those errors anymore. I think it is something messed up in the database. Maybe smth different happened with yours but I suspect it's worth a try to uninstall, clean the panels tables out, and reinstall.