Uncaught exception thrown in shutdown function.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '{dbname}.semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 183332910450febb4cd297b1.99941621 ) in lock_release_all() (line 269 of /home/{accountname}/public_html/handheldtutorials.com/includes/lock.inc).
No idea what happened. But something is wrong.
I'm trying to decipher Drupal, I have NO data on this site yet, I am using it to learn Drupal. So I have NO problem wiping and reinstalling... but I would like to learn the steps to take should this happen on a production site...
Anyone have any tips for me?
Comments
The other error
Error
The website encountered an unexpected error. Please try again later.
Error messagePDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '{databasename}.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 167 of /home/{accountname}/public_html/handheldtutorials.com/includes/lock.inc).
This is the other error.
If you've always done it that way then you're probably doing it wrong. - Kettering
Still Dead - About to Reinstall
Figured I'd give the board a chance to help.
If you've always done it that way then you're probably doing it wrong. - Kettering
Figured I'd give the board a
Nice.
You do not say in what circumstances these error messages arise. If this is a fresh install you need to say what install method you are using. If it is a mature site, a bit more background would help. For example if you are using free or low grade hosting, or an automated installer, which is not recommended in the documentation here, then there is no point in looking more deeply for the problem. On the other hand if you have followed the documentation on this site carefully, including ensuring that the hosting meets and preferably signfiicantly exceeds the minimum requirements (I say exceeds because not all hosting accounts and VPSs really give the resources they claim to), then maybe there is a real issue here which we can help resolve.
It is true that Drupal can be hassle, it needs some practice, careful reading of documentation, and above average hosting resources, but in some situations its advantages outweigh the fact that it is more troublesome than Wordpress or other methods of building a website. Because Drupal is IMO more oriented to larger sites, you will always be running a development site, which can help deal with problems before they appear on a production site. It is true for simple sites there is a tendency to go direct to live but in those situations it is arguable Drupal is not the best tool for the job.
Digit Professionals
Thanks for the reply!
Yeah, I am running WordPress for most of my sites and clients of mine.
I'm playing with Drupal because I believe it is EXACTLY what I need.
In this instance, it was a fresh install, only created about 2 pieces of content... some text and a video upload.
I did install quite a few modules, but everything was working fine before the weekend.
As things stand, I deleted the entire Drupal, about to wipe the db then start over.
Thanks anyway tho...
My biggest problem with Drupal is lack of documentation on the Views module.
Once I get that down I feel like the rest will fall into place.
Have a great day!
If you've always done it that way then you're probably doing it wrong. - Kettering
A table should not just
A table should not just disappear. I would be concerned about quality of hosing, assuming you did nothing to bring this about.
The documentation on this site on Views may not be enough but there is good stuff out there. A free video series Taming the Beast by Johan Falk, also paid videos by Lulllabot and others, and the book Drupal's Building Blocks cover it in great detail.
Digit Professionals