Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Failed to install v6.0.5 on ubuntu16.04 : fct user_get_object_by_name() undef [ Reply ]
By: Yoann Boukredine on 2017-08-31 14:21
[forum:1054]
Hello Franck,

Thank you for your answer.

In fact i was missing 1 step before trying this script :
Adding db parameters in the /etc/fusionforge/config.ini file :

database_host = localhost
database_port = 5432
database_name = fusionforge
database_user = myuser
database_password = mypassword

And then execute the script :
$ sudo /usr/share/fusionforge/post-install.d/db/db.sh configure

Once FF DB is created, the script forge_set_password is working.

Next step is to deploy fusionforge in apache2...
(I just need to include apache scripts from /etc/fusionforge/httpd.conf.d
in my apache2 enabled sites i think...)


RE: Failed to install v6.0.5 on ubuntu16.04 : fct user_get_object_by_name() undef [ Reply ]
By: Franck Villaume on 2017-08-31 11:29
[forum:1053]
Sounds like a bug with PHP 7 and 6.0.5
It has been fixed in master branch.
Modify the file FFError.class.php line 64.
Original: function FFError() {
Shoud be: function __construct() {


Failed to install v6.0.5 on ubuntu16.04 : fct user_get_object_by_name() undef [ Reply ]
By: Yoann Boukredine on 2017-08-30 16:15
[forum:1052]
Hello,

Trying to execute this script :
/usr/share/fusionforge/bin$ sudo ./forge_set_password admin password

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FFError has a deprecated constructor in /usr/share/fusionforge/common/include/FFError.class.php on line 36
PHP Fatal error: Uncaught Error: Call to undefined function user_get_object_by_name() in /usr/share/fusionforge/bin/forge_set_password:30
Stack trace:
#0 {main}
thrown in /usr/share/fusionforge/bin/forge_set_password on line 30

php 7.0.22-0ubuntu0.16.04.1 is installed.

Any idea ?

Thk u
yobo