I'm working on a new D6 site (http://test06.lightbeingcreations.org) and need to use panels, so have to install ctools. However, once I've ftp'd the files up I'm getting a fatal error whenever I try to go to the modules page to activate it!

Fatal error: Class 'panels_display' not found in /home/.krone/dubber/test06.lightbeingcreations.org/sites/default/modules/ctools-6.x-1.0/ctools/ctools_plugin_example/ctools_plugin_example.pages_default.inc on line 99

This is obviously a bit of a problem as without ctools panels won't work.

I've installed ctools fine one other sites, so don't understand what's going on.

Can anyone help?

Comments

Dubber Dan’s picture

any one?

merlinofchaos’s picture

Status: Active » Fixed

You should probably disable the plugin example module. I'm not sure why it's using a panels specific thing, but it's just an example.

Dubber Dan’s picture

And where would I find that as it's not listed under the modules list?

merlinofchaos’s picture

It is called, officially "Chaos Tools (CTools) Plugin Example" and it's right below Chaos Tools itself on the module list.

This file:
/home/.krone/dubber/test06.lightbeingcreations.org/sites/default/modules/ctools-6.x-1.0/ctools/ctools_plugin_example/ctools_plugin_example.pages_default.inc

is part of that module.

Dubber Dan’s picture

Ah, well that will be a problem then, as I get that fatal error when trying to view the modules page with ctools installed.

Perhaps I should have explained a bit more, in that when I get the fatal error, I simply get a blank white page with the at the very top, no list of modules, no website, no theme, nada. So you'll see it's not possible to disable that part of the ctools module as the list is not available when ctools is installed.

Perhaps I need to manually strip the module out of the database?

merlinofchaos’s picture

You can disable the module manually from your database:

Run this query:
UPDATE system SET status = 0 WHERE name = 'ctools_plugin_example';

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

thaistore’s picture

fixed my ass, the whole site is offline, this bug has been present for a while

i did a query, cant get my site back online for godsake

what to do?

Martin Frank’s picture

I have the same problem... only I don't know how to do a database query...

Have a look at martinfrank.ch

Help!

Can I simply delete or rename the module somewhere? I have only ftp access to my website, no "database query".

Thanks and greetings

Martin Frank

merlinofchaos’s picture

Martin: Hm. Your error seems to be coming from the amazon_store module -- which may have failed to show a dependency on Panels. If you remove the module that should remove that error and let you progress to the next one. Which hopefully isn't an error but in fact will be your site. ;)