my drupal site is broken :( what have i done!?!?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
droopypallee's picture

hi, please check out this site
http://murphysbarbershop.co.uk/

it was fine. i built it then one day i visited and i had this error message: (and now the site's gone!)

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'murphys6_drpl1.sweaver_style' doesn't exist: SELECT style_id, theme, style, css, customcss, palette, themesettings, active FROM {sweaver_style} where theme = :theme and active = 1; Array ( [:theme] => bluemasters ) in Sweaver->get_current_style() (line 174 of /home/murphys6/public_html/modules/sweaver/sweaver.inc).

also, like a total noob, i can't login to my site anymore. what's the url to get logged in!?

:)

thanks

all help very much appreciated.

Comments

Hi, A quick search turned up

djevans's picture

Hi,
A quick search turned up this:
http://drupal.org/node/1087692
Could yours be a similar problem? What changes did you make to the site around the time that this first happened?
Your usual login page should be http://murphysbarbershop.co.uk/user, but you'll need to fix this problem first.

thanks for your reply. the

droopypallee's picture

thanks for your reply. the crazy thing is the site was absolutely fine!

a few weeks go by. i visit it and the error message is there.

thanks for the link... looking into it.

Hi there, (simplified answer

instanceofjamie's picture

Hi there,

(simplified answer below)

things like stylesheets (sweaver publishes one of those), get cached by Drupal. It could be that you didn't notice the problem at first because the markup and CSS was cached, so Drupal hadn't been asked to regenerate any. Now when you return, those internal caches have expired, Drupal is trying to regenerate its markup and CSS to re-cache, and there's a mismatch between the sweaver module and the database.

What were you doing the last time you visited the site, when you say it was fine?

Anyway. Get back to us, let us know how you get on, and good luck!

Incidentally, if you have access to IRC, a load of us are usually in the #drupal-uk channel. It's a fine place to ask for help :)

-- Jamie