Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 05:20 UTC
Updated:
23 Aug 2011 at 15:35 UTC
I m trying to install ctools and getting this error
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: [error]
1146 Table 'ctools_css_cache' doesn't exist: DELETE FROM
{ctools_css_cache} ; Array
(
)
in ctools_css_flush_caches() (line 567 of
/sites/all/modules/ctools/includes/css.inc).
I checked up in the db and i do not find the table there. There is one css_object table though
Comments
Comment #1
merlinofchaos commentedThat kind of suggests that for some reason, CTools' hook_install didn't get run. I never understand why this happens. Your best bet is to completely uninstall CTools and then install it again; that should make it create the tables properly.
To do this, visit the modules page, turn off the module, then visit the uninstall tab. The uninstall process may show some errors about not being able to drop tables, you can ignore those. Then activate the module again. This *should* fix things.
Comment #3
Screenack commentedTurns out my default MAMP php memory setting, 32M, was too low. (I had updated MAMP and forgot to up the limit) #1 fixed what ailed me; thanks!