telegrambot icon indicating copy to clipboard operation
telegrambot copied to clipboard

Error when Execute Telegram in "messajelistener"

Open isawebs opened this issue 7 years ago • 7 comments

Hi i´ve got this problem and dont know why, token and user its fine! [url=https://imgur.com/qCBVy2r][img]http://i.imgur.com/qCBVy2r.png[/img][/url]

isawebs avatar Oct 24 '17 17:10 isawebs

I've got the same place but a different error and token and user it's correct as well. https://i.imgur.com/93fdZX2.jpg

jeffersantoss avatar Oct 25 '17 12:10 jeffersantoss

I´ve resolved, in the config place E:\xampp\htdocs\proyect\config\config_db.php putting exactly the passwor as it is and changed the token for another. I hope worked for u too. jeffersantos in yourcase it seems to me you have the token and bot wrong written.

isawebs avatar Oct 25 '17 13:10 isawebs

Error. SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

glpi\config\config_db.php all right: <?php class DB extends DBmysql {

public $dbhost = '127.0.0.1';

public $dbuser = 'root';

public $dbpassword = 'password';

public $dbdefault = 'db';

} glpi nice work telegrambot - error (up to start post ^_^ )

Batumbo avatar Nov 17 '17 00:11 Batumbo

Problem! Automatic action - messagelistener logs Error. SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) http://www.picshare.ru/view/8363150/

HairullinRR avatar Nov 21 '17 09:11 HairullinRR

*** PHP Warning(2): require(/var/www/html/plugins/telegrambot/vendor/autoload.php): failed to open stream: No such file or directory Backtrace : plugins/telegrambot/inc/bot.class.php:29 plugins/telegrambot/inc/bot.class.php:29 require() inc/autoload.function.php:355 include_once() : glpi_autoload() ...t/inc/notificationwebsocketsetting.class.php:53 spl_autoload_call() inc/notificationsetting.class.php:103 PluginTelegrambotNotificationWebsocketSetting->showFormConfig() inc/commonglpi.class.php:482 NotificationSetting::displayTabContentForItem() ajax/common.tabs.php:96 CommonGLPI::displayStandardTab()

pablo111111 avatar Jan 17 '18 13:01 pablo111111

Hi i´ve got this problem and dont know why, token and user its fine! [url=https://imgur.com/qCBVy2r][img]http://i.imgur.com/qCBVy2r.png[/img][/url]

Tive o mesmo problema hoje. Como eu resolvi:

  1. Dei permissão a tudo que estava no banco GLPI ao usuário glpi usando o comando: GRANT ALL ON glpi.* TO 'glpi'@'localhost' IDENTIFIED BY 'SENHADOBANCO';
  2. Dei uma conferida no arquivo /var/www/html/glpi/config/config_db.php e vi se a senha estava correta para o banco GLPI, no meu caso tava errada a senha do banco nesse arquivo, minha senha tem um @ no meio e nesse arquivo tinha um %40 no local do @. apaguei o %40 e coloquei o @. Tenham cuidado com caracteres especiais em senhas.
  3. Reiniciei o banco e o apache.

xpedroaugustox avatar Nov 24 '19 02:11 xpedroaugustox

Hi i´ve got this problem and dont know why, token and user its fine! [url=https://imgur.com/qCBVy2r][img]http://i.imgur.com/qCBVy2r.png[/img][/url]

Tive o mesmo problema hoje. Como eu resolvi:

  1. Dei permissão a tudo que estava no banco GLPI ao usuário glpi usando o comando: GRANT ALL ON glpi.* TO 'glpi'@'localhost' IDENTIFIED BY 'SENHADOBANCO';
  2. Dei uma conferida no arquivo /var/www/html/glpi/config/config_db.php e vi se a senha estava correta para o banco GLPI, no meu caso tava errada a senha do banco nesse arquivo, minha senha tem um @ no meio e nesse arquivo tinha um %40 no local do @. apaguei o %40 e coloquei o @. Tenham cuidado com caracteres especiais em senhas.
  3. Reiniciei o banco e o apache.

Thank you. This worked for me. symbol "^" in mysql_user password from install.php converted to "%5E" in /var/www/html/glpi/config/config_db.php

akolomyts avatar Jul 20 '20 12:07 akolomyts