GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress "Missed schedule" bugfix? (https://gfy.com/showthread.php?t=995620)

Davy 11-02-2010 12:09 PM

Wordpress "Missed schedule" bugfix?
 
My scheduled wordpress posts do no longer get automatically published.
Has anybody ever come across this problem?

It started happening after I had some performance issues on my server. The server's CPU was upgraded. Now support is of course blaming Wordpress to be the problem.

I've already tried pretty much all suggestions:
- I have hacked cron.php and increased the time-out
- I have added cron.php and wp-cron.php to the no-cache list
- I have deactivated plugins
- I have reduced the number of entries in the ping-list

I fucking hate Wordpress... :disgust

grumpy 11-02-2010 12:11 PM

might be to simple, is your servertime ok?

woj 11-02-2010 12:18 PM

Quote:

Originally Posted by grumpy (Post 17664098)
might be to simple, is your servertime ok?

sounds like that's the problem :thumbsup

Davy 11-02-2010 12:18 PM

Oh, yeah, I forgot to add this:
the server time was checked and is okay.
Quote:

root@myserver ~# date
Sat Oct 30 18:45:59 EDT 2010
root@myserver ~# ntpdate time.nist.gov
30 Oct 18:46:13 ntpdate[98822]: adjust time server -IP- offset -0.022246 sec
PHP memory limit is 128MB so that should be okay, too. :Oh crap

I could set up a cron job that pings my site. But that would be only a work-around.

woj 11-02-2010 12:23 PM

Run a query, does that show correct time too?
-->
SELECT NOW();

fris 11-02-2010 12:25 PM

never ran into this issue myself.

Davy 11-02-2010 12:28 PM

Quote:

Originally Posted by woj (Post 17664157)
Run a query, does that show correct time too?
-->
SELECT NOW();

Checked it:

Quote:

$ date
Tue Nov 2 15:27:03 EDT 2010

$ mysql
mysql> SELECT NOW();
+---------------------+
| NOW() |
+---------------------+
| 2010-11-02 15:27:19 |
+---------------------+
1 row in set (0.00 sec)
So yes, the time seems correct.

selena 11-02-2010 12:58 PM

Ironically enough, I came to post and see if anyone besides me ever has this problem. I scanned new threads before posting, and found out I am not alone.

I don't know what is causing it, but it is yanking my chain hard. If I find any fix, I will post back.

Varius 11-02-2010 01:13 PM

What version f WP are you running?

This problem happened a lot with the 2.8.x and 2.9.x series for me, but with 3, have never had it happen yet.

Also, try disabling all plugins, then testing it. If it works, re-enable them one at a time and keep testing until you discover which is the culprit.

Davy 11-02-2010 01:25 PM

Quote:

Originally Posted by selena (Post 17664340)
...

Please let me know when you find a fix for this, selena.

I've already invested a couple of hours in finding a bug fix for this. So far, nothing has helped (see above).

I use the latest version of Wordpress (3.01)!

Calico Jack 11-02-2010 01:32 PM

I have had this problem before and how I fixed it was this:
Let's say I write a post and schedule it for 1.00pm tomorrow. Once I click the publish button, I go to edit and change the scheduled published time to say 1.05pm and update it.
This has always seemed to work for me. I first had this problem arrive when daylight savings time started. The time I had set and the server time got out of whack. Took me days looking for a fix until a read this one somewhere. It's a pain but it does work for me, hopefully for you too.

Davy 11-02-2010 01:37 PM

I find that inacceptable. Publishing in wordpress already takes a long time. I will not push the publish button twice or change dates after publishing.

Calico Jack 11-02-2010 01:51 PM

Quote:

Originally Posted by Davy (Post 17664564)
I find that inacceptable. Publishing in wordpress already takes a long time. I will not push the publish button twice or change dates after publishing.

Couldn't agreee with you more. It appears it is a common problem and there's no single, easy or permanant solution to it.
However, the above fix does work for me, not saying it will for you though.

Davy 11-03-2010 08:52 AM

I have deactivated all plugins and still get this fucking error. :mad:

PornAddict 11-03-2010 09:30 AM

I use a plugin called "Missed Schedule" and it fixes it up.

CYF 11-03-2010 09:54 AM

happened to me under 2.8 also.

selena 11-03-2010 12:26 PM

Quote:

Originally Posted by Davy (Post 17664494)
Please let me know when you find a fix for this, selena.

I've already invested a couple of hours in finding a bug fix for this. So far, nothing has helped (see above).

I use the latest version of Wordpress (3.01)!

I am using 3.0.1 as well. None of the aforementioned things had fixed it for me either.

I was playing around with it a few minutes ago, trying some other things I had found on the web, with no results. I had a post showing as missed schedule.

I installed this plugin. As soon as I hit activate, I went back and looked at my posts. The previously Missed Schedule one had the status changed to published. I confirmed that by checking out the blog.

My understanding is that it will only work on posts with a date/time in the past that still have post_status=future. Some supposed fixes I had found were publishing things that were scheduled and had not yet reached their scheduled publish time.

I am going to write one and schedule it for a few hours from now. Will post results.

Davy 11-03-2010 03:16 PM

Quote:

Originally Posted by PornAddict (Post 17667295)
I use a plugin called "Missed Schedule" and it fixes it up.

I know there is a guy who sells a plugin. Besides, I don't like to stitch up a broken system.

All those bugfix plugins that people have written would be unnecessary if only one could found the source of the problem.

Davy 11-04-2010 01:47 PM

Quote:

Originally Posted by selena (Post 17667967)
I installed this plugin

I don't recommend you to install this plugin. It will add an additional query to all your page loads.
You are better off just adding a cron job manually.

$5 submissions 11-04-2010 02:39 PM

I have the same problems. Fucking hate this shit. Had to log into a shitload of blogs to publish manually. :(

Davy 11-04-2010 03:09 PM

It's a pain, yes.

I have set up a cron job now to run every 30 minutes. I will see tomorrow if it works.

Cyber Fucker 11-04-2010 03:12 PM

I'm happy to use old, heavy modified versions, so far so good, no problems. Every never version of WordPress has more holes than swiss cheese.

Davy 11-04-2010 03:15 PM

The funny thing about wordpress are all those ridiculous functions with undefined return values. How can so many people put up with this piece of shit...

selena 11-04-2010 03:49 PM

Quote:

Originally Posted by Davy (Post 17672620)
I don't recommend you to install this plugin. It will add an additional query to all your page loads.
You are better off just adding a cron job manually.

I would rather not use it, as I try to keep the plugins to a minimum. I am still in the process of playing around and seeing what will work and what will not.

So far, that is the only thing that I have tried that will go down in the "worked" column.

If I come up with another solution, I'll post back.

Davy 11-06-2010 02:29 AM

I will try this fix today:
http://sankhomallik.com/blog/2009/09...sing-schedule/

I doubt it will work. Because the cron job that was scheduled to execute wp-cron.php every 30 minutes has no effect. That's a serious problem.


All times are GMT -7. The time now is 03:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123