Hello,
I was using panels 6.x-2.0-alpha3 version (couldn't find 6.x-2.0-alpha3 while posting this issue so chose 6.x-3.0-alpha3) for all these days and didn't have any problem, But recently I tried to upgrade it to 6.x-3.2.
And now I am getting this error: 'An illegal choice has been detected. Please contact the site administrator.'
So, If anybody could provide a solution for this, I would appreciate it.
Should I upgrade step by step ( instead of upgrading directly from 6.x-2.0-alpha3 to 6.x-3.2) so as to avoid this error? Will this help?
Is there any stable version from 6.x-2.0 series? I couldn't find one on View all releases page.
Frankly, I don't have any knowledge about php and these errors.
Thanks,
Saurabh.
Comments
Comment #1
merlinofchaos commentedNo, Panels 2 was unstable and has been completely deprecated.
On what page are you when you get this error? What exactly were you doing when it happened?
Comment #2
saurabhi commentedSorry for my late reply. After checking my issues for 4 to 5 days without any answer, I stopped checking.
Now,
When I realised that I am getting this kind of error while upgrading, I reinstalled my backup of panels and everything was fine.
Its kind of weird now because I can't reproduce this anymore.
when I delete my older panels folder with new panel version 3 and (before doing anything) just get back to my website, First I get these errors
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'panels_page_access_handler' was given in C:\xampplite\htdocs\drupal-6.9\includes\menu.inc on line 452.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'panels_page_access_handler' was given in C:\xampplite\htdocs\drupal-6.9\includes\menu.inc on line 452.
If I continue with placing ctools and then enabling panels 3 and ctools, everything is still fine except that I can't get my home page anymore.
It says that page cannot be found. I can find only 'pages' link in site building. No trace of Panels link.
After this, I haven't tried running update.php file yet. I am afraid of it.
Also I am quite at ease with this old 6.x-2.0-alpha3 version. but as drupal insists on upgrading to new version ( and as I was dumb enough not to do it at that time :-( , I thought may be I should do it now.
What is your advice now?
should I delete that front page altogether and build again with panels 3? Apart from that front page I haven't created anything with Panels.
Comment #3
merlinofchaos commentedYou absolutely must run update.php to transfer the data from Panels 2 to Panels 3. You should backup your site database first.
Comment #4
saurabhi commentedworked!
Thanks, Merlinofchaos!
Now I have upgraded from panels 2 to panels 3.
First I did a backup and then changed panels 2 and then placed panels 3 with ctools.
All the queries were executed smoothly.
I have checked my website. No problem what so ever.
Thanks, Once again!
Comment #5
merlinofchaos commentedYou have no idea how relieved I am to hear that!