You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can only get hook.php running if I take ./vendor/longman/telegram-bot/example-hook.php and uncomment $telegram->enableMySQL($credentials);.
Then all commands sent to the bot are logged in the MySQL table messages while hook.php answers the HTTP request from the Telegram API server with a HTTP/500 and also the error reported in #38 is logged.
If I activate another command, e.g. $telegram->addCommandsPath($COMMANDS_FOLDER);, hook.php answers with a HTTP/200 and no error logged, but nothing is written into the messages table – very strange!
The text was updated successfully, but these errors were encountered:
I can only get hook.php running if I take
./vendor/longman/telegram-bot/example-hook.php
and uncomment$telegram->enableMySQL($credentials);
.Then all commands sent to the bot are logged in the MySQL table
messages
while hook.php answers the HTTP request from the Telegram API server with a HTTP/500 and also the error reported in #38 is logged.If I activate another command, e.g.
$telegram->addCommandsPath($COMMANDS_FOLDER);
, hook.php answers with a HTTP/200 and no error logged, but nothing is written into themessages
table – very strange!The text was updated successfully, but these errors were encountered: