Page 1 of 1

"Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Fri Nov 01, 2019 10:42 am
by dunkelheit06
I reinstalled my VPS. I use Centos 7 as the operating system. I installed VestaCP with the following codes and encountered a problem.
# Connect to your server as root via SSH # Download installation script

Code: Select all

curl -O http://vestacp.com/pub/vst-install.sh
# Run it

Code: Select all

bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin no --clamav yes --softaculous yes --mysql yes --postgresql no --hostname ***.***.***.*** --email ******@****** --password **********
The problem I encountered on the phpMyAdmin login screen is as follows:
Deprecation Notice in ./libraries/classes/Url.php#253
Array and string offset access syntax with curly braces is deprecated

Backtrace

functions.php#74: include_once()
Autoload.php#210: Fedora\Autoloader\includeFile(string '/usr/share/phpMyAdmin/libraries/classes/Url.php')
Fedora\Autoloader\Autoload::loadClass(string 'PhpMyAdmin\\Url')
./libraries/classes/Header.php#234: spl_autoload_call(string 'PhpMyAdmin\\Url')
./libraries/classes/Header.php#286: PhpMyAdmin\Header->getJsParams()
./libraries/classes/Header.php#217: PhpMyAdmin\Header->getJsParamsCode()
./libraries/classes/Header.php#144: PhpMyAdmin\Header->_addDefaultScripts()
./libraries/classes/Response.php#178: PhpMyAdmin\Header->__construct()
./libraries/classes/Response.php#212: PhpMyAdmin\Response->__construct()
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#89: PhpMyAdmin\Response::getInstance()
./libraries/classes/Plugins/AuthenticationPlugin.php#265: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#366: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./index.php#23: require_once(./libraries/common.inc.php)

Deprecation Notice in ./libraries/classes/Server/Privileges.php#4023
Array and string offset access syntax with curly braces is deprecated

Backtrace

functions.php#74: include_once()
Autoload.php#210: Fedora\Autoloader\includeFile(string '/usr/share/phpMyAdmin/libraries/classes/Server/Privileges.php')
Fedora\Autoloader\Autoload::loadClass(string 'PhpMyAdmin\\Server\\Privileges')
./libraries/classes/Twig/ServerPrivilegesExtension.php#34: spl_autoload_call(string 'PhpMyAdmin\\Server\\Privileges')
ExtensionSet.php#438: PhpMyAdmin\Twig\ServerPrivilegesExtension->getFunctions()
ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
ExtensionSet.php#397: Twig\ExtensionSet->initExtensions()
Environment.php#966: Twig\ExtensionSet->getUnaryOperators()
Lexer.php#459: Twig\Environment->getUnaryOperators()
Lexer.php#110: Twig\Lexer->getOperatorRegex()
Environment.php#539: Twig\Lexer->__construct()
Environment.php#595: Twig\Environment->tokenize()
Environment.php#408: Twig\Environment->compileSource()
Environment.php#381: Twig\Environment->loadClass(
string '__TwigTemplate_b94fcc3f26f66bb9f5554b68d3bd086ac3f9d446c135f4d025f547a85a4f2926',
string 'login/header.twig',
NULL,
)
Environment.php#359: Twig\Environment->loadTemplate(string 'login/header.twig')
./libraries/classes/Template.php#106: Twig\Environment->load(string 'login/header.twig')
./libraries/classes/Template.php#140: PhpMyAdmin\Template->load(string 'login/header')
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#144: PhpMyAdmin\Template->render(
string 'login/header',
array,
)
./libraries/classes/Plugins/AuthenticationPlugin.php#265: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#366: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./index.php#23: require_once(./libraries/common.inc.php)


Deprecation Notice in ./libraries/classes/Server/Privileges.php#4278
Array and string offset access syntax with curly braces is deprecated

Backtrace

functions.php#74: include_once()
Autoload.php#210: Fedora\Autoloader\includeFile(string '/usr/share/phpMyAdmin/libraries/classes/Server/Privileges.php')
Fedora\Autoloader\Autoload::loadClass(string 'PhpMyAdmin\\Server\\Privileges')
./libraries/classes/Twig/ServerPrivilegesExtension.php#34: spl_autoload_call(string 'PhpMyAdmin\\Server\\Privileges')
ExtensionSet.php#438: PhpMyAdmin\Twig\ServerPrivilegesExtension->getFunctions()
ExtensionSet.php#423: Twig\ExtensionSet->initExtension()
ExtensionSet.php#397: Twig\ExtensionSet->initExtensions()
Environment.php#966: Twig\ExtensionSet->getUnaryOperators()
Lexer.php#459: Twig\Environment->getUnaryOperators()
Lexer.php#110: Twig\Lexer->getOperatorRegex()
Environment.php#539: Twig\Lexer->__construct()
Environment.php#595: Twig\Environment->tokenize()
Environment.php#408: Twig\Environment->compileSource()
Environment.php#381: Twig\Environment->loadClass(
string '__TwigTemplate_b94fcc3f26f66bb9f5554b68d3bd086ac3f9d446c135f4d025f547a85a4f2926',
string 'login/header.twig',
NULL,
)
Environment.php#359: Twig\Environment->loadTemplate(string 'login/header.twig')
./libraries/classes/Template.php#106: Twig\Environment->load(string 'login/header.twig')
./libraries/classes/Template.php#140: PhpMyAdmin\Template->load(string 'login/header')
./libraries/classes/Plugins/Auth/AuthenticationCookie.php#144: PhpMyAdmin\Template->render(
string 'login/header',
array,
)
./libraries/classes/Plugins/AuthenticationPlugin.php#265: PhpMyAdmin\Plugins\Auth\AuthenticationCookie->showLoginForm()
./libraries/common.inc.php#366: PhpMyAdmin\Plugins\AuthenticationPlugin->authenticate()
./index.php#23: require_once(./libraries/common.inc.php)
What does this mean?

How to solve this problem?

Thank you.

Image

Image

Image]

Image

Image

Re: "Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Tue Nov 05, 2019 10:24 pm
by xorro
same error at my end

Re: "Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Sat Nov 16, 2019 3:19 pm
by ro_ot
Thanks for posting this. I just registered here in this forum to post about this problem. I have a fresh install of Centos 7 Minimal and getting the same error after installing Vestacp. Everything else looks like other than that this PHPMyAdmin error. I have tried installing several times with the new OS but every time I end up with the same result. Why are we getting this error and how to solve it?

Re: "Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Thu Nov 21, 2019 12:18 am
by kelklope
I have the exact same problem and seems no one has a solution for this :(

Best IPTV - IPTV Subscription

Re: "Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Tue Nov 26, 2019 4:29 pm
by Caleb Watson
Same issue here, can't seem to find the answer either..

Re: "Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Tue Dec 03, 2019 5:03 pm
by ro_ot
So nobody coming forward to solve this issue from VestaCP Team? I wanted to buy the file manager but I don't go for those things where customer support doesn't exist, a bit scary.

Re: "Deprecation Notice" message on login page of phpMyAdmin on Centos 7

Posted: Tue Dec 03, 2019 6:27 pm
by tlozano
I installed Vestacp in Centos 7 last weekend , only with Nginx, without Apache ans DNS, but I think that is the same....

Try to install without the remi repos. I do it witout the Remi repo and works fine.

After it, I add manually the remi repos, because the php installed was 5.4, and I install php 7.3 from remi repo manually.

You can try this...