Hi Team,

I have installed widget [http://drupal.org/project/widgets] and after installation it seems it is braking bad.

When I try to configure block : Structure ->Widgets I am getting following error.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupaltest.cache_widgets' doesn't exist: TRUNCATE {cache_widgets} ; Array ( ) in cache_clear_all() (line 170 of C:\www\drupal\includes\cache.inc).

When I tried configure social media module from config->social media->setup wizard,

Error message
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupaltest.cache_widgets' doesn't exist: TRUNCATE {cache_widgets} ; Array ( ) in cache_clear_all() (line 170 of C:\www\drupal\includes\cache.inc).

OS: Windows [WAMP installation stack]
Database: Mysql
Web Server: Apache 2.2.17
PHP 5.3.5
PHP error_reporting = E_ALL
Drupal 7.0

Any idea what is the reason behind?.

Comments

pritisolanki’s picture

Assigned: Unassigned » pritisolanki
Status: Active » Closed (cannot reproduce)

In DB there were no tables created hence my all site was breaking.

I re-installed the widget completely and now it is working as expected.

Please note : Who are facing same PDO problem please increase 'max_execution_time' in php.ini , this will help these scripts to create necessary tables.