Problem upgrade 7.4 to 7.5

freepbx
testing

(Rafael Tavares) #1

I have upgrade 2 server with FreePBX Installed to Beta 7.5 and Admin Manager only blank page. On test without FreePBX dont have problem.

Thanks for now.


(Alessio Fattorini) #2

@Stll0 did you try an upgrade to 7.5 of your installations?


(Markus Neuberger) #3

I could not reproduce it.

Are there errors in /var/log/messages?

Just some ideas:

Did you change default PHP?

Are the databases asterisk and asteriskcdrdb there?

mysql -e "show databases;"


(Rafael Tavares) #4

Not have any error in logs and all functions is ok, only web manager have a blank page, login page is ok, on login have a blank page.

Database have asterisk and asteriskcdrdb and all asterisk and freepbx its ok, include FreePBX Web admin is ok


(Giacomo Sanchietti) #5

This is probably related to this: https://github.com/NethServer/dev/issues/5499

@Stll0 developed an internal fix, you can try it:

--- /var/www/html/freepbx/admin/libraries/Composer/vendor/symfony/translation/Translator.php.ori	2017-12-09 03:34:18.565226586 +0100
+++ /var/www/html/freepbx/admin/libraries/Composer/vendor/symfony/translation/Translator.php	2017-12-09 03:34:33.225885330 +0100
@@ -87,7 +87,7 @@
 
         if ($formatter instanceof MessageSelector) {
             $formatter = new MessageFormatter($formatter);
-            @trigger_error(sprintf('Passing a "%s" instance into the "%s" as a second argument is deprecated since Symfony 3.4 and will be removed in 4.0. Inject a "%s" implementation instead.', MessageSelector::class, __METHOD__, MessageFormatterInterface::class), E_USER_DEPRECATED);
+            @trigger_error(sprintf('Passing a "%s" instance into the "%s" as a second argument is deprecated since Symfony 3.4 and will be removed in 4.0. Inject a "%s" implementation instead.', 'MessageSelector::class', __METHOD__, 'MessageFormatterInterface::class'), E_USER_DEPRECATED);
         } elseif (null === $formatter) {
             $formatter = new MessageFormatter();
         }

(Rafael Tavares) #6

Dont have sucess :frowning:


(Stefano Fancello) #7

try the nethserver-freepbx from testing and maybe comment out that line in /var/www/html/freepbx/admin/libraries/Composer/vendor/symfony/translation/Translator.php.

Patch that Giacomo gave you is correct, it should fix your problem. What is the error now?

BTW, this issue is not related with upgrade, but is a consequence of FreePBX Framework module update.


(Rafael Tavares) #8

I am upgrade other installation without FreePBX Module and have same problem, i have 2 installation with freepbx and 1 without with same problem


(Stefano Fancello) #9

sorry, I’ve read too fast and I misunderstood. With “Admin Manager” do you mean server manager at https://IP:980 ?
FreePBX shouldn’t be related with Server Manager.


(Rafael Tavares) #10

Yes, dont related, but the 2 servers a have a problem, have installed freepbx, but problem problable a new qos packet, i search for problem


(Rafael Tavares) #11

Found this error on inspect with Chrome

Uncaught TypeError: Cannot read property ‘id’ of undefined
at HTMLAnchorElement. (182851a3.js:719)
at Function.each (jquery-1.12.4.min.js:2)
at a.fn.init.each (jquery-1.12.4.min.js:2)
at a.(anonymous function).(anonymous function)._create (https://189.8.0.74:980/pt-BR/Resource/182851a3.js:717:60)
at a.(anonymous function).(anonymous function)._createWidget (https://189.8.0.74:980/js/jquery-ui-1.8.23.min.js:5:5925)
at new a.(anonymous function).(anonymous function) (https://189.8.0.74:980/js/jquery-ui-1.8.23.min.js:5:4880)
at HTMLDivElement. (jquery-ui-1.8.23.min.js:5)
at Function.each (jquery-1.12.4.min.js:2)
at a.fn.init.each (jquery-1.12.4.min.js:2)
at a.fn.init.a.fn.(anonymous function) [as Tabs] (https://189.8.0.74:980/js/jquery-ui-1.8.23.min.js:5:5446)


(Markus Neuberger) #12

Thanks, I saw the bug is already filed here: