Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Just updated panels to 6.x-3.7 and ctools to 6.x-1.7 and now get the following error when browsing to my site:
Fatal error: Cannot redeclare panels_stylizer_lipsum() in sites/all/modules/panels/panels_stylizer/panels_stylizer.module on line 241
Comments
Comment #1
gekido CreditAttribution: gekido commentedthink i figured it out - just uploaded the new directory into the old module directory location and didn't do a clean re-install.
spotted this issue: http://drupal.org/node/856986 which pointed me in the right direction.
if major things are moved / reorganized etc would be nice to mention that we need to do a clean reinstall from scratch - 99% of the time when updating a module, i just upload & untar the new module in place without removing the old one. guess this is probably dangerous but has worked with every other module i've done over the past few years until now ;}
*update - yeah, deleting the old panels & ctools modules & reuploading them worked.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedYes, the panels_stylizer module was removed. When updating you need to delete the directory before unpacking the tarball.
Comment #3
gateway69 CreditAttribution: gateway69 commentedsomeone should probably put this in the readme, its gotten me twice already.. :(
Comment #4
glennpratt CreditAttribution: glennpratt commentedThat is normal procedure for updating Drupal modules and Drupal core. One specific module probably isn't a place to document that.
Upgrading modules
To be fair, that page is far from perfect (disabling modules for minor versions is probably a mistake).
Comment #6
jeffreyvddb CreditAttribution: jeffreyvddb commentedThis problem occured to me just yet.. How can I fix it? Because I can't reach my Drupal installation anymore. I already tried to remove the module folders (ctools and panels) from the server and upload them again. That didn't work..
Comment #7
merlinofchaos CreditAttribution: merlinofchaos commentedIf removing the folders didn't work, the only answer is that you did not do it correctly, and you should try it again and make absolutely certain that the panels folder is completely removed and then unpacked from a fresh tarball.
Comment #8
jsgammato CreditAttribution: jsgammato commentedRemoving it and then uploading the latest module worked for me (so far anyway...)
Thanks!
Comment #9
vip_sa CreditAttribution: vip_sa commentedWell I removed the folder completely. Cleared the cache downloaded the latest dev version and still I cannot access my website at all with the panels module in the modules folder.
Comment #10
j99mac CreditAttribution: j99mac commentedI am getting the same error and can not access my site. Is there any way to be able to reaccess my site?
Comment #11
enjoy777 CreditAttribution: enjoy777 commentedhi
If you cannot get back your site. Try this
Go to you dbase and find table system there you should change status for panels_stylizer and for stylizer from 1 to 0. Maybe this can help.