Bug #160

Step 3 of install fails on an SQL insert.

Added by Oscar Bajner over 2 years ago. Updated over 2 years ago.

Status:Closed Start:08/08/2009
Priority:Normal Due date:
Assigned to:Jeremy Bush % Done:

100%

Category:Installer
Target version:0.7.3
Resolution:fixed

Description

reproduce: Fresh install of argentum and follow
install procedure with empty database.

Error message:

There was an SQL error: Incorrect integer value: '' for column 'last_login' at row 1 - INSERT INTO `AI_users` (`id`, `username`, `first_name`, `last_name`, `password`, `email`, `last_login`, `logins`) VALUES (NULL, 'oscar', 'Oscar', 'Bajner', 'c9d0ec3dcef5e5ca73c97c1fc73aced6b9c8bae7bbceee0f03', '', '', '')
.../Apache2.2/htdocs/argentumsvn/system/libraries/drivers/Database/Mysql.php [392]:

Setup: Windows Vista, Apache 2.2.6, PHP 5.2.6, MySQL 5.1.0, argentum svn trunk

Proposed solution: Patch attached. (patch01.diff)
Inital Login counters must not be set to NULL in the model.
in ./models/user.php

patch01.diff (607 Bytes) Oscar Bajner, 08/08/2009 11:44 am

Associated revisions

Revision 263
Added by Jeremy Bush over 2 years ago

Fixing #160.

History

Updated by Jeremy Bush over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r262.

Updated by Jeremy Bush over 2 years ago

  • Resolution set to fixed

Also available in: Atom PDF