XF 2.0 Database Fault xf_css_cache

akhan

Active member
I removed old backups because the server's disk space is full. But there was no improvement and the forum page opened up problematically.
Forum is not displayed in full.only the text is displayed.
I am receiving such an error:

Code:
Server error log
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'mydb.xf_css_cache' doesn't exist
src/XF/Db/AbstractStatement.php:212
}
 
Last edited:
You can re-create the table using this query:
SQL:
CREATE TABLE `xf_css_cache` (
  `cache_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `style_id` int(10) unsigned NOT NULL,
  `language_id` int(10) unsigned NOT NULL,
  `title` varbinary(150) NOT NULL,
  `modifier_key` varbinary(32) NOT NULL,
  `output` mediumblob NOT NULL,
  `cache_date` int(10) unsigned NOT NULL,
  PRIMARY KEY (`cache_id`),
  UNIQUE KEY `style_language_title_modifier` (`style_id`,`language_id`,`title`,`modifier_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
Back
Top Bottom