Installation fails with SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database.styles' doesn't exist

Created on 2 February 2011, over 14 years ago
Updated 11 June 2025, 2 days ago

I can't seem to dig myself out from a variety of errors concerning styles installation. I'm trying to install the latest dev version (but this was the same error I was receiving with older dev versions a month ago.)

[code]PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'site.styles' doesn't exist: SELECT styles.* FROM {styles} styles ORDER BY name ASC; Array ( ) in styles_default_styles() (line 233 of /var/www/sites/all/modules/styles/styles.module).[/code]

I see there is a patch for something similar, but it is already rolled into the current version. I guess what I really need to figure out is how to actually remove styles so I can install it.

Any help would be appreciated.

πŸ’¬ Support request
Status

Closed: outdated

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States bacchus101

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    Thank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.

Production build 0.71.5 2024