Closed weiddolo closed 9 years ago
anyone can help me?
You can try to set the Webhook manually using an url formed as this
12345:ABCDEFGHIJKL is the token that FatherBot has created for your bot
After i have set manually the webhook, how do I check that the ALL works properly?
Using the telegram app, open a chat with your bot. After that, send the /help command, and you must see response and also something in botname.log and mysql database if enabled. If not, check your server logs.
The log file is not created. I have not set the bot with mysql, but I have enabled the log file in the setting in hook.php.
I've fix the error with setWebhook in 0.17.1 let me know if you still have problems.
Weiddolo if the file it's not created, check that your web server has granted permissions to write on the folder, if not, you can create the file and change ownership (I'm assuming that you are using an OS that this considerations matters)
@MBoretto now Webhook was set! Now i have typed in a chat: /echo Hello! but the bot doesnt reply :D The log file was created but is empty!
@sanok Thanks for your help, i have also checked the folder permissions.
When I use Webhook Method and visit set.php, I get "Webhook was set" but: The bot doesn't reply The log file is empty
I have server with self-signed certificate. I don't know how can I upload my public key certificate according https://core.telegram.org/bots/api#setwebhook method.
When I use getUpdate Method and run "while true; do ./getUpdatesCLI.php; done", I get below error on my error log: [17-Sep-2015 10:12:08] PHP Catchable fatal error: Object of class Longman\TelegramBot\Entities\ServerResponse could not be converted to string in /home/_/_.com/php-telegram-bot-master/vendor/longman/telegram-bot/src/Request.php on line 80
@WISTFUL12 have you update with 0.17.1 versions?
Yes. I have installed fresh version on yesterday...
Try to disable logging i verified that it cause some problems
@MBoretto How i can resolve the "2015-09-17 17:35:54 - Fail fetch updates"?
Are you under Windows?
Dedicated Server Linux - Aruba. MySQL is empty and the bot doesn't reply. I have DISABLED privacy
I've cloned and upload on my host the LAST VERSION (packagist v0.17.0), but if i run example-set.php on a host with php 5.4 and i will get this error:
Catchable fatal error: Object of class Longman\TelegramBot\Entities\ServerResponse could not be converted to string in /var/www/vhosts/XXXXXXXXXXX/XXXXXXXXXX/weiddolo/set.php on line 16