Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NWS alerts failing #1

Closed
lancehaynie opened this issue Aug 21, 2017 · 1 comment
Closed

NWS alerts failing #1

lancehaynie opened this issue Aug 21, 2017 · 1 comment
Assignees

Comments

@lancehaynie
Copy link
Contributor

NWS alerts are failing:

PHP message: PHP Notice: Use of undefined constant CURLOPT_HEADER - assumed 'CURLOPT_HEADER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 103
PHP message: PHP Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 104
PHP message: PHP Notice: Use of undefined constant CURLOPT_INFILESIZE - assumed 'CURLOPT_INFILESIZE' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 105
PHP message: PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 106
PHP message: PHP Notice: Use of undefined constant CURLOPT_TIMEOUT - assumed 'CURLOPT_TIMEOUT' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 107
PHP message: PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 111
PHP message: PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 111
PHP message: PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 111
PHP message: PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /opt/jarvis/web/webapi/sms/vendor/twilio/sdk/Twilio/Http/CurlClient.php on line 111
PHP message: PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /opt/j
2017/08/18 19:16:10 [error] 816#0: *3202 FastCGI sent in stderr: "PHP message: PHP Warning: include(config.php): failed to open stream: No such file or directory in /opt/jarvis/web/webapi/sms/jarvis.php on line 27
PHP message: PHP Warning: include(): Failed opening 'config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /opt/jarvis/web/webapi/sms/jarvis.php on line 27
PHP message: PHP Notice: Undefined variable: alertNumbers in /opt/jarvis/web/webapi/sms/jarvis.php on line 30
PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /opt/jarvis/web/webapi/sms/jarvis.php on line 30
PHP message: PHP Notice: Undefined variable: validNumbers in /opt/jarvis/web/webapi/sms/jarvis.php on line 34
PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /opt/jarvis/web/webapi/sms/jarvis.php on line 34
PHP message: PHP Notice: Undefined variable: validNumbers in /opt/jarvis/web/webapi/sms/jarvis.php on line 38
PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /opt/jarvis/web/webapi/sms/jarvis.php on line 38
PHP message: PHP Notice: Undefined variable: validNumbers in /opt/jarvis/web/webapi/sms/jarvis.php on line 42

@lancehaynie lancehaynie self-assigned this Aug 21, 2017
@lancehaynie
Copy link
Contributor Author

PHP Curl was not installed... Added php5-curl to install.sh to fix. Also updated functions.php to fix a subsequent issue with from number formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant