migrate from php v7.3 to php v8
I’m in the process of updating websites from php 7.3.33 to php 8.0.29.
I’m getting a dreamweaver ‘unidentified error has occurred’ issue when trying to connect/test a database on website running php v8
The actual website pages are all working fine (ie connect to database and display db records correctly), it is just the internal dreamweaver connection when I click ‘test’ within the recordset builder.
When I switch the recordset builder to & from simple & advanced the database tables are all visible (in the drop down menu in simple). The unidentified error only happens when I click ‘test’ within the recordset builder.
I’ve got a dedicated plesk server and can flip between database versions..
When I test using php 7.3.33 database it connects fine
When I change the database to php 8.0.29 I get the dreamweaver error
I do have the option to install v8.1 & v8.2
I’ve got the following webassist files uploaded to the webassist->myqli folder:
rsobj version 2.35
queryobj version 2.25
I’ve been running these WA extension version for the last couple of years:
Data Bridge v2 version: 2.3.5
MySQLi Server Behaviors: version: 1.0.8
I’ve checked to see if any updates are available but I seem to be running the latest versions
I think the issue may be with the files in the _mmServerScripts folder, which are auto generated by dreamweaver (I think) when a connection is made
MMHTTPDB.php v1.2
mysql.php no version number f
WA_DBScript.php v1.0
The server log errors give the following..
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /var/www/vhosts/domainname/httpdocs/_mmServerScripts/mysql.php:229\nStack trace:\n#0 /var/www/vhosts/domainname/httpdocs/_mmServerScripts/MMHTTPDB.php(130): MySqlConnection->ExecuteSQL()\n#1 {main}\n thrown in /var/www/vhosts/domainname/httpdocs/_mmServerScripts/mysql.php on line 229'
I have uploaded the _mmServerScript folder files mentioned in the error log.
Do you have an updated version of these files that I can manually replace and upload.
This isn't a particularly urgent help request, but it would be nice to resolve so that I can migrate all my sites to php 8.
Thanks
Nathan