[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cobalt raq4 / phpMyAdmin



hello!

I've a problem with a cobalt raq4 using phpMyAdmin. I've downloaded the
latest version of phpMyAdmin from http://phpwizard.net/projects/phpMyAdmin/
and installed it on my raq4. When I go to http://hostnameofmyraq4/phpMyAdmin
via web-browser I see the phpMyAdmin-Page after the authentification, but
there is not the correct mask, there are corrupt characters in the frames
and buttons. In the body of the administration-site i see following:

php3MyAdmin 2.1.0
0) { // Don't display server info if $server==0 (no server selected)
$res_version = mysql_query("SELECT Version() as version") or mysql_die();
$row_version = mysql_fetch_array($res_version); echo "MySQL
$row_version[version] $strRunning " . $cfgServer['host']; if
(!empty($cfgServer['port'])) { echo ":" . $cfgServer['port']; } echo "
\n"; } ?>
0) && isset($mode) && ($mode == "reload")) { $result = mysql_query("FLUSH
PRIVILEGES"); if ($result != 0) { echo "$strMySQLReloaded"; } else { echo
"$strReloadFailed"; } } ?>
	1) { echo "
*	"; echo '

And in the left frame of the administration-site I should be able to select
the mysql-databeses, but I see following:

0) { if(empty($dblist)) { $dbs = mysql_list_dbs(); $num_dbs =
mysql_numrows($dbs); } else { $num_dbs = count($dblist); } for($i=0;
$i<$num_dbs; $i++) { if (empty($dblist)) $db = mysql_dbname($dbs, $i); else
$db = $dblist[$i]; $j = $i + 2; ?>

Does anyone know a way to solve this problem?


By default, the phpMyAdmin scripts come with .php3 extensions which I presume the RaQ4 is not recognising. As part of the phpMyAdmin package, there is a script that will convert all the .php3 extensions to .php which is what you will need to do:

Go into the phpMyAdmin installation directory and type:

./extchg php3 php

You will also need to change all the scripts in the lang directory so....

cp ./extchg ./lang
cd lang

./extchg php3 php

Regards,

Glen Scott


--
-----------------------------------------------------
  Design Solution Limited
  t: +44 (0)1502 513008
  f: +44 (0)1502 588622
  e: info@xxxxxxxxxxxxxxxxxxxx
  w: http://www.designsolution.co.uk
  Nouvotech House, Harbour Road,
  Oulton Broad, Suffolk, NR32 3LZ, UK
-----------------------------------------------------
Graphic Design - Web development - Hosting
-----------------------------------------------------