Got the error : Your account may be disabled or ...

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
vinztan
Posts: 4
Joined: 22 Feb 2007, 09:56

Got the error : Your account may be disabled or ...

Post by vinztan »

Hello,

I am installing Mantis from a Red Hat Enterprise Linux onto a Windows 2003 Server.
When i open the mantis login page i get the following error for all accounts :

Your account may be disabled or blocked or the username/password you
entered is incorrect.

Would you have any suggestion to solve this problem ?


I have following configuration on my Windows 2003 server :

MySQL version 5.0.27
PHP version 5.2.1
Apache server version 2.0.58
and Mantis based on version 0.15.12

I installed phpMyAdmin 2.9.2 and it works fine.
For Mantis, I created the MantisDB database and the tables from the dump of the Mantis DB installed on the Linux system.
I configured the config_inc.php4 and config_inc_project.php4 files according to this new Windows environnement and the admin_check.php4 is successfull.

What's the problem ??

Thanks in advance,

Vince.
vinztan
Posts: 4
Joined: 22 Feb 2007, 09:56

Post by vinztan »

I solved this problem doing this :
into php.ini :
register_globals = On

into config_inc.php4, by adding :
$g_path = "./";
$g_absolute_path = "./";

Now, I can't create any project, user, or whatever : the INSERT orders fail.
Ex. :

ERROR: FAILED QUERY: INSERT INTO mantis_project_table ( id, name, status, enabled, view_state, file_path, access_min, description, FO_BO, class, respo, respo_suppl, respo_pole, respo_TMA ) VALUES ( null, 'Test', '10', '1', '50', '', '10', 'blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla ', '', '0', '', '', '', '' ) :
1366: Incorrect integer value: '' for column 'FO_BO' at row 1


Looking into the php5error.log, I find a lot of undefined variables. Any ideas ?
vinztan
Posts: 4
Joined: 22 Feb 2007, 09:56

Post by vinztan »

I found I had a configuration pb with the MySQL DB :

I skipped InnoDB settings in the my.ini

added :
bind-address=192.168.2.108
default-storage-engine=MyISAM

commented :
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Now, it works fine.

Thx.
Post Reply