Skip to content

Base table or view not found #455

Closed
Closed
@JasterTDC

Description

@JasterTDC

Required Information

  • PHP version: 7.10
  • PHP Telegram Bot version: 0.41.0
  • Using MySQL database: yes
  • Update Method: getUpdates
  • Self-signed certificate: no
  • RAW update (if available):

Expected behaviour

Actual behaviour

I followed all the steps for getUpdate method, also I execute unset.php to disable webhook. And I get this into terminal when I execute `./getUpdatesCli.php

PHP Warning: PDOStatement::execute(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'telegram.telegram_update' doesn't exist in /home/ismael/thinkingsize_development/code/telegram-bot/vendor/longman/telegram-bot/src/DB.php on line 199 2017-04-07 09:26:42 - Processed 0 updates%

Steps to reproduce

I used getUpdatesCli from the examples folder of this repository, I only change api key and bot name.

Extra details

[2017-04-07 09:26:42] bot_log.DEBUG: Verbose HTTP Request output: <POST https://api.telegram.org/****getUpdates> [CONNECT] <POST https://api.telegram.org/****/getUpdates> [MIME_TYPE_IS] message: "application/json" <POST https://api.telegram.org/****/getUpdates> [FILE_SIZE_IS] message: "Content-Length: 23" bytes_max: "23" <POST https://api.telegram.org/****/getUpdates> [PROGRESS] bytes_max: "23"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions