Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 29th February 2016, 15:36
flkennard flkennard is offline
Member
 
Join Date: Feb 2016
Posts: 2
Default Help with database errors
Hi everyone

I have been trying to get a tbdev source to work but I keep getting database errors. I have combed through all the tbdev section here and can't seem to find anything that seems related.

when i install any tbdev source I get basically the same error.this is the one that always pops up.

Field 'last_login' doesn't have a default value

anyone know what's going on there or have any ideas?

Server Info
Apache 2.2.31
MySQL 5.6.27-75.0
PHP 5.6.14

Last edited by flkennard; 29th February 2016 at 15:50. Reason: missed Info
Reply With Quote
  #2  
Old 29th February 2016, 16:22
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
Its pretty simple. Field "last_login" doesn't have a value like "TRUE" or "FALSE" or "0" or anything else. So you need to set a value for that field and it will work.
You'll need to set this in your database.

This is a correct field:
PHP Code:
`last_logindatetime NOT NULL default '0000-00-00 00:00:00'

0000-00-00 00:00:00 is the default value
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
The Following User Says Thank You to Chez For This Useful Post:
flkennard (29th February 2016)
Reply

Tags
database , errors

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:55. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.