PHPMyAdmin blank screen after deleting a row

Refers to:

  • Plesk 11.5 for Linux

Created:

2016-11-16 13:01:29 UTC

Modified:

2016-12-21 19:46:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PHPMyAdmin blank screen after deleting a row

Symptoms

After deleting a row in PHPMyAdmin the confirmation of deletion screen doesn't load and instead the frame shows blank screen.

Cause

This is Plesk internal issue #PPPM-1395 , which is expected to be fixed in future product updates.

Resolution

Please apply the following hotfix:

  1. In ' /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php ' find the following string:
    $tmp_host = explode(':', $_SERVER['HTTP_X_FORWARDED_HOST']);

or go to line #43

  1. Insert the following string:
    $l_server_name = parse_url($_SERVER['HTTP_HOST']);
    $parsed['host'] = $l_server_name['host'];2.

The edited code should look like this:

if (vz::in_vzcp_proxy())
$tmp_host = explode(':', $_SERVER['HTTP_X_FORWARDED_HOST']);
$l_server_name = parse_url($_SERVER['HTTP_HOST']); // Patch
$parsed['host'] = $l_server_name['host']; // Patch
$base_url .= isset($parsed['host']) ? $parsed['host'] : (vz::in_vzcp_proxy() ? array_shift($tmp_host) : $_SERVER['SERVER_NAME']);
Have more questions? Submit a request
Please sign in to leave a comment.