{"id":1645,"date":"2016-04-21T17:15:59","date_gmt":"2016-04-21T15:15:59","guid":{"rendered":"https:\/\/blog.kodono.info\/wordpress\/?p=1645"},"modified":"2016-04-21T17:15:59","modified_gmt":"2016-04-21T15:15:59","slug":"illegal-use-of-_server-you-must-use-the-request-class-or-request_var-to-access-input-data-phpbb","status":"publish","type":"post","link":"https:\/\/blog.kodono.info\/wordpress\/2016\/04\/21\/illegal-use-of-_server-you-must-use-the-request-class-or-request_var-to-access-input-data-phpbb\/","title":{"rendered":"Illegal use of $_SERVER. You must use the request class or request_var() to access input data. [phpBB]"},"content":{"rendered":"<p>When I want to update my phpBB forum I get this annoying message because I&#8217;m using a homemade auth file where <code>$_SERVER<\/code> is used.<\/p>\n<p>I found the solution on <a href=\"https:\/\/www.phpbb.com\/community\/viewtopic.php?p=14202666#p14202666\">the phpBB forum<\/a>: <\/p>\n<blockquote><p>Modified \/forums\/config\/parameters.yml. Set core.disable_super_globals to false and delete the cache<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>When I want to update my phpBB forum I get this annoying message because I&#8217;m using a homemade auth file where $_SERVER is used. I found the solution on the phpBB forum: Modified \/forums\/config\/parameters.yml. Set core.disable_super_globals to false and delete the cache<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","hide_page_title":"","footnotes":""},"categories":[15,23,170,13],"tags":[153,156,123,152],"class_list":["post-1645","post","type-post","status-publish","format-standard","hentry","category-astuce","category-debug","category-english","category-niveau-intermediaire","tag-astuce","tag-debug","tag-english","tag-niveau-intermediaire"],"_links":{"self":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1645"}],"version-history":[{"count":1,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1645\/revisions"}],"predecessor-version":[{"id":1646,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1645\/revisions\/1646"}],"wp:attachment":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}