Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96303 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86918 invoked from network); 10 Oct 2016 05:55:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2016 05:55:09 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:34214] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/92-52150-83D2BF75 for ; Mon, 10 Oct 2016 01:55:09 -0400 Received: (qmail 30657 invoked by uid 89); 10 Oct 2016 05:55:01 -0000 Received: from unknown (HELO mail-qk0-f182.google.com) (yohgaki@ohgaki.net@209.85.220.182) by 0 with ESMTPA; 10 Oct 2016 05:55:01 -0000 Received: by mail-qk0-f182.google.com with SMTP id o68so91029552qkf.3 for ; Sun, 09 Oct 2016 22:55:00 -0700 (PDT) X-Gm-Message-State: AA6/9RkE1DANz6j2T6ulfhRJimjNQY+Aqq/o90wvE+m8ZYsx6TvBoywnQ0WGAuhwFFFVoemStj3xmQpPEwCKHQ== X-Received: by 10.55.140.131 with SMTP id o125mr29388514qkd.17.1476078894634; Sun, 09 Oct 2016 22:54:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.84.168 with HTTP; Sun, 9 Oct 2016 22:54:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Oct 2016 14:54:14 +0900 X-Gmail-Original-Message-ID: Message-ID: To: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: PHP 7.1RC3+HTTPS+WordPress = No admin page access From: yohgaki@ohgaki.net (Yasuo Ohgaki) On Mon, Oct 10, 2016 at 12:43 PM, Yasuo Ohgaki wrote: > On Mon, Oct 10, 2016 at 12:14 PM, Yasuo Ohgaki wrote: >> PHP 7.1RC3+HTTPS+WordPress does not allow admin pages access somehow. You'll get >> >> Sorry, you are not allowed to access this page >> >> for admin pages. >> PHP 5.6 works fine, not sure about 7.0. >> >> You can use local self signed certificate https server and fresh >> WordPress 4.6.1 install to reproduce this by ignoring TLS warning. >> Install with "https://" URL or change "http://" site URL to "https://" >> after installation. >> >> It seems "https://" site URL revokes all permissions. ( >> $_wp_menu_nopriv is set for admin account somehow ) It works as long >> as site URL is "http://". >> >> Regards, >> >> P.S. I didn't look into, but JetPack and Google's AdSense plugin seems >> to have problem(s) with PHP 7.1. PHP 7.0.11/7.1.0 have additional >> errors also. >> https://bugs.php.net/bug.php?id=73238 >> >> Use 302 or 307 redirect, i.e. Do not use 301, if you would like to >> redirect all http traffic to https for testing purpose. Otherwise, >> your browser remembers https usage. This makes test difficult. You >> don't need redirect setting to reproduce this. > > This is WordPress track issue URL > https://core.trac.wordpress.org/ticket/38273 > > Regards, Disregard previous mails. There are some problems in JetPack and Google's AdSense plugin, but it seems I messed up my /etc/hosts. If there is anything, I'll post again. Sorry for the noise. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net