blank page. #54

Open
BlopeetyBlop opened this Issue Nov 2, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@BlopeetyBlop

when i run the :
http://blog.example.com?update_feedwordpress=1
through browser i see blank page
also it switches to
http://blog.example.com/?update_feedwordpress=1
i also have this cron :
/usr/bin/curl --silent http://blog.example.com?update_feedwordpress=1
but it seems that it's not okay.
Because it does not auto fetch and create posts.
Im very confused.
Anyone?

@radgeek

This comment has been minimized.

Show comment
Hide comment
@radgeek

radgeek Jun 29, 2016

Owner

The blank page is expected behavior. The ?update_feedwordpress=1 request URL is supposed to return an empty document if there are no errors and no diagnostic messages to display. (In general, on GNU/Linux and other similar systems cron jobs are expected to produce no output when working correctly.)

If the request does not seem to be correctly fetching and creating posts, the first thing to do for troubleshooting purposes would be to log in to your WordPress admin interface and then go to Syndication > Diagnostics. On the Diagnostics page, find the settings panel labeled Display Diagnostics and find the setting labeled Diagnostics output. Turn on the checkbox next to "Echo to output when they are issued during an update cron job".

Next, scroll down to the settings panel labeled Updates and use the checkboxes to request diagnostic messages for at least some of the stages of the feed update process. If the problem is that posts seem not to be fetched and created, in particular try turning on the checkboxes next to (1) whenever a FeedWordPress checks in on the update schedule, (2) * as each feed is checked for updates*, (3) as each syndicated post is added to the database, (4) as each syndicated item is considered on the feed, (5) * as FeedWordPress decides whether to treat an item as a new post, an update, or a duplicate of an existing post*, and (6) when FeedWordPress rejects a post without syndicating it. After you've marked the checkboxes you want, mash the blue Save Changes button.

Now, log out of WordPress, and bring up the following update request URL (note the use of * rather than 1): http://blog.example.com/?update_feedwordpress=* Take a look at what diagnostic messages you get. If this provides some useful information for your own troubleshooting purposes, great. If you're not sure what it means, send me a note with the URL of the feed(s) you're trying to update and with a copy-paste of the diagnostic messages you're seeing (or a description of what you're seeing instead, if you're not getting any diagnostic messages).

Owner

radgeek commented Jun 29, 2016

The blank page is expected behavior. The ?update_feedwordpress=1 request URL is supposed to return an empty document if there are no errors and no diagnostic messages to display. (In general, on GNU/Linux and other similar systems cron jobs are expected to produce no output when working correctly.)

If the request does not seem to be correctly fetching and creating posts, the first thing to do for troubleshooting purposes would be to log in to your WordPress admin interface and then go to Syndication > Diagnostics. On the Diagnostics page, find the settings panel labeled Display Diagnostics and find the setting labeled Diagnostics output. Turn on the checkbox next to "Echo to output when they are issued during an update cron job".

Next, scroll down to the settings panel labeled Updates and use the checkboxes to request diagnostic messages for at least some of the stages of the feed update process. If the problem is that posts seem not to be fetched and created, in particular try turning on the checkboxes next to (1) whenever a FeedWordPress checks in on the update schedule, (2) * as each feed is checked for updates*, (3) as each syndicated post is added to the database, (4) as each syndicated item is considered on the feed, (5) * as FeedWordPress decides whether to treat an item as a new post, an update, or a duplicate of an existing post*, and (6) when FeedWordPress rejects a post without syndicating it. After you've marked the checkboxes you want, mash the blue Save Changes button.

Now, log out of WordPress, and bring up the following update request URL (note the use of * rather than 1): http://blog.example.com/?update_feedwordpress=* Take a look at what diagnostic messages you get. If this provides some useful information for your own troubleshooting purposes, great. If you're not sure what it means, send me a note with the URL of the feed(s) you're trying to update and with a copy-paste of the diagnostic messages you're seeing (or a description of what you're seeing instead, if you're not getting any diagnostic messages).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment