Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-06-17 12:40:20

Truong Vo
Member
Registered: 2014-02-28
Posts: 4

Install error: Field 'last_accepted' doesn't have a default value

Hi,
I install new version and get this error. How to fix it?
Thanks.


PDOException Object
(
    [message:protected] => SQLSTATE[HY000]: General error: 1364 Field 'last_accepted' doesn't have a default value
    [string:Exception:private] =>
    [code:protected] => HY000
    [file:protected] => Patth\modules\lhinstall\install.php
    [line:protected] => 912
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => Patth\modules\lhinstall\install.php
                    [line] => 912
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `lh_userdep` (`user_id`,`dep_id`,`last_activity`,`hide_online`) VALUES (1,0,0,0)
                        )

                )

            [1] => Array
                (
                    [file] => Patth\lib\core\lhcore\lhmodule.php
                    [line] => 93
                    [args] => Array
                        (
                            [0] => Patth\modules\lhinstall\install.php
                        )

                    [function] => include
                )

            [2] => Array
                (
                    [file] => Patth\lib\core\lhcore\lhmodule.php
                    [line] => 407
                    [function] => runModule
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => Patth\index.php
                    [line] => 27
                    [function] => moduleInit
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1364
            [2] => Field 'last_accepted' doesn't have a default value
        )

)

https://groups.google.com/forum/#!topic … 4_lkX07LXI

Offline

#2 2014-06-17 12:43:35

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Install error: Field 'last_accepted' doesn't have a default value

Just a minit i check

Offline

#3 2014-06-17 12:46:20

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Install error: Field 'last_accepted' doesn't have a default value

Hi,
Just redownload from github and try again.

Offline

#4 2014-06-17 12:49:14

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Install error: Field 'last_accepted' doesn't have a default value

Here is related commit for reference
https://github.com/LiveHelperChat/livehelperchat/commit/a97b3595c8dd5f9bbe563df4850f74d8122df240

Offline

Board footer