Page MenuHomePhabricator
Paste P7019

Output of quickstatement oauth
ActivePublic

Authored by Tarrow on Apr 20 2018, 1:01 PM.
Tags
None
Referenced Files
F17179852: Output of quickstatement oauth
Apr 20 2018, 1:01 PM
Subscribers
None
/// Output of var_dump($this->params);
array(3) {
["​agent"]=>
string(31) "Wikibase Docker QuickStatements"
["​consumerKey"]=>
string(32) "b3d8e5da4922822af574ea3df3a09cc7"
["​consumerSecret"]=>
string(32) "4ee417e86ad291b6a1bfb8561bd80558"
}
<br />
/// Output of var_dump($this->params["agent"]);
<b>Notice</b>: Undefined index: agent in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>90</b><br />
NULL
<br />
/// Rest of the broken output
<b>Notice</b>: Undefined index: agent in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>91</b><br />
<br />
<b>Notice</b>: Undefined index: consumerKey in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>92</b><br />
<br />
<b>Notice</b>: Undefined index: consumerSecret in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>93</b><br />
<br />
<b>Warning</b>: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/magnustools/public_html/php/oauth.php:89) in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>100</b><br />
<br />
<b>Warning</b>: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/magnustools/public_html/php/oauth.php:89) in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>100</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/magnustools/public_html/php/oauth.php:89) in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>276</b><br />
Error retrieving token: mwoauth-oauth-exception