Closed (duplicate)
Project:
Stager
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 15:39 UTC
Updated:
7 Sep 2011 at 10:34 UTC
Reveiving following error upon enabling this module:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal7.stager_semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 165 of C:\xampp\htdocs\drupal7\includes\lock.inc).
Followed the directions in the readme.
Comments
Comment #1
rp7 commentedThis message actually occures once I make the settings.php alterations...
Comment #2
aristeides commentedsubscribing
Comment #3
aristeides commentedComment #4
swentel commentedThat's a drupal core bug, the semaphore table should be there on a Drupal 7 installation.
Comment #5
TrevorG commentedI got the same db error on create staged site, after following the instructions. On subsequent attempts, this extended error came up:
This then caused errors on any page view.
I replaced the settings.php with the original and it was fine, with the grey bar at the bottom, but of course it did not create any tables in the db.
I have marked this as active because I don't believe it to be an isolated case of one messed up drupal install, and it likely needs to be fixed so that we can install your module which looks really great. Looking at my db there is a semaphore table, but no records in it.
Comment #6
mavimo commentedTry patch posted on #1269074: Error in data copy generate a complete crash of module, I think it can solve your problem.
Comment #7
swentel commentedYup, that patch should fix it all, marking this as duplicate of that one.