質問編集履歴

3

Markdownの文法修正

2017/01/08 10:28

投稿

nnahito
nnahito

スコア2006

title CHANGED
File without changes
body CHANGED
@@ -63,5 +63,6 @@
63
63
  ```
64
64
 
65
65
  # サーバエラー(追記2)
66
- ```Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: <?xml version="1.0" encoding="UTF-8"?> <hash> <error>Desktop applications only support the oauth_callback value 'oob'</error> <request>/oauth/request_token</request> </hash> in /home/USER_NAME/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php:138 Stack trace: #0 /home/USER_NAME/public_html/twitterlogin/login.php(18): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array) #1 {main} thrown in /home/USER_NAME/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 138
66
+ ```
67
+ Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: <?xml version="1.0" encoding="UTF-8"?> <hash> <error>Desktop applications only support the oauth_callback value 'oob'</error> <request>/oauth/request_token</request> </hash> in /home/USER_NAME/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php:138 Stack trace: #0 /home/USER_NAME/public_html/twitterlogin/login.php(18): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array) #1 {main} thrown in /home/USER_NAME/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 138
67
68
  ```

2

追記2を追加

2017/01/08 10:28

投稿

nnahito
nnahito

スコア2006

title CHANGED
File without changes
body CHANGED
@@ -60,4 +60,8 @@
60
60
  Notice: Use of undefined constant CURLOPT_POSTFIELDS - assumed 'CURLOPT_POSTFIELDS' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 387
61
61
 
62
62
  Fatal error: Uncaught Error: Call to undefined function Abraham\TwitterOAuth\curl_init() in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php:402 Stack trace: #0 /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php(334): Abraham\TwitterOAuth\TwitterOAuth->request('https://api.twi...', 'POST', 'Authorization: ...', Array) #1 /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php(135): Abraham\TwitterOAuth\TwitterOAuth->oAuthRequest('https://api.twi...', 'POST', Array) #2 /home/USERID/public_html/twitterlogin/login.php(18): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array) #3 {main} thrown in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 402
63
+ ```
64
+
65
+ # サーバエラー(追記2)
66
+ ```Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: <?xml version="1.0" encoding="UTF-8"?> <hash> <error>Desktop applications only support the oauth_callback value 'oob'</error> <request>/oauth/request_token</request> </hash> in /home/USER_NAME/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php:138 Stack trace: #0 /home/USER_NAME/public_html/twitterlogin/login.php(18): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array) #1 {main} thrown in /home/USER_NAME/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 138
63
67
  ```

1

エラー情報追記

2017/01/08 10:27

投稿

nnahito
nnahito

スコア2006

title CHANGED
File without changes
body CHANGED
@@ -26,4 +26,38 @@
26
26
 
27
27
  # サーバ情報
28
28
  ・Ubuntu Server:16.10
29
- ・PHPバージョン:PHP 7.0.8-3ubuntu3 (cli) ( NTS )
29
+ ・PHPバージョン:PHP 7.0.8-3ubuntu3 (cli) ( NTS )
30
+
31
+
32
+
33
+ # エラー情報(追記)
34
+ ```
35
+
36
+ Notice: Use of undefined constant CURLOPT_CAINFO - assumed 'CURLOPT_CAINFO' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 353
37
+
38
+ Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT - assumed 'CURLOPT_CONNECTTIMEOUT' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 354
39
+
40
+ Notice: Use of undefined constant CURLOPT_HEADER - assumed 'CURLOPT_HEADER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 355
41
+
42
+ Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 356
43
+
44
+ Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 357
45
+
46
+ Notice: Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 358
47
+
48
+ Notice: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 359
49
+
50
+ Notice: Use of undefined constant CURLOPT_TIMEOUT - assumed 'CURLOPT_TIMEOUT' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 360
51
+
52
+ Notice: Use of undefined constant CURLOPT_URL - assumed 'CURLOPT_URL' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 361
53
+
54
+ Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 362
55
+
56
+ Notice: Use of undefined constant CURLOPT_ENCODING - assumed 'CURLOPT_ENCODING' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 371
57
+
58
+ Notice: Use of undefined constant CURLOPT_POST - assumed 'CURLOPT_POST' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 386
59
+
60
+ Notice: Use of undefined constant CURLOPT_POSTFIELDS - assumed 'CURLOPT_POSTFIELDS' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 387
61
+
62
+ Fatal error: Uncaught Error: Call to undefined function Abraham\TwitterOAuth\curl_init() in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php:402 Stack trace: #0 /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php(334): Abraham\TwitterOAuth\TwitterOAuth->request('https://api.twi...', 'POST', 'Authorization: ...', Array) #1 /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php(135): Abraham\TwitterOAuth\TwitterOAuth->oAuthRequest('https://api.twi...', 'POST', Array) #2 /home/USERID/public_html/twitterlogin/login.php(18): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array) #3 {main} thrown in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 402
63
+ ```