Re: PHP Doc Edit Preview error
| From: | Pasindu De Silva | Date: | Mon, 02 Mar 2015 06:22:40 +0000 |
| Subject: | Re: PHP Doc Edit Preview error | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969385452@lists.php.net to get a copy of this message | ||
@hannes +1
This might solve the iframe problem
https://github.com/php/web-doc-editor/pull/6
but I can't test it locally.
+1
Pasindu
On Mon, Mar 2, 2015 at 11:38 AM, Yannick Torrès <yannick.torres@gmail.com>
wrote:
> Thanks Hannes ;)
>
> I will see why it's don't work shortly.
>
> Best,
>
> Yannick
>
> 2015-03-02 4:09 GMT+01:00 Hannes Magnusson <bjori@php.net>:
>
>> It is generate and then removed shortly after I believe.
>>
>> I don't remember how exactly preview is implemented, I only enable ssl
>> for both of vhosts and configured the webserver.
>>
>> -Hannes
>>
>> On Sun, Mar 1, 2015 at 6:31 PM, Pasindu De Silva <ppasindud@gmail.com>
>> wrote:
>> > Hannes
>> >
>> > I tried again with edit.php.net preview, but didn't get it yet,
>> >
>> > This is my request log, which I think builds the php file for preview
>> >
>> >
>>
>> https://gist.githubusercontent.com/pasindud/cb7cd5e048feaff889d9/raw/0199dfb32265bcc6bc77f8c5353e26e1a6c2d317/preview-phdoe.json
>> >
>> > Can you check whether this exists
>> > /local/web/sites/
>> preview.php.net/manual/en/phdoe-1425257537-function.json-decode.php.
>> >
>> > The log seems to show that it succeed. not sure why it is not working.
>> >
>> > +1
>> >
>> >
>> >
>> > On Mon, Mar 2, 2015 at 6:32 AM, Hannes Magnusson <bjori@php.net> wrote:
>> >>
>> >> fixed
>> >>
>> >> -Hannes
>> >>
>> >>
>> >> On Sun, Mar 1, 2015 at 4:36 PM, Pasindu De Silva <ppasindud@gmail.com>
>> >> wrote:
>> >> > Hi Hannes
>> >> >
>> >> > There is a bit of a diff (not sure what to make of it)
>> >> >
>> >> >
>> >> >
>>
>> https://preview.php.net/manual/en/phdoe-1425251649-function.json-encode.php?0.8092004836071283
>> >> > - Apache 404
>> >> >
>> >> >
>>
>> http://preview.php.net/manual/en/phdoe-1425251649-function.json-encode.php?0.8092004836071283
>> >> > - php.net 404
>> >> >
>> >> > +1
>> >> >
>> >> > On Mon, Mar 2, 2015 at 5:50 AM, Hannes Magnusson <bjori@php.net>
>> wrote:
>> >> >>
>> >> >> Fixed.
>> >> >>
>> >> >> FYI Yannick; you do have root on the server :]
>> >> >>
>> >> >> -Hannes
>> >> >>
>> >> >>
>> >> >> On Sun, Mar 1, 2015 at 8:38 AM, Yannick Torrès
>> >> >> <yannick.torres@gmail.com>
>> >> >> wrote:
>> >> >> > Hi Hannes,
>> >> >> >
>> >> >> > Who can solve this ?
>> >> >> >
>> >> >> >
>> >> >> > https://bugs.php.net/bug.php?id=67679
>> >> >> >
>> >> >> > Best,
>> >> >> >
>> >> >> > Yannick
>> >> >> >
>> >> >> > 2015-03-01 15:23 GMT+01:00 Pasindu De Silva <ppasindud@gmail.com
>> >:
>> >> >> >>
>> >> >> >> Hi Guys
>> >> >> >> I trying to preview a doc patch I made but I came across a error
>> >> >> >> when I
>> >> >> >> was trying to preview a patch, I am assuming this is not a error
>> >> >> >> only
>> >> >> >> for
>> >> >> >> me.
>> >> >> >>
>> >> >> >>
>> >> >> >> *Error -
>> >> >> >>
>> >> >> >> Mixed Content: The page at
>> >> >> >>
>> >> >> >> 'https://edit.php.net/?code=dad72c5afaefbc68dd2f' was
>> >> >> >> loaded
>> over
>> >> >> >> HTTPS, but
>> >> >> >> requested an insecure resource
>> >> >> >>
>> >> >> >>
>> >> >> >> '
>> Ÿm•AÊ÷:ðrÕ…ÁØ
>> �http://preview.php.net/manual/en/phdoe-1425214049-function.json-encode.php?0.1548032546415925
>> '.
>> >> >> >> This request has been blocked; the content must be served over
>> >> >> >> HTTPS.
>> >> >> >>
>> >> >> >>
>> >> >> >> *The following commit might help -
>> >> >> >>
>> >> >> >>
>> >> >> >>
>>
>> https://github.com/pasindud/web-doc-editor/commit/169f90015e66bd1833a2b0a6c2f5fa4c5bb45075
>> >> >> >>
>> >> >> >>
>> >> >> >> *But currently -
>> >> >> >>
>> >> >> >> http://preview.php.net =
>> >> >> >> http://php.net
>> >> >> >> https://preview.php.net =
>> >> >> >> https://edit/php.net
>> >> >> >>
>> >> >> >> I think the above url stuff must be fixed before the commit.
>> >> >> >>
>> >> >> >> *Same Bug -
>> >> >> >>
>> >> >> >>
>>
>> https://bugs.php.net/search.php?cmd=display&search_for=preview&x=0&y=0
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> +1
>> >> >> >> Pasindu
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Pasindu De Silva
>> >> >> >> G+ ppasindud
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Pasindu De Silva
>> >> > LinkedIn
>> >> > ppasindud@gmail.com
>> >> > G+ ppasindud
>> >
>> >
>> >
>> >
>> > --
>> > Pasindu De Silva
>> > LinkedIn
>> > ppasindud@gmail.com
>> > G+ ppasindud
>>
>
>
--
*Pasindu De SilvaLinkedIn <http://www.linkedin.com/in/pasindud>*
*ppasindud@gmail.com* <ppasindud@gmail.com>
*G+ ppasindud <https://plus.google.com/u/0/107016732778776170349/>*