Closed (duplicate)
Project:
HTPasswd Sync
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2011 at 14:12 UTC
Updated:
26 Sep 2011 at 18:29 UTC
After a new install of the module and the initial configuration (htpasswd file and roles) I get the following error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db_103.htpasswdsync_htpasswd' doesn't exist: SELECT A.username, A.passwd, B.mail FROM {htpasswdsync_htpasswd} AS A, {users} AS B WHERE name=username and status = 1; Array ( ) in _htpasswdsync_updatepasswd() (Zeile 258 von /.../sites/all/modules/htpasswdsync/HTPasswdSync.module).
In the module is used the wrong table name. In my installation is the table called "htpasswdsync_passwd".
Comments
Comment #1
stfwi commentedHi Christian, this is an installation problem which should already be fixed in the dev snapshot. Could you please uninstall the module, install 7.x-1.1-rc1 (http://drupal.org/node/1212678) and check again? Cheers, Stefan
Comment #2
cbeier commentedI had also seen it and wanted to write something. Drupal had offered me a update with the fix. But on the projekt site was the old and buggy version offered. Therefore, I have used the older version.
Comment #3
stfwi commentedHi, yes, unfortunately I cannot mark the rc1 as recommended version, after double checking that the latest version is free of bugs I will brand it as 1.1 and set it to the recommended version. Then the "update available" issue will disappear.
Comment #4
stfwi commentedThe recommended version is now 7.x-1.1, so the normal update mechanism should work again. Please note because of the database bug reported here, you will have to uninstall the module to ensure a clean working. After this the database information will be updated with the module as usual. Can you confirm that the bug is fixed?