Search code examples
mysqldrupal-7drush

In Drupal 7 theme, drush doesn't work


I need to fix bugs in styles on the site, built on Drupal 7. But when I changed some lines in styles, nothing changed in the browser. When I ran "drush cc all", I saw in my terminal next (full log contains more than 45k simbols):

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fr_bote.watchdog' doesn't exist: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array

I have no idea how to fix it, please help me! Thanks for advance!

**Edit

drush status

Drupal version                  :  7.34                          
Site URI                        :  http://default                
Database driver                 :  mysql                         
Database hostname               :  localhost                     
Database username               :  admin                         
Database name                   :  fr_bote                       
Database                        :  Connected                     
Drupal bootstrap                :  Successful                    
Drupal user                     :  Guest                         
Default theme                   :  bote                          
Administration theme            :  shiny                         
PHP configuration               :  /etc/php5/cli/php.ini         
Drush version                   :  5.0-dev                       
Drush configuration             :                                
Drupal root                     :  /var/www/my-website 
Site path                       :  sites/default                 
File directory path             :  sites/default/files           
Temporary file directory path   :  /tmp 

Solution

  • there is a solution! the problem was in the settings database. in file php.ini changed fields max_execution_time, and upload_max_filesize at large values, delete the old tables, again made export - import tables and everything worked!