tobean Posted September 30, 2016 Report Share Posted September 30, 2016 Hi! I've just upgraded from 3.2.4 to 4.0.0 without any problems (php 5.6, https). Then I tried to switch to PHP7 and still got an empty screen on the login page and the following error messages: Has anyone an idea or is this still a bug in 4.0.0? [30-Sep-2016 08:04:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined function dl() in ***/adserver/lib/pear/PEAR.php:758 Stack trace: #0 ***/adserver/lib/pear/MDB2/Driver/mysql.php(400): PEAR->loadExtension('mysql') #1 ***/adserver/lib/OA/DB.php(196): MDB2_Driver_mysql->connect() #2 ***/adserver/www/admin/config.php(24): OA_DB::singleton() #3 */adserver/www/admin/index.php(17): require_once('/usr/www/users/...') #4 {main} thrown in ***/adserver/lib/pear/PEAR.php on line 758 Tobean Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted September 30, 2016 Report Share Posted September 30, 2016 If you don't have the legacy mysql extension installed, just edit the config file and use "mysqli" as database type instead. tobean 1 Quote Link to comment Share on other sites More sharing options...
tobean Posted September 30, 2016 Author Report Share Posted September 30, 2016 Thank you Matteo for this very simple solution! It works now with PHP 7.0.11 and MySQL 5.5.52. I hope for some speed improvements with PHP7 instead of 5.6. Tobean Quote Link to comment Share on other sites More sharing options...
Matija1506 Posted October 13, 2016 Report Share Posted October 13, 2016 I have a problem with my upgrade too I'm getting this error: Fatal error: Call to undefined method MDB2_Error::quoteIdentifier() in /home/opcinac1/public_html/icvads.com/lib/OA/Upgrade/VersionController.php on line 35 My admin installed the msqli extension or something but it still wont work... he says that I need to put this somewhere but WHERE?? ini_set("include_path", '/home/opcinac1/php:' . ini_get("include_path") ); Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted October 13, 2016 Report Share Posted October 13, 2016 @Matija1506 Did you follow the very same suggestion I wrote above? Normally an errore like the above means that Revive couldn't connect to the database. Quote Link to comment Share on other sites More sharing options...
Matija1506 Posted October 13, 2016 Report Share Posted October 13, 2016 Please treat me as a user that doesn't know anything :) I installed it, configured it for our news portal and that's it... BUT, as a matter of fact we recently moved that domain to a new server with our hosting company and that must be the problem...but they cannot help me that much they say... You tell me " edit the config file and use "mysqli" as database type instead." but where is that config file? Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted October 13, 2016 Report Share Posted October 13, 2016 @Matija1506 I'm sorry, but it's fairly hard to help someone who "doesn't know anything". A little googling might help understanding what the config file could be. If you've changed host it is also likely that your database credentials have changed, so you need to update such config file. Quote Link to comment Share on other sites More sharing options...
Matija1506 Posted October 13, 2016 Report Share Posted October 13, 2016 okey I found it and set the database type to msqli but it still gives the same error... I tried changing the database user password but no succes... Quote Link to comment Share on other sites More sharing options...
gorman Posted October 21, 2016 Report Share Posted October 21, 2016 I see the "Failure while upgrading schemas" after click "continue", I back to the start page of upgrade, and it is cycle (( Quote Link to comment Share on other sites More sharing options...
gorman Posted October 21, 2016 Report Share Posted October 21, 2016 (edited) I found th solution by myself ) reading install.log, I found that I use mysql 57 with gtid enabled, and installer can't create backup using "create table select * from ...." so I put into my.cnf: enforce-gtid-consistency = 0 gtid-mode = OFF and I succesfully finished migration ) I think developers have to add check for gtid in installer; Edited October 21, 2016 by gorman Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.