I would LOVE to use this module, and am working on installing it. However, I am running into trouble... and would love the devel's help here.
1) I install the module, and add my credentials: dbhostname, dbusername, dbpassword.
I am assuming by "dbSchema" you mean the db name on the server, correct?
2) I install, and it says "The configuration options have been saved." (would be helpful to show a bunch of •••••• there to show password has been saved in future version).
3) I now view the site, and I am presented with a message "OSCommerse Auth module wasn't configured";
I am sure all my credentials are correct. Is there something I am missing here?
Also: if an existing OSCommerce user wants to log in to the Drupal site, what username do they use?
OSCommerce uses email addresses for authorization.
Is the module dependent on logintoboggan or something like that that allows emails as usernames on Drupal?
Any and all help appreciated
Comments
Comment #1
acb commentedSomething looks a little strange to me here:
first, there is no "oscommerse_auth_forgot variable in the Drupal variable database
second, why would $username and $schema be both set to username?
Could this be related to my problems above?
Lastly; is there a better way to store the oscommerce database password in the variables file, so that it is not completely exposed?
Comment #2
acb commentedThe below code fixes the problem at line 274 in the module.
Sounds like the devel had a variable "oscommerse_auth_forgot" still stored in his drupal DB.
In any case, it now works using the code below.
I think in documentation, though, it would be very important to indicate that one must use the included login block, not Drupal's login block to create the user from an oscommerce account.
Also, (Request) it might be better to create the username for the user by removing everything after the @sign in the email address. Not sure where to look for that in the module, but the below should give those looking a little hand into getting the thing working.