今天在写Theme,退出登陆的时候无法进入管理后台。
万不得已之下只有使用数据库进行恢复。
Rest Drupal Theme to Bartik
SQL语句如下:
UPDATE system SET status = 0 WHERE type = 'theme'; UPDATE system SET status=1 WHERE type='theme' AND (name = 'seven' OR name = 'bartik'); TRUNCATE cache; TRUNCATE cache_block; TRUNCATE cache_bootstrap; TRUNCATE cache_field; TRUNCATE cache_filter; TRUNCATE cache_form; TRUNCATE cache_image; TRUNCATE cache_menu; TRUNCATE cache_path; TRUNCATE cache_page; TRUNCATE cache_update; TRUNCATE cache_views; TRUNCATE cache_views_data;
复制到phpmyadmin的sql运行,如下图: