Hello All,

I'm a drupal newbie. I serve on a non-profit that has a drupal site. It was built three years ago and no one has touched it since. I saw that several of the modules were outdated and tried to update them. The update failed.

When I tried to log back into my site the next day, I couldn't. I get this message:

Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in /homepages/13/d463178762/htdocs/modules/oauth/lib/OAuth.php on line 144

Could anyone provide any explanation as to what happened? It would be greatly appreciated.

Thanks,

Dave

Comments

nevets’s picture

From the error it looks like you put the contributed module oauth in core modules directory. Contributed modules should be under sites/all/modules. Do you have a copy of the module there also?

The easiest way to recover is to restore the site from a backup.

kodave1’s picture

unfortunately, our organization is in a bit of a bind. Our developer went awol and didn't give the organization access to the server files. All we have is the login for the front end. We are working it out with hosting company to get the account transferred, but they can't do anything without the consent of the former developer.

If she don't reply to the hosting company, it goes before ICANN.

Sam Moore’s picture

While you're waiting, you could do a few things and see if they help:
- clear cache. Visit the Performance page (admin/config/development/performance) and clear all caches
- disable OAuth module (/admin/modules)

I take it you don't have FTP access either?
You could (and probably should) safeguard your data by exporting your database. If you have, or can install, Backup and Migrate, you can dump your database to a downloaded archive from the Admin interface.
https://www.drupal.org/project/backup_migrate