Menu

#4653 (ok 4.3.4) Always connection error was shown, on /setup at tab "configuration storage".

4.3.2
fixed
None
1
2014-12-29
2014-12-15
No

Hi,

when setup a new phpMyAdmin by using www.mydomian.tld/setup and configuring the configuration storage - always a database connection error was shown.

The apache log file shows following lines:

--- start ---
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/auth_type' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 312, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/auth_type' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 319, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/auth_type' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 328, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/auth_type' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 336, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/pmadb' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 371, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/controluser' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 376, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/controlpass' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 381, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/connect_type' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 388, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/host' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 389, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/port' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 389, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/socket' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 390, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/controluser' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 390, referer: http://www.mydomain.tld/setup/index.php
[:error] [pid 5432] [client 192.168.0.90:41216] PHP Warning:  Illegal string offset 'Servers/1/controlpass' in /usr/share/phpMyAdmin/libraries/config/Validator.class.php on line 391, referer: http://www.mydomain.tld/setup/index.php
--- stopp ---

I was looking at

/usr/share/phpMyAdmin/libraries/config/Validator.class.php 

and compared this to an older installation. So I figured out, that

function validateServer($values)

the

$values['Servers/1/extension']

is missing, there and in other code lines too?

So can you help?

Thank you!

Discussion

  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Always connection error was shown, on /setup at tab "configuration storage". --> (ok 4,3,4) Always connection error was shown, on /setup at tab "configuration storage".
    • status: open --> resolved
    • Priority: 5 --> 1
     
  • Madhura Jayaratne

    • summary: (ok 4,3,4) Always connection error was shown, on /setup at tab "configuration storage". --> (ok 4.3.4) Always connection error was shown, on /setup at tab "configuration storage".
     
  • Marc Delisle

    Marc Delisle - 2014-12-29
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.