Re: PHP client stopped working on new php
Ivan Eggel <[email protected]> Tue, 4 Feb 2014 21:32:05 +0100
| Newsgroups | gmane.comp.gnu.gift.general |
|---|---|
| Message-ID | <CAAV06JDHjtgKJxGVOE9M=4jrSGQuWhSNDtDyyZDJbF8P+h2owQ@mail.gmail.com> |
--===============2404238588840163858== Content-Type: multipart/alternative; boundary=047d7bacb7388d5feb04f19a881b --047d7bacb7388d5feb04f19a881b Content-Type: text/plain; charset=ISO-8859-1 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 > --047d7bacb7388d5feb04f19a881b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Hi</p> <p dir=3D"ltr">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. </p> <p dir=3D"ltr">Best<br> -Ivan</p> <div class=3D"gmail_quote">On Feb 4, 2014 9:25 PM, "Marisa J" <= ;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<= br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <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 "&" here:<br><br>$sock= et =3D fsockopen ($server,$port, &$errno, &$errstr, 30);<br><br></d= iv>However, the script still wont work. Now it doesn't throw any php er= rors, it simply does nothing. When you click on "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>_______________________________________________<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> --047d7bacb7388d5feb04f19a881b-- --===============2404238588840163858== 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 --===============2404238588840163858==--