skazi02

[закрыто] Проблема с mysql

Рекомендованные сообщения



Не найдено.

1 post in this topic

[13:22:21 10/17/18] [ERROR] CMySQLQuery::Execute[@OnPlayerRegisterMysql] - (error #1364) Field 'datavhod' doesn't have a default value (Query: "INSERT INTO accounts (name,password,regip,datareg,sex,age,model,mail,referal,searchserv) VALUES ('Sultan_Kazi',MD5('456852'),'91.245.198.70',CURDATE(),1,0,3,'sa@mail.ru','None','Сообщество ВКонтакте')")
[08:36:51 10/18/18] [ERROR] CMySQLQuery::Execute[@OnPlayerRegisterMysql] - (error #1364) Field 'datavhod' doesn't have a default value (Query: "INSERT INTO accounts (name,password,regip,datareg,sex,age,model,mail,referal,searchserv) VALUES ('Sultan_Kazi',MD5('456852'),'176.222.167.21',CURDATE(),1,0,3,'s@mail.ru','None','Через YouTube')")
[09:36:53 10/18/18] [ERROR] CMySQLQuery::Execute[@OnPlayerRegisterMysql] - (error #1364) Field 'datavhod' doesn't have a default value (Query: "INSERT INTO accounts (name,password,regip,datareg,sex,age,model,mail,referal,searchserv) VALUES ('Sultan_Kazi',MD5('456852'),'176.222.167.21',CURDATE(),1,0,3,'s@mail.ru','None','None')")

@OnPlayerRegisterMysql(playerid);
@OnPlayerRegisterMysql(playerid)
{
    pInfo[playerid][pID] = cache_insert_id(dbHandle);
    mysql_query_string[0] = EOS;
    format(mysql_query_string, 150, "SELECT * FROM "T_ACCOUNTS" WHERE id = '%i' LIMIT 1", pInfo[playerid][pID]);
    mysql_tquery(dbHandle, mysql_query_string, "@LoadPlayerData", "d", playerid);
    return 1;
}
 

Помогите решать пожалуйста 
 

Edited by skazi02

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • _bogdan_
      By _bogdan_
      Доброго времени суток, столкнулся в первые с такой проблемой. В консоле вылезли warning sampgdk.
      Подскажите в чем суть проблемы.
      [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:44] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:45] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:46] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051) [02:01:48] [sampgdk:warning] Index mismatch for OnUnoccupiedVehicleUpdate (-10052 != -10051)  
    • Perfect231
      By Perfect231
      При открытии мод пака выходит это: please select gta 4 application or any expansion
      Что мне делать?