Closed oldfart101 closed 6 years ago
The fatal error here looks as though you do not have the php_mysql modules installed on your system.
Also please note that the main body of code on the master branch does not fully work with newer linux systems. You will want to run off of the 'newinstaller' branch or run a slightly older OS version.. I'm still in the midst of finalizing the installer to work on later versions of OS and mysql.
It would help to know which version of Ubuntu you are using. I know 14.04 would work fine.. 16.04 needs the newinstaller branch.
Yes - Ubuntu 16.04 and yes php_mysql modules installed tried newinstaller - no screen output....
[Tue Dec 12 20:02:05.208375 2017] [:error] [pid 9649] [client 192.168.1.26:14073] PHP Warning: require_once(/opt/ona/www/include/adodb/adodb.inc.php): failed to open stream: No such file or directory in /opt/ona/www/include/functions_db.inc.php on line 24, referer: http://192.168.1.90/ [Tue Dec 12 20:02:05.208428 2017] [:error] [pid 9649] [client 192.168.1.26:14073] PHP Fatal error: require_once(): Failed opening required '/opt/ona/www/include/adodb/adodb.inc.php' (include_path='.:/usr/share/php') in /opt/ona/www/include/functions_db.inc.php on line 24, referer: http://192.168.1.90/
directory is /opt/ona/www/include/adodb5
I neglected to mention a key part on the 'newinstaller' branch. The GUI install still suffers from issues. You will need to execute the cli option php install/installcli.php
Maybe that'll work.. and one of these days I hope to get time to do the proper testing to fix the installer.
nope - that didn't work
Hi, I think this issue is the same as the one i started just a couple of minutes ago. The error: "Call to undefined function mysqlconnect() in /opt/ona/www/include/adodb5/drivers/adodb-mysql.inc.php:363\nStack trace:\n#0" is the same as I get after upgrading my os. Standard under Debian Stretch and Ubuntu 16 is PHP 7.0 which aparently does no longer support all mysql calls. I'v been trying to change all mysql_ calls to mysql_calls, but without success, my PHP knowledge is too limited. However, by doing that, i did manage to get something working again.
Erland.
@oldfart101 so you should probably try the new version.. I believe it has fixed the issues.
You will probably want to edit your www/local/config/database_settings.inc.php file and set the DB_TYPE value to mysqli however... That is assuming it is not already set to that.
Hope that works for you.
Thanks
Through other testing and a similar bug report I believe this issue to be resolved.. closing for now.. If the new version does not solve the issue, please open a new issue. Thanks
Ubuntu - brand new installation, first run:-