Wednesday 15 July 2015

php - Issue when using phpflickr -


I use phpFlickr (last fixed version) on Windows Vista and WAMP2.0:

And I have these:

  Strict standards: Assigning returns to new values ​​by reference ... / 91 strict criteria on the phpFlickr.php line: Return value of new by reference Assigned ..... phpFlickr.php 330 strict standards on line: The reference value of the new is being specified by reference ... 399 strict criteria on the phpFlickr.php line : Specifying the return value of the new by reference is deprecated in phpFlickr, PHP strict criterion on line 468: Specifying the return value of the new by reference is HTTP / Request.php is excluded on line 344. Assigning return value of new by reference 656 is deprecated on hard line /Request.php. Standard: Assigning the return value of the new by reference ... line 672 strict criteria in quest.php: Assigning the return value of the new reference is requested in .......... / request. 717 strict criteria on the Php line: Assigning return value of the new by reference ... 569 strict standards on the PRAPP line: Assign the return value of the new sow in the reference .......... Is deprecated in FTP  

As I am using Symphony; I do not want to show this warning message to GUI and I want to define my request to a page, I have defined. Method warning message is shown after the method sync_upload.

This is my code:

  require_once ("../ Flickr /phpFlickr.php"); // authentication $ f = new phpFlickr ("key", "secret"); If ($ F! = Null) resonates "Connection Recife ; $ F & gt; SetToken ("token"); $ F- & gt; Enable Cache ("FS", "../Flickr/cache"); $ MyPerms = $ f- & gt; Auth ("write"); Echo "Permit Fine" $ MyPerms "& Lt; / br & gt;"; // upload $ tag = "test1, test2"; $ Upload_photo_id = $ F & gt; Sync_upload ($ filePhotoName, "www.koutchoumi.com", null, $ tag); Echo $ upload_photo_id "_ Test"; $ Photo = $ F & gt; Photos_getInfo ($ upload_photo_id); Print_r ($ photo); $ Url = $ F & gt; BuildPhotoURL ($ photo); Echo "& lt; / br & gt; $ Url "& Lt; / br & gt;" ;  

It seems that you are using PHP 5.3

< P> Just change your error_reporting settings so that typed errors E_DEPRECATED are not displayed.


No comments:

Post a Comment