質問編集履歴

3

Markdownの文法修正

2017/01/08 10:28

投稿

nnahito
nnahito

スコア2004

test CHANGED
File without changes
test CHANGED
@@ -128,6 +128,8 @@
128
128
 
129
129
  # サーバエラー(追記2)
130
130
 
131
- ```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
131
+ ```
132
+
133
+ 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
132
134
 
133
135
  ```

2

追記2を追加

2017/01/08 10:28

投稿

nnahito
nnahito

スコア2004

test CHANGED
File without changes
test CHANGED
@@ -123,3 +123,11 @@
123
123
  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
124
124
 
125
125
  ```
126
+
127
+
128
+
129
+ # サーバエラー(追記2)
130
+
131
+ ```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
132
+
133
+ ```

1

エラー情報追記

2017/01/08 10:27

投稿

nnahito
nnahito

スコア2004

test CHANGED
File without changes
test CHANGED
@@ -55,3 +55,71 @@
55
55
  ・Ubuntu Server:16.10
56
56
 
57
57
  ・PHPバージョン:PHP 7.0.8-3ubuntu3 (cli) ( NTS )
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ # エラー情報(追記)
66
+
67
+ ```
68
+
69
+
70
+
71
+ Notice: Use of undefined constant CURLOPT_CAINFO - assumed 'CURLOPT_CAINFO' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 353
72
+
73
+
74
+
75
+ Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT - assumed 'CURLOPT_CONNECTTIMEOUT' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 354
76
+
77
+
78
+
79
+ Notice: Use of undefined constant CURLOPT_HEADER - assumed 'CURLOPT_HEADER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 355
80
+
81
+
82
+
83
+ Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 356
84
+
85
+
86
+
87
+ Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 357
88
+
89
+
90
+
91
+ 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
92
+
93
+
94
+
95
+ 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
96
+
97
+
98
+
99
+ Notice: Use of undefined constant CURLOPT_TIMEOUT - assumed 'CURLOPT_TIMEOUT' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 360
100
+
101
+
102
+
103
+ Notice: Use of undefined constant CURLOPT_URL - assumed 'CURLOPT_URL' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 361
104
+
105
+
106
+
107
+ Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 362
108
+
109
+
110
+
111
+ Notice: Use of undefined constant CURLOPT_ENCODING - assumed 'CURLOPT_ENCODING' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 371
112
+
113
+
114
+
115
+ Notice: Use of undefined constant CURLOPT_POST - assumed 'CURLOPT_POST' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 386
116
+
117
+
118
+
119
+ Notice: Use of undefined constant CURLOPT_POSTFIELDS - assumed 'CURLOPT_POSTFIELDS' in /home/USERID/public_html/twitterlogin/twitteroauth/src/TwitterOAuth.php on line 387
120
+
121
+
122
+
123
+ 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
124
+
125
+ ```