Jump to content

Version 4 still does not run with PHP7?


tobean

Recommended Posts

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

Link to comment
Share on other sites

  • Erik Geurts pinned and featured this topic
  • Erik Geurts unfeatured and unpinned this topic
  • 2 weeks later...

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") );

Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

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 by gorman
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...