Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When I upgraded Drupal 7.12 to 7.14. and trying to take backup of my database by backup and migrate. it though a error message "Could not complete the backup." and backup is not happening.
Could any know why this is happening?
Comment | File | Size | Author |
---|---|---|---|
#4 | 1576812-4-case-7-14.patch | 1.01 KB | mfer |
Comments
Comment #1
mahtoranjeet CreditAttribution: mahtoranjeet commentedHi,
Found some help from this thread http://drupal.org/node/1564408.
Comment #2
mfer CreditAttribution: mfer commentedDrupal 7.14 made a breaking change in http://drupalcode.org/project/drupal.git/blobdiff/464808fb43c82ebb4beb3c... #1171866: Enforced fetching of fields/columns in lowercase breaks third-party integration
Comment #3
mfer CreditAttribution: mfer commentedComment #4
mfer CreditAttribution: mfer commentedThis patch is working for me.
The base issue is that prior to 7.14 drupal set the pdo connection case sensitivity to lower. In 7.14 it was not set meaning the responses from the database were taken as is. Column names start with an uppercase character (for example). So, everything started to break.
The attached patch grab the connections setting for this, sets it to lower, performs the query, and reverts back. This should work for all versions of Drupal 7.
Comment #5
micahw156Yep, patch in #4 fixed my broken backups on 7.14 also. Thanks, Matt!
Comment #6
ronan CreditAttribution: ronan commentedThis should be fixed in 7.x-2.3. Can you confirm that you are running that version of the module?
Also, dupe: #1558680: Notice: Undefined index: name - BM can't read DB table names
Comment #7
kiliweb CreditAttribution: kiliweb commentedPatch #4 works perfectly ! Thanks, you !