kvandekrol
Forum Replies Created
-
Had the exact same issue. It turns out that the rul_logout_url field is set to NOT NULL in the database, but when you try to save a rule without first specifying the “Logout URL” field near the bottom, it creates a record where rul_logout_url is null and so the query fails.
I fixed it by modifying the field in the database to allow NULL. This change should be incorporated into the official plugin itself. However, if you’re a user encountering this problem and you don’t have the means to edit the database, the workaround is to first specify a Logout URL. Then the field in the database won’t ever run up against the NOT NULL issue.
Thought I’d leave an update and say that it’s now line 250 in the current release (1.3.1). If a server’s PHP installation is not set up to allow the now-deprecated “short open” tags (e.g.
<?
instead of<?php
) then the plugin will fail activation. If you change line 250 to read<?php
then the plugin will work fine in any standard PHP configuration. That was the only instance of the short-open tag in the file, so just that one line and we’re good!Starting on line 248:
</div> </li> <? } } echo '</ol>';
…becomes:
</div> </li> <?php } } echo '</ol>';
By the way, I wanted to say that this plugin is fantastic and really fills in some gaps in WordPress that make it hard to manage sites with a large number of pages. I’ve used it on a couple of sites so far and it has made my life much easier!
Forum: Plugins
In reply to: [Fluency Admin] Fluency Admin under Windows serverThanks for this! I love Fluency but had to stop using it because of this issue.
Forum: Plugins
In reply to: [Fluency Admin] Navigation does not work at allSame issue. Firebug tells me that the MIME type of the CSS is incorrect (text/html, should be text/css) and so the browser doesn’t load it.
It’s now on line 186 in the current release – the
<?
should be changed to<?php
.Forum: Fixing WordPress
In reply to: Re-sequencing IDs in the databaseI decided to just renumber them by hand with an update script. There were only 8 of them that needed to be corrected so it was much quicker. Worked like a charm.
Thanks for the help!
Forum: Fixing WordPress
In reply to: Re-sequencing IDs in the databaseI am cool with pages and attachments adding to the count. Skipping a number here and there is fine. I just don’t want to jump 60 pages for four posts! (I do a lot of revisions, BTW!)
Any ideas what the custom script would look like to rewrite the IDs, or would it be best to just do this by hand?
Forum: Fixing WordPress
In reply to: Re-sequencing IDs in the databaseWill it renumber all of the post IDs as well to fill in the gaps?