• I upgraded to 2.5 – everything went well, except for two of my most favorite plug-ins crapping out (Image Manager and PodPress). however, I noticed this morning that the publish date and time is not working correctly.

    When I click the edit button and change the time, then click save or publish, the post gets published at the current date and time and not in the future.

    I have disabled all plug-ins and it still does not work.

    Any help would be greatly appreciated as being able to properly schedule a post is vital for my website.

Viewing 15 replies - 76 through 90 (of 99 total)
  • daveatkins

    (@daveatkins)

    Is this problem fixed in 2.6.3? I am running 2.5.1.

    There is no “Publish” button I can find after the initial clicking of the Publish button. Typical workflow will be for user to create a new post, save it, edit it, etc. Set the publish date. Maybe publish it; maybe save again. At some point they will click the publish button and the post will appear as “scheduled” But it will never show.

    I am surprised by the lack of response here…which leads me to think maybe I am missing something or that my configuration is wrong somehow. This is a fundamental core feature of WordPress that, when broken like this, makes blogging ridiculously complicated. So it can’t possibly be happening for millions of other users. Is it possible the cron job or whatever is failing? Where would that be logged?

    ocifant

    (@ocifant)

    This was all working for me until I applied a WP upgrade (2.5.x I think). Since then, subsequent updates have been applied and the problem still occurs for me across 3 different blog sites that I admin.

    Some people are having no problem at all, so I think it’s going to be a tricky one for WP folk to find and fix. In all probability, it’s going to be a combination of factors which causes the problem to manifest.

    I know next to nothing about WP coding or the machinations of CRON services, but I’m willing to bet that an obscure configuration of things is screwing this for those of us affected, and that once affected the problem is solid (whatever causes it isn’t reset by subsequent upgrades).

    I’ve all but stopped blogging because of this problem. There have been various ‘solutions’ put forward here, but none which work on a consistent basis for everyone. I’m not holding my breath. It’s a shame, but this really is a blocker for me using WP.

    If I can provide any information about this problem to WP, I will if asked, but I’m not techy at all so questions will need to be put in the simplest of terms…

    deltaf

    (@deltaf)

    I am currently using WordPress version 2.6.3 and the schedule post is working perfectly.

    The problem seems to be with later versions. I did not have to worry about coding or cron issues.

    I just created a post, set it to a certain date and finally, clicked the “Publish” button. The post status turned into scheduled. When the date and time arrived, it posted automatically.

    The best recommendation to solve this problem is to upgrade to version 2.6.3

    You can use the automatic upgrade plugin. Remember to back up all of your data.

    If that does not solve the problem, then it might be coming from your web host’s server.

    I am currently using HostGator and up to now, I have not had any issues with their service or WordPress.

    mdesiderio

    (@mdesiderio)

    I am currently using WordPress version 2.6.3 and the schedule post is NOT working properly. I also use the WP-Mailing-List Plugin, which also schedules tasks, probably using the same procedure as post scheduling – I am not a developer and do not actually know if that’s really how the plugin works… but I suppose yes (if it help developers finding the problem)… I can provide anyone with the plugins file for testing purpose if needed…

    All scheduling tasks do not work for me => i.e.:

    – Post scheduling: What I do: I set date/time, write my post, and click PUBLISH => the post appears as “scheduled” in the management list, and once date/time is past… it is still scheduled but “XX minutes/hours AGO”!!
    ==> my solution: edit the post, scroll the “status” menu on the right, select “published” ==> post appears on the website with the date/time I set up previously… strange, huh?

    – Mass mailing using WP-Mailing-List Plugin: I schedule a task which generally is “10 emails every 60 minutes” (not to overload my server’s ports, limited to 100 openings at a time) and to have 240 emails sent per day (a newsletter sent to over 1,400 people, it takes a week, I know…) ==> once the first sending is supposed to be sent… simply nothing gets out of the queue list… and something like this appears:
    Current Date & Time 2008-11-14 09:57:27
    Next schedule event 2008-11-13 07:20:11 => more than 2 hours before, and nothing neither happens, nor happened.

    For the records, I tried a couple suggestion: the “click Publish” is not a solution (if it appears in your management list as scheduled, it is because you clicked Publish/if you clicked “Save”, it will appear in Draft, even a “scheduled draft”) => this is definitely not hte solution.
    I also tried a couple cron.php and wp-cron.php files that can be found on other feeds about this issue => did not work for me either.

    A solution PLEASE!!! Thanks =)

    For development purpose, I rewrite my host servers characteristics:
    I run three WP on my site. Version is 2.6.3 > PHP Version 4.3.11
    System FreeBSD hostingprod.com 4.11-YAHOO-20080312 FreeBSD 4.11-YAHOO-20080312 #0: i386
    Host: Yahoo! Smallbusiness / domain name transport-expertise.org

    daveatkins

    (@daveatkins)

    I have solved this problem. Please, WordPress, jump in here and correct me if I am wrong but I believe I understand this now…

    The scheduled posts are caused to be published by something called wp-cron, a feature in wordpress that emulated the scheduled tasks or cron functionality of the operating system. Because wordpress is essentially a php script, not a running application, it cannot do anything that is not triggered by a request to load a page. So WordPress built in something that checks on every page load whether there are tasks that ought to be done or not.

    In order to execute the wp-cron, as a page is loading, it must peform an asynchronous request to the server to load the wp-cron script(s). It determines the request based on the General Settings configuration of “WordPress address (URL)” to construct an http request to that site. So, I assume somewhere in the wordpress code there is a “wget $address/cronscript.php” or something like that.

    It is possible your hosting server cannot access itself in that manner. For example, our servers are running multiple websites and are behind a firewall that maps an external ip address to the server. If you are sitting on a server at 10.10.10.25 that has a public address of 84.123.81.25, for example, when you try to get content from 84.x.x.x, it may not allow this because it requries going out and coming back through the router. If you are not running internal DNS then when you look up https://www.yoursite.com, you will get the external address. So the scripts in wordpress will fail to ever connect or load.

    My solution was to modify the /etc/hosts file on the local server to define https://www.mysite.com as 10.10.10.25.

    Now this is a bit technical, I know, but if you manage your own server, you can check this situation for yourself by trying to web browse to your site from the machine your site is running on. If you can do that, then this is not your problem.

    If you are going through a hosting provider, maybe you can show them what I’ve described here and it will make sense to them. I happened upon the solution after noticing snarky comments from a WordPress person about how your hosting provider might not have DNS configured “correctly” and that made me think “why would wordpress need to access itself?”

    If you are managing your own servers, the consequence of all this is that you need to ensure a local http client can access the “hostname” specified in “WordPress address (URL)” You need that address to resolve (DNS) and you need the ip address it resolves to to be routable to the local host. So maybe if you don’t want to mess with the hosts file, you can tweak your router/firewall? If you have a loadbalanced server array, then you need to realize that wordpress is going to be doing this. There might be more security issues that peopel have in place locally–that might prevent http access to the local server.

    If you have command line access to your server, use wget to test whether you can load the hostname.

    I hope this helps everyone. It ended months of annoyance for me!

    Yohan Perera

    (@thevirtualpreacher)

    Hi,

    I had the same problem, and this is how I solved it.

    https://howtogeeksl.com/archives/326

    Please be kind enough to leave a comment if you find this useful.

    cipote

    (@cipote)

    This test ‘scheduled’ blog works when I use the iPhone app to view the blog but it does not work when I use the computer browser. With the computer browser the post does not show.
    I have WordPress 2.6.3

    jojama

    (@jojama)

    Try script from this blog, it help fixing cron queue

    https://smilesquare.com/wordpress-cron-fix/

    Thank you, I have about 1500 scheduled posts and the script work for me.

    mgoldsworthy

    (@mgoldsworthy)

    finally had my host look into it. for me, it was simply that wp-cron.php had wrong permissions. they set it to 644, and now it works great.

    months of frustration for a very simple fix.

    I would love to understand exactly how the “cron fix script” works:
    1- where to upload it?
    2- what to do next?

    thank you in advance.
    matt

    I just upgraded to 2.6.5, and this does not fix the problem…
    Change CHMOD to 644, and this does not fix the problem…
    I contacted Yahoo!, and the average response time is 24 hours…

    See you tomorrow!
    Matt

    For development purpose, I rewrite my host servers characteristics:
    I run three WP on my site. Version is 2.6.3 > PHP Version 4.3.11
    System FreeBSD hostingprod.com 4.11-YAHOO-20080312 FreeBSD 4.11-YAHOO-20080312 #0: i386
    Host: Yahoo! Smallbusiness / domain name transport-expertise.org

    I’m not sure this will help or not but this corrected the problem for two people who were hosted on IIS servers.

    https://www.kimwoodbridge.com/scheduled-posts-in-wordpress-dont-work-a-possible-solution-for-iis/

    Tried every hack mentioned in this post on all versiosn of wordpress from 2.6.3 to 2.7 RC1 and none of them work for me ??

    I’m running 2.6.5 and have the same problem.

    Is this a wordpress problem or a hosting problem?

    I used Kim’s soution (https://www.kimwoodbridge.com/scheduled-posts-in-wordpress-dont-work-a-possible-solution-for-iis/) + set my blog’s time at UTC and it works !!!!

    Check the link or do what she suggests:
    In your WordPress directory, edit /includes/cron.php. At line 84 and 85 replace

    $cron_url = get_option( ‘siteurl’ ) . ‘/wp-cron.php’;
    $parts = parse_url( $cron_url );

    with

    $cron_url = ‘https://127.0.0.1/wp-cron.php’;
    $parts = parse_url( $cron_url );

    Thank you Kim!!!

    The problem is definitely a matter of IP (I think my host: Yahoo! does not have a fix IP for the websites => when I ping https://www.transport-expertise.org, I always get a different IP address…)

Viewing 15 replies - 76 through 90 (of 99 total)
  • The topic ‘Schedule Posts Not Working in 2.5’ is closed to new replies.