Re: PHP client stopped working on new php

Julia Longtin <[email protected]> Tue, 4 Feb 2014 20:44:06 +0000
Newsgroups gmane.comp.gnu.gift.general
Message-ID <CAAOVysFLK0nwMMNZ3HTHhWQY1et7VhwoERDsEKKQOvXiBe8Vuw@mail.gmail.com>
--===============4117033807465009110==
Content-Type: multipart/alternative; boundary=089e0160b6ca87c88604f19ab309

--089e0160b6ca87c88604f19ab309
Content-Type: text/plain; charset=ISO-8859-1

We're working on a new release of a web interface for GNU GIFT, plus a new
release of gift here.. but i should have time to look at this problem in
the soon-to-be-abandoned old frontend over the next 48 hours or so.

Thanks for the report, and yes, i'd love to see the entry in the error.log.

Julia Longtin


On Tue, Feb 4, 2014 at 8:32 PM, Ivan Eggel <[email protected]> wrote:

> Hi
>
> I'm not a PHP expert but maybe have a look at the apache logfile at
> /var/log/apache2/error.log or somewhere similar. Maybe it will tell you
> some more.
>
> Best
> -Ivan
> On Feb 4, 2014 9:25 PM, "Marisa J" <[email protected]> wrote:
>
>> I was using php web Client to connect to gift, which is posted here:
>> http://gnuift.sourcearchive.com/documentation/0.1.13-1/Client_8php-source.html
>>
>> Since my server was upgraded to a new php 5.4.24 it stopped working. It
>> was throwing one php error:
>>
>> PHP Fatal error:  Call-time pass-by-reference has been removed in
>> /home/me/public_html/Client.php on line 76
>>
>> But I fixed that by removing "&" here:
>>
>> $socket = fsockopen ($server,$port, &$errno, &$errstr, 30);
>>
>> However, the script still wont work. Now it doesn't throw any php errors,
>> it simply does nothing. When you click on "Accept and Connect", page just
>> refresh but wont connect to gift and no search form displayed.
>>
>> Can somebody help to get it work with new php?
>> Thanks
>> Mary
>>
>> _______________________________________________
>> help-GIFT mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/help-gift
>>
>
> _______________________________________________
> help-GIFT mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-gift
>

--089e0160b6ca87c88604f19ab309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">We&#39;re working on a new release of a web interface for =
GNU GIFT, plus a new release of gift here.. but i should have time to look =
at this problem in the soon-to-be-abandoned old frontend over the next 48 h=
ours or so.<div>
<br></div><div>Thanks for the report, and yes, i&#39;d love to see the entr=
y in the error.log.</div><div><br></div><div>Julia Longtin</div></div><div =
class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, Feb 4, 201=
4 at 8:32 PM, Ivan Eggel <span dir=3D"ltr">&lt;<a href=3D"mailto:ivan.eggel=
@gmail.com" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><p dir=3D"ltr">Hi</p>
<p dir=3D"ltr">I&#39;m not a PHP expert but maybe have a look at the apache=
 logfile at /var/log/apache2/error.log or somewhere similar. Maybe it will =
tell you some more. </p>
<p dir=3D"ltr">Best<br>
-Ivan</p>
<div class=3D"gmail_quote"><div><div class=3D"h5">On Feb 4, 2014 9:25 PM, &=
quot;Marisa J&quot; &lt;<a href=3D"mailto:[email protected]" target=3D"_b=
lank">[email protected]</a>&gt; wrote:<br type=3D"attribution"></div></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
<div><div class=3D"h5">
<div dir=3D"ltr"><div><div><div><div><div><div>I was using php web Client t=
o connect to gift, which is posted here: <a href=3D"http://gnuift.sourcearc=
hive.com/documentation/0.1.13-1/Client_8php-source.html" target=3D"_blank">=
http://gnuift.sourcearchive.com/documentation/0.1.13-1/Client_8php-source.h=
tml</a><br>


<br></div>Since my server was upgraded to a new php 5.4.24 it stopped worki=
ng. It was throwing one php error: <br><br>PHP Fatal error:=A0 Call-time pa=
ss-by-reference has been removed in /home/me/public_html/Client.php on line=
 76<br>


<br></div>But I fixed that by removing &quot;&amp;&quot; here:<br><br>$sock=
et =3D fsockopen ($server,$port, &amp;$errno, &amp;$errstr, 30);<br><br></d=
iv>However, the script still wont work. Now it doesn&#39;t throw any php er=
rors, it simply does nothing. When you click on &quot;Accept and Connect&qu=
ot;, page just refresh but wont connect to gift and no search form displaye=
d.<br>


<br></div>Can somebody help to get it work with new php?<br></div>Thanks<br=
></div>Mary<br></div>
<br></div></div>_______________________________________________<br>
help-GIFT mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a=
><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/help-gift" target=3D"_bla=
nk">https://lists.gnu.org/mailman/listinfo/help-gift</a><br></blockquote></=
div>
<br>_______________________________________________<br>
help-GIFT mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/help-gift" target=3D"_bla=
nk">https://lists.gnu.org/mailman/listinfo/help-gift</a><br></blockquote></=
div><br></div>

--089e0160b6ca87c88604f19ab309--


--===============4117033807465009110==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
help-GIFT mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gift
--===============4117033807465009110==--