-
When I try to copy the example of requesting user inputs from documentation i get the error PHP Warning: file_put_contents(/home/artem/dev/sashacrmBot/vendor/westacks/telebot/src/Handlers/../../storage/6242:AAHMn.json): Failed to open stream: No such file or directory in /home/artem/dev/sashacrmBot/vendor/westacks/telebot/src/Handlers/RequestInputHandler.php on line 26 I know that there is can be trouble with rwx, I gave all access rights to folder recursively. But the error anyway exists. I can change $statePath in RequestInputHandler.php to ./storage/ it creates a file, it writes state there but code doesn't work, there is no error it simply doesn't work properly. How can i make it works ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Forget to add AskNameHandler:class to handlers |
Beta Was this translation helpful? Give feedback.
yes, after i changed dir for storage on DIR/storage all starting work fine.