Upon upgrading from 2.5 to 2.7, I get the following error when attempting to access the backup_migrate page at en/admin/config/system/backup_migrate/restore:
DatabaseDriverNotSpecifiedException: Driver not specified for this database connection: backup_migrate_tmp_519a3b84ef835 in Database::openConnection() (line 1679 of /Volumes/Mac/om/includes/database/database.inc).
I also get this error now every time I clear the cache. This is on my local MAMP dev environment. Reverting to 2.5 removes the error and I can access the page again.
Comments
Comment #1
cobenashthe same question
i downgrade to 2.5 and then the problem fixed
Comment #2
storytellerjeff commentedI've had this exact problem with 2 of my drupal sites - with vastly different configurations - on two different hosts.
In both cases, reverting back to 2.5 seems to have fixed the error, but it means that I can't run the current 2.7 "stable" version of Backup.
Comment #3
ronan commentedWould you guys mind posting your db connection array (with the password redacted) here? It might help me figure out is different between your set up and mine.
Comment #4
ptmkenny commentedSure, here it is.
Comment #5
dotoree commentedSame problem here. I had a problem also with taxonomy csv module that seemed to be "invisible". When downgraded backup and migrate to 2.5, taxonomy csv worked again. The strangest thing is that in my local env, I have no problem with backup and migrate 2.7 and taxonomy csv.
Comment #6
ronan commentedAre you guys having the issue with the latest dev?
Comment #7
elegantsolutions commentedThe latest dev fixed it for me.
Comment #8
ptmkenny commentedThe issue I originally reported no longer occurs with the latest dev. Many thanks!
Comment #10
desierto commentedJust so others know how to fix an issue related to this >>
I had an issue where I would create a content type, but once it was created Drupal did not make links to add content of that type. Neither could I manually key in /node/add/content-type. It was like it didn't exist, except the content type was right there in edit content types.
When I looked in the log I see tons of the error: DatabaseDriverNotSpecifiedException(...). This led me to this thread thankfully because as soon as I disabled Backup and Migrate everything went back to normal.
Comment #11
john franklin commentedWhich patch fixed it?
Comment #12
zengenuity commentedFor future people who read this, I'm pretty sure this is a problem with special characters in the database password string. I had a DB password with a forward slash in it, and Backup and Migrate would not even show up under Configuration. Resetting the password to remove the slash and clearing cache made it work. No patches or dev updates.
Comment #13
Anonymous (not verified) commentedI removed a special character (a colon) from the password so it was just an alphanumeric string. This did not resolve the issue for me.
However, going back to 2.5 did fix the issue.
Comment #14
SweetTomato commentedSame issue as #10. Disabled Backup and Migrate and solved several issues. Including: Added content type not showing up (and permissions not being auto added for administrator like they used to I believe), Deleted content types still appearing in Add contents (when disabled and reset given an error instead of being deleted), and several other strange issues on the site, including new css files being loaded to "Create ______" content type form pages after an image has been uploaded.
Comment #15
gunwald commentedI have the same problem. I get the message:
I tried with all mentioned versions:
7.x-2.7
7.x-2.5
7.x-2.x-dev
7.x-3.x-dev
Comment #16
adooo commentedComment #17
gunwald commented#16 does not help at all on my site. Any other idea?
Comment #18
nijk commentedDisabling and re-enabling backup_migrate worked for me