j0k3r / worldcup-slack-bot

WorldCupBot will notify a Slack channel/group for every match during a FIFA World Cup
MIT License
39 stars 29 forks source link

unable to start the app #10

Closed okram999 closed 6 years ago

okram999 commented 6 years ago
$ php worldCupNotifier.php

Fatal error: Uncaught Error: Call to undefined function curl_init() in C:\Users\nokram\Documents\salesforce\workspace\worldcup-slack-bot\worldCupNotifier.php:124
Stack trace:
#0 C:\Users\nokram\Documents\salesforce\workspace\worldcup-slack-bot\worldCupNotifier.php(219): getUrl('https://api.fif...')
#1 {main}
  thrown in C:\Users\nokram\Documents\salesforce\workspace\worldcup-slack-bot\worldCupNotifier.php on line 124

#########################3 below is the php details

$ php --version
PHP 7.2.7 (cli) (built: Jun 19 2018 23:13:48) ( NTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
dbecker801 commented 6 years ago

Sounds like you don't have curl installed or enabled. Some of the info here may prove useful:

https://stackoverflow.com/questions/181082/how-do-i-install-curl-on-windows

okram999 commented 6 years ago

Sounds like so. Didnt get the error in a docker ubuntu image