This commit is contained in:
Marc Delisle
2002-07-30 11:48:01 +00:00
parent d6d015f259
commit a27aced88f
3 changed files with 142 additions and 106 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-07-30 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* Documentation.html: coding standards (line size <= 80).
* db_details_structure.php3, lines 456-460: beautified generated page.
2002-07-29 Marc Delisle <lem9@users.sourceforge.net> 2002-07-29 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: auto-detect, dot in dbname, CGI and cookie auth * Documentation.html: auto-detect, dot in dbname, CGI and cookie auth
* lang/turkish update, thanks to Bora Alioglu * lang/turkish update, thanks to Bora Alioglu

View File

@@ -79,15 +79,22 @@
<!-- TOP MENU --> <!-- TOP MENU -->
<ul> <ul>
<li><a class="navigation" href="http://www.phpmyadmin.net/">Sourceforge phpMyAdmin project page&nbsp;&nbsp;&nbsp;[ http://www.phpmyadmin.net/ ]</a></li> <li>
<li>Local documents: <a class="navigation" href="http://www.phpmyadmin.net/">
<ul> Sourceforge phpMyAdmin project page&nbsp;&nbsp;&nbsp;[ http://www.phpmyadmin.net/ ]</a>
<li>Version history: <a class="navigation" href="ChangeLog">ChangeLog</a></li> </li>
<li>General notes: <a class="navigation" href="README">README</a></li> <li>
<li>License: <a class="navigation" href="LICENSE">LICENSE</a></li> Local documents:
</ul> <ul>
<li>Version history: <a class="navigation" href="ChangeLog">ChangeLog</a></li>
<li>General notes: <a class="navigation" href="README">README</a></li>
<li>License: <a class="navigation" href="LICENSE">LICENSE</a></li>
</ul>
</li>
<li>
Documentation version:
<i>$Id$</i>
</li> </li>
<li>Documentation version: <i>$Id$</i></li>
</ul> </ul>
@@ -266,9 +273,10 @@
buggy about cookies, at least till version 6. And php 4.1.1 is also a buggy about cookies, at least till version 6. And php 4.1.1 is also a
bit buggy in this area!<br /><br /></li> bit buggy in this area!<br /><br /></li>
<li>Http and cookie authentication modes are more secure: the MySQL password <li>Http and cookie authentication modes are more secure: the MySQL
does not need to be set in the phpMyAdmin configuration file. (except password does not need to be set in the phpMyAdmin configuration file
for the &quot;controluser&quot; -see the Configuration section-). (except for the &quot;controluser&quot; -see the
<a class="navigation" href="#config">Configuration section</a>-).
<br /> <br />
However, keep in mind that the password travels in plain text, unless However, keep in mind that the password travels in plain text, unless
you are using the https protocol. you are using the https protocol.
@@ -301,7 +309,8 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
... and if you want to use the many new relation and bookmark features: ... and if you want to use the many new relation and bookmark
features:
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -334,7 +343,8 @@
<li>Was called 'advanced' in versions before 2.2.3.</li> <li>Was called 'advanced' in versions before 2.2.3.</li>
<li>Introduced in 1.3.0, it uses Basic HTTP authentication method and <li>Introduced in 1.3.0, it uses Basic HTTP authentication method and
allows you to login as any valid MySQL user.</li> allows you to login as any valid MySQL user.</li>
<li>Is only supported with PHP running as an Apache module, not with cgi.</li> <li>Is only supported with PHP running as an Apache module, not with
cgi.</li>
</ul> </ul>
<p><b>'cookie' authentication mode:</b></p> <p><b>'cookie' authentication mode:</b></p>
@@ -406,7 +416,7 @@
empty, because the program tries to auto-detect its proper value. empty, because the program tries to auto-detect its proper value.
Additional details are in the configuration file. Additional details are in the configuration file.
<br /><br /> <br /><br />
Or, this setting can be dynamically completed. For example, you can Or, this setting can be dynamically completed. For example, you can
try to use such a kind of code: try to use such a kind of code:
<pre> <pre>
$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
@@ -622,7 +632,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
To allow the usage of this functionality the superuser has to: To allow the usage of this functionality the superuser has to:
<ul> <ul>
<li>set up a PMA database as described above</li> <li>set up a PMA database as described above</li>
<li>within this database create a table following this scheme:<br /> <li>within this database create a table following this scheme:
<br />
<tt> <tt>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_bookmark` (<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_bookmark` (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id int(11) DEFAULT '0' NOT NULL auto_increment,<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id int(11) DEFAULT '0' NOT NULL auto_increment,<br />
@@ -634,7 +645,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) TYPE=MyISAM COMMENT='Bookmarks';<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) TYPE=MyISAM COMMENT='Bookmarks';<br />
</tt> </tt>
</li> </li>
<li>enter the tablename in <tt>$cfg['Servers'][$i]['bookmarktable']</tt></li> <li>enter the tablename in
<tt>$cfg['Servers'][$i]['bookmarktable']</tt></li>
</ul><br /> </ul><br />
Note that &quot;controluser&quot; must have <tt>SELECT</tt>, Note that &quot;controluser&quot; must have <tt>SELECT</tt>,
@@ -685,7 +697,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<ul> <ul>
<li>set up a PMA database as described above</li> <li>set up a PMA database as described above</li>
<li> <li>
within this database create a table following this scheme:<br /> within this database create a table following this scheme:
<br />
<tt> <tt>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_relation` (<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_relation` (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`master_db` varchar(64) NOT NULL default '',<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`master_db` varchar(64) NOT NULL default '',<br />
@@ -728,7 +741,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
To allow the usage of this functionality the superuser has to: To allow the usage of this functionality the superuser has to:
<ul> <ul>
<li>set up a PMA database as described above</li> <li>set up a PMA database as described above</li>
<li>within this database create a table following this scheme:<br /> <li>within this database create a table following this scheme:
<br />
<tt> <tt>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_table_info` (<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_table_info` (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`db_name` varchar(64) NOT NULL default '',<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`db_name` varchar(64) NOT NULL default '',<br />
@@ -772,7 +786,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<ul> <ul>
<li>set up a PMA database as described above</li> <li>set up a PMA database as described above</li>
<li> <li>
within this database create a table following this scheme:<br /> within this database create a table following this scheme:
<br />
<tt> <tt>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_table_coords` (<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_table_coords` (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`db_name` varchar(64) NOT NULL default '',<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`db_name` varchar(64) NOT NULL default '',<br />
@@ -819,7 +834,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<ul> <ul>
<li>set up a PMA database as described above</li> <li>set up a PMA database as described above</li>
<li> <li>
within this database create a table following this scheme:<br /> within this database create a table following this scheme:
<br />
<tt> <tt>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_column_comments` (<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CREATE TABLE `PMA_column_comments` (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id int(5) unsigned NOT NULL auto_increment,<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id int(5) unsigned NOT NULL auto_increment,<br />
@@ -1078,15 +1094,17 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
from edition when browsing a table's content or not. from edition when browsing a table's content or not.
Valid values are:<br /> Valid values are:<br />
- <tt>FALSE</tt> to allow edition of all fields;<br /> - <tt>FALSE</tt> to allow edition of all fields;<br />
- <tt>blob</tt> to allow edition of all fields except <tt>BLOBS</tt>;<br /> - <tt>blob</tt> to allow edition of all fields except <tt>BLOBS</tt>;
- <tt>all</tt> to disallow edition of all <tt>BINARY</tt> or <tt>BLOB</tt> fields. <br />
- <tt>all</tt> to disallow edition of all <tt>BINARY</tt> or
<tt>BLOB</tt> fields.
<br /><br /> <br /><br />
</dd> </dd>
<dt><b>$cfg['ShowFunctionFields'] </b>boolean</dt> <dt><b>$cfg['ShowFunctionFields'] </b>boolean</dt>
<dd> <dd>
Defines whether MySQL functions fields should be displayed or not in edit/insert Defines whether MySQL functions fields should be displayed or not in
mode. edit/insert mode.
<br /><br /> <br /><br />
</dd> </dd>
@@ -1342,9 +1360,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<a name="faqserver"></a> <a name="faqserver"></a>
<h3>[1. Server]</h3> <h3>[1. Server]</h3>
<p> <p>
<b>[1.1] I'm running php 4+ and my server is crashing each time a specific action <b>[1.1] I'm running php 4+ and my server is crashing each time a specific
is required or phpMyAdmin sends a blank page or a page full of cryptic action is required or phpMyAdmin sends a blank page or a page full of
characters to my browser, what can I do?</b> cryptic characters to my browser, what can I do?</b>
<br /> <br />
There are some known php bugs with output buffering and compression.<br /> There are some known php bugs with output buffering and compression.<br />
Try to set the <tt>$cfg['OBGzip']</tt> directive to <tt>FALSE</tt> in your Try to set the <tt>$cfg['OBGzip']</tt> directive to <tt>FALSE</tt> in your
@@ -1368,9 +1386,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.3] I'm running phpMyAdmin with "cookie" authentication mode under PHP 4.2.0 <b>[1.3] I'm running phpMyAdmin with "cookie" authentication mode under
or 4.2.1 loaded as an Apache 2+ module but can't enter the script: I'm PHP 4.2.0 or 4.2.1 loaded as an Apache 2+ module but can't enter the
always displayed the login screen.</b> script: I'm always displayed the login screen.</b>
<br /> <br />
This is a kown PHP bug (see this This is a kown PHP bug (see this
<a href="http://bugs.php.net/bug.php?id=16626">bug report</a>) from the <a href="http://bugs.php.net/bug.php?id=16626">bug report</a>) from the
@@ -1379,9 +1397,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.4] Using phpMyAdmin on IIS, I'm displayed the error message: &quot;The <b>[1.4] Using phpMyAdmin on IIS, I'm displayed the error message:
specified CGI application misbehaved by not returning a complete set of &quot;The specified CGI application misbehaved by not returning a
HTTP headers....&quot;</b> complete set of HTTP headers....&quot;</b>
<br /> <br />
You just forgot to read the <i>install.txt</i> file from the php You just forgot to read the <i>install.txt</i> file from the php
distribution. Have a look at the last message in this distribution. Have a look at the last message in this
@@ -1390,8 +1408,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.5] Using phpMyAdmin on IIS, I'm facing crashes and/or many error messages <b>[1.5] Using phpMyAdmin on IIS, I'm facing crashes and/or many error
with the http or advanced authentication mode.</b> messages with the http or advanced authentication mode.</b>
<br /> <br />
This is a known problem with the php ISAPI filter: it's not so stable. For This is a known problem with the php ISAPI filter: it's not so stable. For
some more information and complete testings see the messages posted by some more information and complete testings see the messages posted by
@@ -1411,7 +1429,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.7] How can I GZip or Bzip a dump or a CSV export. It seems to not work?</b> <b>[1.7] How can I GZip or Bzip a dump or a CSV export. It seems to not
work?</b>
<br /> <br />
These features are based on the <tt>gzencode()</tt> and These features are based on the <tt>gzencode()</tt> and
<tt>bzcompress()</tt> php functions to be more independent of the platform <tt>bzcompress()</tt> php functions to be more independent of the platform
@@ -1424,8 +1443,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.8] I cannot insert a text file in a table, and I get an error about safe <b>[1.8] I cannot insert a text file in a table, and I get an error about
mode being in effect.</b> safe mode being in effect.</b>
<br /> <br />
Your uploaded file is saved by PHP in the &quot;upload dir&quot;, as Your uploaded file is saved by PHP in the &quot;upload dir&quot;, as
defined in <i>php.ini</i> by the variable <tt>upload_tmp_dir</tt> (usually defined in <i>php.ini</i> by the variable <tt>upload_tmp_dir</tt> (usually
@@ -1445,9 +1464,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</ul> </ul>
<p> <p>
<b>[1.9] I'm having troubles when uploading files. In general file uploads don't <b>[1.9] I'm having troubles when uploading files. In general file uploads
work on my system and uploaded files have a <tt>Content-Type:</tt> header don't work on my system and uploaded files have a <tt>Content-Type:</tt>
in the first line.</b> header in the first line.</b>
<br /> <br />
It's not really phpMyAdmin related but RedHat 7.0. You have a RedHat 7.0 It's not really phpMyAdmin related but RedHat 7.0. You have a RedHat 7.0
and you updated your php rpm to php-4.0.4pl1-3.i386.rpm, didn't you? and you updated your php rpm to php-4.0.4pl1-3.i386.rpm, didn't you?
@@ -1468,9 +1487,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.10] I'm having troubles when uploading files with phpMyAdmin running on a <b>[1.10] I'm having troubles when uploading files with phpMyAdmin running
secure server. My browser is Internet Explorer and I'm using the Apache on a secure server. My browser is Internet Explorer and I'm using the
server.</b> Apache server.</b>
<br /> <br />
As suggested by &quot;Rob M&quot; in the phpWizard forum, add this line to As suggested by &quot;Rob M&quot; in the phpWizard forum, add this line to
your <i>httpd.conf</i>:<br /> your <i>httpd.conf</i>:<br />
@@ -1479,8 +1498,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.11] I get an 'open_basedir restriction' while uploading a file from the <b>[1.11] I get an 'open_basedir restriction' while uploading a file from
query box.</b> the query box.</b>
<br /> <br />
Since version 2.2.4, phpMyAdmin supports servers with open_basedir Since version 2.2.4, phpMyAdmin supports servers with open_basedir
restrictions. Assuming that the restriction allows you to open files in the restrictions. Assuming that the restriction allows you to open files in the
@@ -1499,15 +1518,16 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.13] I get an error 'No SQL query' when trying to execute a bookmark.</b> <b>[1.13] I get an error 'No SQL query' when trying to execute a
bookmark.</b>
<br /> <br />
If PHP does not have read/write access to its <tt>upload_tmp_dir</tt>, it If PHP does not have read/write access to its <tt>upload_tmp_dir</tt>, it
cannot access the uploaded query. cannot access the uploaded query.
</p> </p>
<p> <p>
<b>[1.14] I get an error 'No SQL query' when trying to submit a query from the <b>[1.14] I get an error 'No SQL query' when trying to submit a query from
convenient text area.</b> the convenient text area.</b>
<br /> <br />
Check the <tt>post_max_size</tt> directive from your php configuration file Check the <tt>post_max_size</tt> directive from your php configuration file
and try to increase it. and try to increase it.
@@ -1559,8 +1579,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[1.19] I can't run the &quot;display relations&quot; feature because the script <b>[1.19] I can't run the &quot;display relations&quot; feature because the
seems not to know the font face I'm using!</b> script seems not to know the font face I'm using!</b>
<br /> <br />
The &quot;FPDF&quot; library we're using for this feature requires some The &quot;FPDF&quot; library we're using for this feature requires some
special files to use font faces.<br /> special files to use font faces.<br />
@@ -1571,14 +1591,14 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<a name="faqmysql"></a> <a name="faqmysql"></a>
<p> <p>
<b>[1.20] I receive the error &quot;cannot load MySQL extension, please check <b>[1.20] I receive the error &quot;cannot load MySQL extension, please
PHP Configuration&quot;.</b> check PHP Configuration&quot;.</b>
<br /> <br />
To connect to a MySQL server, PHP needs a set of MySQL functions called To connect to a MySQL server, PHP needs a set of MySQL functions called
&quot;MySQL extension&quot;. &quot;MySQL extension&quot;.
This extension may be part of the PHP server (compiled-in), otherwise it This extension may be part of the PHP server (compiled-in), otherwise it
needs to be loaded dynamically. Its name is probably mysql.so or mysql.dll. needs to be loaded dynamically. Its name is probably <i>mysql.so</i> or
phpMyAdmin tried to load the extension but failed. <i>mysql.dll</i>. phpMyAdmin tried to load the extension but failed.
<br /><br /> <br /><br />
Usually, the problem is solved by installing a software package called Usually, the problem is solved by installing a software package called
&quot;PHP-MySQL&quot; or something similar. &quot;PHP-MySQL&quot; or something similar.
@@ -1586,16 +1606,16 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<p> <p>
<b>[1.21] I am running the CGI version of PHP under Unix, and I cannot <b>[1.21] I am running the CGI version of PHP under Unix, and I cannot
login using cookie auth.</b><br /> login using cookie auth.</b><br />
In php.ini, set mysql.max_links higher than 1.<br /> In <i>php.ini</i>, set <tt>mysql.max_links</tt> higher than 1.<br />
</p> </p>
<a name="faqconfig"></a> <a name="faqconfig"></a>
<h3>[2. Configuration]</h3> <h3>[2. Configuration]</h3>
<p> <p>
<b>[2.1] The error message &quot;Warning: Cannot add header information - headers <b>[2.1] The error message &quot;Warning: Cannot add header information -
already sent by ...&quot; is displayed, what's the problem?</b> headers already sent by ...&quot; is displayed, what's the problem?</b>
<br /> <br />
Edit your <i>config.inc.php or .php3</i> file and ensure there is nothing Edit your <i>config.inc.php or .php3</i> file and ensure there is nothing
(ie no blank lines, no spaces, no characters...) neither before the (ie no blank lines, no spaces, no characters...) neither before the
@@ -1613,9 +1633,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[2.3] The error message &quot;Warning: MySQL Connection Failed: Can't connect <b>[2.3] The error message &quot;Warning: MySQL Connection Failed: Can't
to local MySQL server through socket '/tmp/mysql.sock' (111)...&quot;) is connect to local MySQL server through socket '/tmp/mysql.sock'
displayed. What can I do?</b> (111)...&quot; is displayed. What can I do?</b>
<br /><br /> <br /><br />
For RedHat users, Harald Legner suggests this on the mailing list: For RedHat users, Harald Legner suggests this on the mailing list:
<br /><br /> <br /><br />
@@ -1660,8 +1680,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[2.4] Nothing is displayed by my browser when I try to run phpMyAdmin, what <b>[2.4] Nothing is displayed by my browser when I try to run phpMyAdmin,
can I do?</b> what can I do?</b>
<br /> <br />
Try to set the <tt>$cfg['OBGZip']</tt> directive to <tt>FALSE</tt> in the Try to set the <tt>$cfg['OBGZip']</tt> directive to <tt>FALSE</tt> in the
phpMyAdmin configuration file. It helps sometime.<br /> phpMyAdmin configuration file. It helps sometime.<br />
@@ -1671,8 +1691,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[2.5] Each time I want to insert or change a record or drop a database or a <b>[2.5] Each time I want to insert or change a record or drop a database
table, an error 404 (page not found) is displayed or, with http or or a table, an error 404 (page not found) is displayed or, with http or
cookie authentication, I'm asked to login again. What's wrong?</b> cookie authentication, I'm asked to login again. What's wrong?</b>
<br /> <br />
Check the value you set for the <tt>$cfg['PmaAbsoluteUri']</tt> directive Check the value you set for the <tt>$cfg['PmaAbsoluteUri']</tt> directive
@@ -1683,8 +1703,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<h3>[3. Known limitations]</h3> <h3>[3. Known limitations]</h3>
<a name="login_bug"></a> <a name="login_bug"></a>
<p> <p>
<b>[3.1] When using http authentication, an user who logged out can not relog <b>[3.1] When using http authentication, an user who logged out can not
in with the same nick.</b> relog in with the same nick.</b>
<br /> <br />
This is related to the authentication mechanism (protocol) used by This is related to the authentication mechanism (protocol) used by
phpMyAdmin. We plan to change it as soon as we may find enough free time phpMyAdmin. We plan to change it as soon as we may find enough free time
@@ -1716,8 +1736,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<a name="faqmultiuser"></a> <a name="faqmultiuser"></a>
<h3>[4. ISPs, multi-user installations ]</h3> <h3>[4. ISPs, multi-user installations ]</h3>
<p> <p>
<b>[4.1] I'm an ISP. Can I setup one central copy of phpMyAdmin or do I need to <b>[4.1] I'm an ISP. Can I setup one central copy of phpMyAdmin or do I
install it for each customer?</b> need to install it for each customer?</b>
<br /> <br />
Since version 2.0.3, you can setup a central copy of phpMyAdmin for all Since version 2.0.3, you can setup a central copy of phpMyAdmin for all
your users. The development of this feature was kindly sponsored by your users. The development of this feature was kindly sponsored by
@@ -1729,7 +1749,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<p> <p>
<b>[4.2] What's the preferred way of making phpMyAdmin secure against evil <b>[4.2] What's the preferred way of making phpMyAdmin secure against evil
access?</b> access?</b>
<br /> <br />
This depends on your system.<br /> This depends on your system.<br />
If you're running a server which cannot be accessed by other people, it's If you're running a server which cannot be accessed by other people, it's
@@ -1756,8 +1776,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</ul> </ul>
<p> <p>
<b>[4.3] I get errors about not being able to include a file in <i>/lang</i> <b>[4.3] I get errors about not being able to include a file in
or in <i>/libraries</i>.</b> <i>/lang</i> or in <i>/libraries</i>.</b>
<br /> <br />
Check <i>php.ini</i>, or ask your sysadmin to check it. The Check <i>php.ini</i>, or ask your sysadmin to check it. The
<tt>include_path</tt> must contain &quot;.&quot; somewhere in it, and <tt>include_path</tt> must contain &quot;.&quot; somewhere in it, and
@@ -1766,7 +1786,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[4.4] phpMyAdmin always gives &quot;Access denied&quot; when using http <b>[4.4] phpMyAdmin always gives &quot;Access denied&quot; when using http
authentication.</b><br /> authentication.</b><br />
This could happen for several reasons: This could happen for several reasons:
</p> </p>
<ul> <ul>
@@ -1823,8 +1843,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<a name="faqbrowsers"></a> <a name="faqbrowsers"></a>
<h3>[5. Browsers or client OS]</h3> <h3>[5. Browsers or client OS]</h3>
<p> <p>
<b>[5.1] I get an out of memory error, and my controls are non-functional, when <b>[5.1] I get an out of memory error, and my controls are non-functional,
trying to create a table with more than 14 fields.</b> when trying to create a table with more than 14 fields.</b>
<br /> <br />
We could reproduce this problem only under Win98/98SE. Testing under We could reproduce this problem only under Win98/98SE. Testing under
WinNT4 or Win2K, we could easily create more than 60 fields. WinNT4 or Win2K, we could easily create more than 60 fields.
@@ -1842,7 +1862,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[5.3] I have problems dumping tables with Konqueror (phpMyAdmin 2.2.2)</b> <b>[5.3] I have problems dumping tables with Konqueror
(phpMyAdmin 2.2.2)</b>
<br /> <br />
With Konqueror 2.1.1: plain dumps, zip and gzip dumps work ok, except that With Konqueror 2.1.1: plain dumps, zip and gzip dumps work ok, except that
the proposed file name for the dump is always 'tbl_dump.php'. Bzip2 dumps the proposed file name for the dump is always 'tbl_dump.php'. Bzip2 dumps
@@ -1856,8 +1877,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[5.4] I can't use the cookie authentication mode because Internet Explorer <b>[5.4] I can't use the cookie authentication mode because Internet
never stores the cookies.</b> Explorer never stores the cookies.</b>
<br /> <br />
MS Internet Explorer seems to be really buggy about cookies, at least till MS Internet Explorer seems to be really buggy about cookies, at least till
version 6. And thanks to Andrew Zivolup we've traced also a php 4.1.1 bug version 6. And thanks to Andrew Zivolup we've traced also a php 4.1.1 bug
@@ -1875,8 +1896,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[5.6] In Internet Explorer 5.0, 5.5 or 6.0, I get an error when trying to <b>[5.6] In Internet Explorer 5.0, 5.5 or 6.0, I get an error when trying
modify a row in a table with many fields, or with a text field.</b> to modify a row in a table with many fields, or with a text field.</b>
<br /> <br />
Your table neither have a primary key nor an unique one, so we must use a Your table neither have a primary key nor an unique one, so we must use a
long URL to identify this row. There is a limit on the lenght of the URL in long URL to identify this row. There is a limit on the lenght of the URL in
@@ -1886,23 +1907,24 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[5.7] I refresh (reload) my browser, and come back to the welcome page.</b> <b>[5.7] I refresh (reload) my browser, and come back to the welcome
page.</b>
<br /> <br />
Some browsers support right-clicking into the frame you want to refresh, Some browsers support right-clicking into the frame you want to refresh,
just do this in the right frame.<br /> just do this in the right frame.<br />
</p> </p>
<p> <p>
<b>[5.8] With Mozilla 0.9.7 I have problems sending a query modified in the query <b>[5.8] With Mozilla 0.9.7 I have problems sending a query modified in the
box.</b> query box.</b>
<br /> <br />
Looks like a Mozilla bug: 0.9.6 was ok. We will keep an eye on future Looks like a Mozilla bug: 0.9.6 was ok. We will keep an eye on future
Mozilla versions.<br /> Mozilla versions.<br />
</p> </p>
<p> <p>
<b>[5.9] With Mozilla 0.9.? to 1.0 and Netscape 7.0-PR1 I can't type a whitespace <b>[5.9] With Mozilla 0.9.? to 1.0 and Netscape 7.0-PR1 I can't type a
in the SQL-Query edit area: the page scrolls down.</b> whitespace in the SQL-Query edit area: the page scrolls down.</b>
<br /> <br />
This is a Mozilla bug (see bug #26882 at This is a Mozilla bug (see bug #26882 at
<a class="navigation" href="http://bugzilla.mozilla.org/" target="_blank">Bugzilla</a>).<br /> <a class="navigation" href="http://bugzilla.mozilla.org/" target="_blank">Bugzilla</a>).<br />
@@ -1910,7 +1932,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<p> <p>
<b>[5.10] With Netscape 4.75 I get empty rows between each row of data in a <b>[5.10] With Netscape 4.75 I get empty rows between each row of data in a
CSV exported file.</b> CSV exported file.</b>
<br /> <br />
This is a known Netscape 4.75 bug: it adds some line feeds when exporting This is a known Netscape 4.75 bug: it adds some line feeds when exporting
data in octet-stream mode. Since we can't detect the specific Netscape data in octet-stream mode. Since we can't detect the specific Netscape
@@ -1920,7 +1942,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<a name="faqusing"></a> <a name="faqusing"></a>
<h3>[6. Using phpMyAdmin]</h3> <h3>[6. Using phpMyAdmin]</h3>
<p> <p>
<b>[6.1] I can't insert new rows into a table - MySQL brings up a SQL-error.</b> <b>[6.1] I can't insert new rows into a table - MySQL brings up a
SQL-error.</b>
<br /> <br />
Examine the SQL error with care. I've found that many programmers Examine the SQL error with care. I've found that many programmers
specifying a wrong field-type.<br /> specifying a wrong field-type.<br />
@@ -1956,8 +1979,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<b>[6.4] How can I backup my database or table?</b> <b>[6.4] How can I backup my database or table?</b>
<br /> <br />
Click on a database or table name in the left frame, the properties will be Click on a database or table name in the left frame, the properties will be
displayed. Then on the menu, click &quot;Export&quot;, you can dump displayed. Then on the menu, click &quot;Export&quot;, you can dump
the structure, the data, or both. This will generate standard SQL the structure, the data, or both. This will generate standard SQL
statements that can be used to recreate your database/table. statements that can be used to recreate your database/table.
<br /><br /> <br /><br />
You will need to choose &quot;Save as file&quot;, so that phpMyAdmin can You will need to choose &quot;Save as file&quot;, so that phpMyAdmin can
@@ -1973,11 +1996,11 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<b>[6.5] How can I restore (upload) my database or table using a dump?</b> <b>[6.5] How can I restore (upload) my database or table using a dump?</b>
<br /> <br />
Click on a database name in the left frame, the properties will be Click on a database name in the left frame, the properties will be
displayed. Then in the &quot;Run SQL query&quot; section, type in your local local displayed. Then in the &quot;Run SQL query&quot; section, type in
dump filename, or use the Browse button. Then click Go. your dump filename, or use the Browse button. Then click Go.
<br /><br /> <br /><br />
For additional help on this subject, look for the word &quot;upload&quot; in For additional help on this subject, look for the word &quot;upload&quot;
this document. in this document.
</p> </p>
<p> <p>
@@ -2093,14 +2116,16 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<p> <p>
<b>[6.9] phpMyAdmin is changing the type of one of my columns!</b> <b>[6.9] phpMyAdmin is changing the type of one of my columns!</b>
<br /> <br />
No, it's MySQL that is doing <a class="navigation" href="http://www.mysql.com/doc/S/i/Silent_column_changes.html">silent column type changing</a>. No, it's MySQL that is doing
<a class="navigation" href="http://www.mysql.com/doc/S/i/Silent_column_changes.html">silent column type changing</a>.
</p> </p>
<a name="underscore"></a> <a name="underscore"></a>
<p> <p>
<b>[6.10] My database has an underscore in it's name, and when I grant privileges <b>[6.10] My database has an underscore in it's name, and when I grant
to a user for this database, a backslash is added before the underscore. privileges to a user for this database, a backslash is added before the
</b><br /> underscore.</b>
<br />
This is normal and means that the grant is done only for this database. If This is normal and means that the grant is done only for this database. If
there was no backslash, this would be a wildcard grant, and the there was no backslash, this would be a wildcard grant, and the
underscore would mean &quot;any character&quot;. So, if the database name underscore would mean &quot;any character&quot;. So, if the database name
@@ -2110,13 +2135,15 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
Database (wildcards allowed)&quot; for this. Database (wildcards allowed)&quot; for this.
</p> </p>
<p> <p>
<b>[6.11] What is the curious symbol &oslash; in the table statistics?</b><br /> <b>[6.11] What is the curious symbol &oslash; in the table statistics?</b>
<br />
It means &quot;average&quot;. It means &quot;average&quot;.
</p> </p>
<a name="faqexport"></a> <a name="faqexport"></a>
<p> <p>
<b>[6.12] I want to understand some Export options.</b><br /> <b>[6.12] I want to understand some Export options.</b>
<br />
&quot;Complete inserts&quot; adds the column names on every INSERT command, &quot;Complete inserts&quot; adds the column names on every INSERT command,
for better documentation (but resulting file is bigger).<br /> for better documentation (but resulting file is bigger).<br />
&quot;Extended inserts&quot; provides a shorter dump file by using only &quot;Extended inserts&quot; provides a shorter dump file by using only
@@ -2126,7 +2153,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[6.13] I would like to create a database with a dot in its name.</b><br /> <b>[6.13] I would like to create a database with a dot in its name.</b>
<br />
This is a bad idea, because in MySQL the syntax &quot;database.table&quot; This is a bad idea, because in MySQL the syntax &quot;database.table&quot;
is the normal way to reference a database and table name. Worse, MySQL is the normal way to reference a database and table name. Worse, MySQL
will usually let you create a database with a dot, but then you cannot will usually let you create a database with a dot, but then you cannot
@@ -2138,8 +2166,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<p> <p>
<b>[7.1] I have found a bug. How do I inform developers?</b> <b>[7.1] I have found a bug. How do I inform developers?</b>
<br /> <br />
Our Bug Tracker is located at <a href="http://sourceforge.net/projects/phpmyadmin/"> Our Bug Tracker is located at
http://sourceforge.net/projects/phpmyadmin/</a> under the Bugs section. <a href="http://sourceforge.net/projects/phpmyadmin/">http://sourceforge.net/projects/phpmyadmin/</a>
under the Bugs section.
<br /><br /> <br /><br />
But please first discuss your bug with other users: But please first discuss your bug with other users:
<br /> <br />
@@ -2168,8 +2197,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p> </p>
<p> <p>
<b>[7.3] I would like to help out with the development of phpMyAdmin. How should <b>[7.3] I would like to help out with the development of phpMyAdmin. How
I proceed?</b> should I proceed?</b>
<br /> <br />
The following method is preferred for new developers: The following method is preferred for new developers:
</p> </p>
@@ -2193,7 +2222,8 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<p> <p>
Write access to the CVS tree is granted only to experienced developers who Write access to the CVS tree is granted only to experienced developers who
have already contributed something useful to phpMyAdmin.<br /> have already contributed something useful to phpMyAdmin.<br />
Also, have a look at the <a class="navigation" href="#developers">Developers section</a>. Also, have a look at the
<a class="navigation" href="#developers">Developers section</a>.
</p> </p>

View File

@@ -453,9 +453,11 @@ echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
if ($num_tables > 0 if ($num_tables > 0
&& !$cfgRelation['allworks'] && $cfg['PmaNoRelation_DisableWarning'] == FALSE) { && !$cfgRelation['allworks'] && $cfg['PmaNoRelation_DisableWarning'] == FALSE) {
echo ' <li>' . "\n"; echo ' <li>' . "\n";
echo ' <div style="margin-bottom: 10px">' . "\n";
echo ' <font color="red">' . $strError . '</font><br />' . "\n"; echo ' <font color="red">' . $strError . '</font><br />' . "\n";
$url_to_goto = '<a href="' . $cfg['PmaAbsoluteUri'] . 'chk_rel.php3?' . $url_query . '">'; $url_to_goto = '<a href="' . $cfg['PmaAbsoluteUri'] . 'chk_rel.php3?' . $url_query . '">';
echo ' ' . sprintf($strRelationNotWorking, $url_to_goto, '</a>') . "\n"; echo ' ' . sprintf($strRelationNotWorking, $url_to_goto, '</a>') . "\n";
echo ' </div>' . "\n";
echo ' </li>' . "\n"; echo ' </li>' . "\n";
} // end if } // end if