Koozali.org: home of the SME Server

phpMyAdmin install problem

Adam

phpMyAdmin install problem
« on: February 19, 2002, 12:26:45 AM »
Hello there,

I've tried to install phpMyAdmin and have had a few problems.

I copied (ftp) the two files :.my.cnf and config.inc.php and copied and pasted the password from .my.cnf to config...

Copied the file back and am now getting the following error when I try and start phpMyAdmin with https://172.16.84.225/phpmyadmin/

error is:

Parse error: parse error in /opt/administration/phpmyadmin/config.inc.php on line 47

Warning: Variable passed to reset() is not an array or object in /opt/administration/phpmyadmin/libraries/common.lib.php on line 296

Warning: Variable passed to each() is not an array or object in /opt/administration/phpmyadmin/libraries/common.lib.php on line 297

Have I done something wrong?

cheers,

Adam

Rick

Re: phpMyAdmin install problem
« Reply #1 on: February 19, 2002, 12:31:48 AM »
Did you FTP the files in ASCI mode?

You should better edit the files at the Linux promt with the pico editor. Use pico to edit a file and CTRL-R to read the password file in it.

TimP

Re: phpMyAdmin install problem
« Reply #2 on: February 19, 2002, 02:08:18 AM »
If you have put the password in then you may have put it in the wrong line

line 47 is

$cfgServers[1]['stdpass']  

You need to put the password in

$cfgServers[1]['password']