Upgraded to FreePBX 15 all user, phone books and configuration is gone
-
-
try editing the file /var/www/html/fop2/config.php and input the credentials to login to mysql and to database 'asterisk'...
make sure DBNAME is 'asterisk' (you may see 'fop2' but change to 'asterisk') and input correct credentials to login to asterisk database.
Then you can try if phonebook is correct.
Regards -
-
Here is a quick hack that seems to fix things:
In config.php:if (is_readable("/etc/freepbx.conf")) { $amp_conf = parse_amportal_conf("/etc/freepbx.conf"); $DBHOST = $amp_conf['AMPDBHOST']; $DBNAME = $amp_conf['AMPDBNAME']; $DBUSER = $amp_conf['AMPDBUSER']; $DBPASS = $amp_conf['AMPDBPASS']; } else if (is_readable("/etc/freepbx/freepbx.conf")) {and:
if (preg_match("/\\\$amp_conf\[\"([^\"]+)\"]\s*=\s*\"?([\w\/\:\.\*\?\%!=\+\#@&\\$-]*)\"?\s*([;].*)?/",$line,$matches)) { $conf[ $matches[1] ] = trim($matches[2]); } else if (preg_match("/^\s*([\w]+)\s*=\s*\"?([\w\/\:\.\*\?\%!=\+\#@&\\$-]*)\"?\s*([;].*)?/",$line,$matches)) { $conf[ $matches[1] ] = trim($matches[2]); } -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login