Support » Plugin: PiwigoPress » Problem from start

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter southcot

    (@southcot)

    @norbusan I have spent countless hours trying to get this working. I do not understand why you aren’t helping.

    [Moderator note: Please, no bumping.]

    Thread Starter southcot

    (@southcot)

    So @sterndata what exactly am I to do? There has been a substantial negative intervention by moderation on this thread. However none that would suggest a way of resolving my problem.

    Tell me what steps to take next to resolve this please.

    Thread Starter southcot

    (@southcot)

    @norbusan I have paid a developer to examine the code and we have established what the problem is. PiwigoPress is requesting the image data as a URL. EG:-

    http://yarnwhispering.co.uk/pix/ws.php?method=pwg.images.getInfo&format=php&image_id=40

    Although this works fine if you click on it in a browser loop back requests are blocked so when piwigpress.php makes the above request an error is returned:-

    object(WP_Error)#3167 (2) { ["errors"]=> array(1) { ["http_request_failed"]=> array(1) { [0]=> string(56) "cURL error 56: Failure when receiving data from the peer" } } ["error_data"]=> array(0) { } } array(6) { ["headers"]=> object(Requests_Utility_CaseInsensitiveDictionary)#3173 (1) { ["data":protected]=> array(4) { ["date"]=> string(29) "Mon, 09 Jan 2017 15:42:21 GMT" ["server"]=> string(20) "Apache/2.4.23 (Unix)" ["content-length"]=> string(3) "290" ["content-type"]=> string(29) "text/html; charset=iso-8859-1" } } ["body"]=> string(290) "

    Line 119 tests for an error:-

    if (!is_wp_error($response)) {

    … and does nothing so no image.

    Can you correct this? It would be great if you could. If not, then at the least your documentation needs to advise that PiwigoPress won’t work with Piwigo sites on the same server unless loopback protection is disabled.

    Thread Starter southcot

    (@southcot)

    @norbusan there is more about this at http://piwigo.org/forum/viewtopic.php?id=27621 could you please make sure the description of your plugin outlines its potential shortcoming when using Piwigo and WordPress on the same server. It would be a shame if future users ended up expending their time in working out why it wasn’t happening.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Problem from start’ is closed to new replies.