Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

"Deprecation Notice" message on login page of phpMyAdmin

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

"Deprecation Notice" message on login page of phpMyAdmin
  • Quote

Post by baijianpeng » Tue Dec 13, 2016 6:40 am

Recently I completely re-installed my VPS, used Ubuntu 16.04 64-bit as the operating system, then installed VestaCP 0.9.8-17.

Today when I tried to login phpMyAdmin, I saw following messages below the login form:
Deprecation Notice in ./../php/php-gettext/streams.php#48
Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../php/php-gettext/streams.php#84
Methods with the same name as their class will not be constructors in a future version of PHP; FileReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../php/php-gettext/streams.php#145
Methods with the same name as their class will not be constructors in a future version of PHP; CachedFileReader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
Deprecation Notice in ./../php/php-gettext/gettext.php#36
Methods with the same name as their class will not be constructors in a future version of PHP; gettext_reader has a deprecated constructor

Backtrace

./../php/php-gettext/gettext.inc#42: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)
What does this mean?

How to solve this problem?

Thank you.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Deprecation Notice" message on login page of phpMyAdmin
  • Quote

Post by baijianpeng » Tue Dec 13, 2016 6:47 am

Ok, this issue solved easily with editing the php.ini file :

file path: /etc/php/7.0/apache2/php.ini

Change error_reporting value to:

Code: Select all

error_reporting = ~E_DEPRECATED & E_ALL.
Then restart Apache:

Code: Select all

# systemctl restart apache2
Well, the "Deprecation Notice" message no longer shown there.
Top

nside
Posts: 13
Joined: Wed Jun 14, 2017 11:52 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: "Deprecation Notice" message on login page of phpMyAdmin
  • Quote

Post by nside » Sun Jun 18, 2017 10:01 pm

Another solution
https://askubuntu.com/questions/796135/ ... with-16-04
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password