From b496149f14e41b957c1f3f78467c686e78cb6c06 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 4 Mar 2005 13:59:12 +0000 Subject: [PATCH] new faq 2.8 about Missing parameters --- ChangeLog | 4 ++++ Documentation.html | 20 ++++++++++++++++++++ libraries/common.lib.php | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88b4af38b..32a420eac 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-03-04 Marc Delisle + * Documentation.html, libraries/common.lib.php: new FAQ 2.8 about + Missing parameters, and when the error happens, show a link to FAQ + 2005-03-03 Alexander M. Turek * libraries/grab_globals.lib.php: Bug #1153079 (Updating columns starting with "str"). diff --git a/Documentation.html b/Documentation.html index 576e54962..7b4ea053f 100755 --- a/Documentation.html +++ b/Documentation.html @@ -2870,6 +2870,26 @@ To create a new, empty mimetype please see libraries/transformations/template_ge directory "img" in "your_theme_name". phpMyAdmin will use the default icons and buttons (from the system-theme "original").

+
+

+ [2.8] I get "Missing parameters" errors, what can I do? +

+

+ Here are a few points to check: +

    +
  • + In config.inc.php, try to leave the + $cfg['PmaAbsoluteUri']directive empty. See also FAQ 4.7. +
  • +
  • + Maybe you have a broken PHP installation or you need to upgrade + your Zend Optimizer. See + + http://bugs.php.net/bug.php?id=31134. +
  • +
+

+

[3. Known limitations]


diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 6e848f5ba..8581e3038 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2252,7 +2252,7 @@ if (typeof(document.getElementById) != 'undefined' foreach ($params AS $param) { if (!isset($GLOBALS[$param])) { - $error_message .= $reported_script_name . ': Missing parameter: ' . $param . '
'; + $error_message .= $reported_script_name . ': Missing parameter: ' . $param . ' (FAQ 2.8)
'; $found_error = TRUE; } }