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.
See attached report.
Main issue is in the MS SQL server source plugin which uses unsupported mssql extension.
According to PHP.net PDO_ODBC is a multi-platform alternative - so is probably a good candidate to replace mssql extension.
For *nix OSs PDO_DBLIB is know to be working alternative.
To test this upgrade its possible to use Developer edition of SQL server.
Comment | File | Size | Author |
---|---|---|---|
#11 | mssql-functions-2928784-11.patch | 4.56 KB | sidharthap |
| |||
#5 | mssql-functions-2928784-5.patch | 8.53 KB | sidharthap |
migrate-php7-compatibility-report.txt | 1.53 KB | RoSk0 |
Comments
Comment #2
RoSk0Adding additional notes and links.
Comment #3
bkosborneUpdated title to target this issue specifically at fixing the mssql issue. The other issue you reported here about indirect variable access has been resolved already: #2654222: PHP7 Uniform Variable Syntax
Comment #4
bkosborneI *think* that sites can still use the migrate module on PHP7 with this code in it, as long as they don't use the source plugin.
Comment #5
sidharthapHere is my first attempt to provide a patch. This patch includes
1 - SQLSRV an alternate driver for MSSQL and can be downloaded from here
2 - Openssl encrypt method instead of mcrypt. more information can be found here
Another patch is available for mcrypt which removes the functionality from module. http://php.net/manual/en/function.openssl-encrypt.php
Comment #6
pifagorfixed here - https://cgit.drupalcode.org/migrate/commit/?id=cf0c989
Comment #7
pifagorComment #8
RoSk0Hi @pifagor,
I think you missed something - commit that you referenced is related to mcrypt extension. This issue is talking about mssql functions.
Comment #9
pifagor@sidharthap we need recreate patch. And I will add authorship and credits.
Comment #10
sidharthap@pifagor Thank you.
is this to create the patch only for mssql functions ?
Comment #11
sidharthapHere is the patch only for this mssql issue.
Comment #13
pifagorComment #15
joseph.olstadhttps://www.drupal.org/project/migrate/releases/7.x-2.12