Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Do you have debug mode enabled in the plugin? If so, you should enable that so you can see the actual response from Apple News which is helpful in troubleshooting.

    Also can you check the error logs on your web host to see if there was an issue with publishing? If your articles are stuck in pending status, there could have been a server issue that prevented them from being pushed to Apple News.

    Thanks.

    Thread Starter ronpod

    (@ronpod)

    Where can I check a server issue and more importantly fix it? Why would the server not allow to publish to apple? when it allows everything else….

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Unfortunately I can’t provide support for your hosting environment. You’ll need to reach out to your web host’s support team to see how you can access your PHP error logs and see if there is anything related to Apple News.

    As to why other things work and this doesn’t, the Apple News API is complex and we’ve seen some issues with certain web hosts. However, without a more detailed error message to reference, I can’t really provide any insight.

    Thread Starter ronpod

    (@ronpod)

    This is the latest log and I was searching on it and it has some information about the Apple News plugin its just like Chinese for me ??

    https://thehollywoodconnecti.ipage.com/stats/access_log_20160323.gz

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    We’d be looking for an error log, not an access log. Also it would be better if you could just copy/paste the relevant lines into a message here rather than provide a file to download.

    If there are multiple lines that look the same, just a few will do.

    Thanks.

    Thread Starter ronpod

    (@ronpod)

    Here are excerpts from the PHP Error Log:

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning
    20160318T084424: https://www.ronsworld.nyc/wp-admin/admin-ajax.php
    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning
    20160318T084426: https://www.ronsworld.nyc/wp-admin/admin-ajax.php
    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning
    20160318T085302: https://www.ronsworld.nyc/wp-admin/admin-ajax.php
    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning: file_get_contents(https://www.ronsworld.nyc/wp-content/uploads/2015/11/person_of_interest.png): failed to open stream: no suitable wrapper could be found in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-c
    20160318T085303: https://www.ronsworld.nyc/wp-admin/admin-ajax.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning: file_get_contents(https://www.ronsworld.nyc/wp-content/uploads/2015/11/person_of_interest.png): failed to open stream: no suitable wrapper could be found in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-conte
    20160322T154542: https://www.ronsworld.nyc/wp-cron.php

    PHP Fatal error: Call to undefined function get_plugin_data() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/apple-news.php on line 79

    20160322T154708: https://www.ronsworld.nyc/wp-cron.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-exporter/builders/class-components.php on line 191

    PHP Fatal error: Call to undefined function get_plugin_data() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/apple-news.php on line 79

    PHP Warning:
    20160323T032414: https://www.ronsworld.nyc/wp-admin/admin-ajax.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-exporter/builders/class-components.php on line 191

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-push-api/class-mime-builder.php on line 92

    PHP Warning:
    20160323T032417: https://www.ronsworld.nyc/wp-admin/admin-ajax.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-exporter/builders/class-components.php on line 191

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-push-api/class-mime-builder.php on line 92

    PHP Warning:
    20160323T032420: https://www.ronsworld.nyc/wp-admin/admin-ajax.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-exporter/builders/class-components.php on line 191

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-push-api/class-mime-builder.php on line 92

    PHP Warning:
    20160323T032424: https://www.ronsworld.nyc/wp-admin/admin-ajax.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-exporter/builders/class-components.php on line 191

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/publish-to-apple-news/includes/apple-push-api/class-mime-builder.php on line 92

    @ronpod – this error indicates your host has blocked the PHP methods (in this case, it’s file_get_contents() function) that the plugin requires to work. you’ll need to have your host enable that.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    I concur. This is unfortunately on your host to address. Once they enable that method, everything should work fine.

    Thread Starter ronpod

    (@ronpod)

    1) I have received this message from my server admin:
    We have enabled the ‘allow_url_fopen’ setting in your php.ini file. This should resolve the issue that you’ve experienced with the Apple News plugin. Also, the file_get_contents() function is working fine. I have uploaded a test script at https://thehollywoodconnecti.ipage.com/test/fg.php which is using the file_get_contents() function and is loading fine. Please check it from your end.

    2) I tried to publish an Article with the 1.05 plugin and got this error message: THERE HAS BEEN AN ERROR WITH THE API. PLEASE MAKE SURE YOUR API SETTINGS ARE CORRECT AND TRY AGAIN: WRONG_SIGNATURE

    3) Checked the PHP Error Log and this is what it said:

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning:
    20160318T085312: https://www.ronsworld.nyc/wp-admin/admin-ajax.php

    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    PHP Warning:
    20160318T085313: https://www.ronsworld.nyc/wp-admin/admin-ajax.php
    PHP Warning: Invalid argument supplied for foreach() in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/exporter/builders/class-components.php on line 178

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /hermes/bosnaweb25a/b880/ipg.thehollywoodconnecti/ronsworld/wp-content/plugins/WP-Publish-to-Apple-News-master/includes/push-api/class-mime-builder.php on line 92

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Those errors would indicate they did not actually enable allow_url_fopen. This is still on your host to resolve.

    Thread Starter ronpod

    (@ronpod)

    And I also now got this debug email:

    Array
    (
    [headers] => Array
    (
    [www-authenticate] => HHMAC
    [content-type] => application/json; charset=UTF-8
    [content-length] => 39
    [connection] => keep-alive
    )

    [body] => {“errors”:[{“code”:”WRONG_SIGNATURE”}]}
    [response] => Array
    (
    [code] => 401
    [message] => Unauthorized
    )

    [cookies] => Array
    (
    )

    [filename] =>
    )

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Did that work out for you?

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Closing this since there has been no further response.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Where are the articles going to???’ is closed to new replies.