chewblocka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Scheduled posts do not appearI think I have discovered another cause for this. I am having the same issue. I saw several people chalk this up to DNS…however, when I created a simple php script to try and fsockopen my own host over port 80 I see an error 111 Connection refused. Since this is on a server I managed and setup, it suddenly made me remember the firewall I configured. It is VERY common that the very first rule in a firewall is to deny any connections coming over the external card that claim to be originating from yourself. This is a common ip packet spoof used in DOS attacks and why would you be connecting to yourself over the outside network anyway…use loopback. SO, the issue here is that the fsockopen connection over port 80 to myself was being blocked by the firewall. To solve this you need to chnage this line
$cron_url = get_option( ‘siteurl’ ) . ‘/wp-cron.php’;
to this
$cron_url = ‘https://127.0.0.1/wp-cron.php’;
You may need to add more before the wp-cron.php if your wp install is in a subfolder. This will cause the connection to be made over the loopback interface and the firewall will allow it as it should.
I suggest (and will create a trac ticket) that the wordpress code change to do this by default, or at least give you the option.
Forum: Fixing WordPress
In reply to: Future posts not postingDid you ever get this resolved? I’ve started having this problem since upgrading to 2.2. It worked in 2.1, but no longer works in 2.2
Forum: Fixing WordPress
In reply to: Using the wp_list_bookmarks callI had this same problem. Basically, wp_list_bookmarks was just ignoring the exclude parameter and I couldn’t get any other function to work the way I wanted either. It was a simple fix though, hopefully someone from WP will see this and incorporate into the code. If you go into the wp-includes/bookmark-template.php file the following two items will fix this:
1) On line 323, add a default for exclude value of an empty string
2) On line 331, pass the exclude value to the get_categories function (&exclude=$exclude)That fixed it for me. It may not fix it in all cases, but it did work for me.