[PHP]Phpmyadmin 2.6.0 werkt niet met Mysql 4.1.7

Pagina: 1
Acties:
  • 64 views sinds 30-01-2008

  • Daro
  • Registratie: April 2003
  • Laatst online: 09-01 14:42
Ik heb Apache 2, PHP 5, Mysql 4.1.7 en Phpmyadmin 2.6.0 op WindowsXP draaien.

Apache en php draaien goed. Ik vermoed dat Mysql ook werkt, allezinds dit werkt toch.
code:
1
2
3
4
5
6
<?php 
error_reporting(E_ALL); 
$db = mysql_connect("localhost", "root", "123456") or die ("verbinding mislukt"); 
mysql_select_db("test", $db); 
echo 'Houston, mission completed'; 
?>

Maar als ik dan Phpmyadmin wil inloggen, krijg ik op de index.php volgende error:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\db\config.inc.php:828) in C:\Program Files\Apache Group\Apache2\htdocs\db\libraries\select_theme.lib.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\db\config.inc.php:828) in C:\Program Files\Apache Group\Apache2\htdocs\db\index.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\db\config.inc.php:828) in C:\Program Files\Apache Group\Apache2\htdocs\db\index.php on line 55

Weet iemand wat dit moet voorstellen, of nog beter, hoe dit kan opgelost worden? _/-\o_

Wat ik heb aangepast in config.inc.php van phpmyadmin:

$cfg['PmaAbsoluteUri'] = 'http://localhost/db/';
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['controluser'] = 'root'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '123456'; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '123456'; // MySQL password (only needed
// with 'config' auth_type)

Als er meer info nodig is, vraag maar. Bedankt.

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 19-05 21:24

NMe

Quia Ego Sic Dico.

Probeer auth_type = cookie.

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


  • chem
  • Registratie: Oktober 2000
  • Laatst online: 18-05 16:24

chem

Reist de wereld rond

Dit heeft niets met programmeren te maken.

Klaar voor een nieuwe uitdaging.


Dit topic is gesloten.