OS: Windows XP

Webserver: Sambar 6.4

Php 4.4.4

MySQL: 5.0.27

I copied the files to a directory called e:\intranet

->e:\intranet\phptest

installed mappings and edited config.inc.php

 

<?php

    // database configuration variables

    define('DB_HOST', 'localhost');   // hostname of database

    define('DB_USERNAME', 'root'); // username of database

    define('DB_PASSWORD', '');        // password of databsae

    define('DEFAULT_DB', 'phptest');  // name of database to use

    define('DB_TYPE', 'mysql');       // database type.  Mysql is the only
supported db right now

    define('DB_USE_PCONNECT', 0);     // set this to 0 if your database
doesn't support persistent connections

    // absolute path of your phptest installation

    define('ABSOLUTE_PATH',
'https://cobragraz.gotdns.org/intranet/phptest/');

?>

 

created a database phptest and installed the tables with
/installscript/phptest.sql .

 

then i tried it .

login page appears, then as soon as i try login with

admin/123456

or

guest/guest

 

it says: Username or password incorrect

then i tried to register a new user

 

login: tester

Pw: tester

e-mail: [EMAIL PROTECTED]

 

and got:

 

There was an SQL error. The error message is: 
Data too long for column 'password' at row 1
Please notify the site administrator <mailto:[EMAIL PROTECTED]> .
The SQL Query that failed is: INSERT INTO users (username, password, email,
real_name, date_joined, admin) VALUES ('tester', PASSWORD('tester'),
'[EMAIL PROTECTED]', 'tester', CURRENT_TIMESTAMP, 0)

 

whats wrong?

 

does somebody know the answer?

 

Other php Scripts like phpmyfaq or phpbb2 work with no problem . did i
forgot something?

_______________________________________________
Phptest-users mailing list
Phptest-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/phptest-users

Reply via email to