Scriptrunner (Doug Sparling)
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Facebook Open Graph protocol] Footer html added to feed with 2.0.72.1 is fine. As I recall 2.1 doesn’t even use the output buffering, which seems to be causing the issue with 2.0.7.
Forum: Fixing WordPress
In reply to: Logon goes to User's Admin pageYou might try a plugin like WordPress Login Redirect or do a plugin search in your WordPress admin using the terms Login Redirect.
Forum: Fixing WordPress
In reply to: How to have a simple html page as homepageWhat @catacaustic is referring to is the DirectoryIndex listing configuration. Depending on your server configuration (if it’s Apache and the host will allow overrides in .htaccess), you should be able to add this to .htaccess.
DirectoryIndex index.html index.phpHowever, unless it’s very particular need, I’d recommend that you convert your static html page into a WordPress page and set it as the “static” home page.
Forum: Fixing WordPress
In reply to: how to add content text to a featured-pages pageIn
home.php, you can place content above and below these lines:<div id="slider"> <?php get_template_part( 'loop', 'slider' ); ?> </div><!-- #slider -->though you might want to consider a child theme once you start modifying a theme you’ve installed.
For future reference, I’d recommend a plugin like
What the File
to help you track down what template(s) you need to edit.Forum: Fixing WordPress
In reply to: Numbered lists changed to bulleted listsIt’s your theme. Where did you get the theme? I don’t see this theme on WordPress.org (it if is, let me know), so you’ll need to contact the theme’s author.
Forum: Fixing WordPress
In reply to: Fatal Error: Undefined function wp_get_current_user () in user.phpFirst, you definitely do not want to modify a WordPress core file. The problem is with one of your plugins.
wp-includes/pluggable.php, which contains thewp_get_current_user()function, doesn’t get loaded until *after* plugins are loaded, so trying to use that function in a plugin will cause a fatal error. You should contact the plugin author and submit a bug report. The author should be able to use a hook that runs later in the WordPress lifecycle.You’ll need to follow Tara’s advice to narrow down which plugin it is.
Forum: Fixing WordPress
In reply to: What's the best way to redirect a single page for mobile devices?How did the php browser detection fail? You’ll have to do some kind of user agent detection so I’d go with a plugin if at all possible.
I do see how it could be handy to have a shortcode, but don’t think I’ve seen a plugin that’ll do that for browser UA detection and redirect.
Forum: Fixing WordPress
In reply to: Formatting.php errorGood deal. Ok, that’s a premium plugin, so you may get with the author and see if he can fix that for you.
Forum: Fixing WordPress
In reply to: URL Redirect / .htaccess / subdomain / maintenance page madness192.168.1.1 is a private IP address. You need your public IP. Try a site like this to find out what it is:
Forum: Plugins
In reply to: [Safe Mode] Bug – twentythirteen never used due to typoHi Uffe,
No worries…thank you for the fix and the credit!
I’ll have a (very small) feature request for you at some point 🙂
Regards,
==
dougForum: Fixing WordPress
In reply to: Formatting.php errorThe OP already did that using Safe Mode plugin and that eliminated the warning. Just changing the theme didn’t. So plugin issue.
Forum: Fixing WordPress
In reply to: Formatting.php errorI’d also be curious if the non-logged in commenters have an email address (or something else) in the comment_author_email field in the wp_comments table. The warning stems from WordPress expecting the email variable in the code you posted to be a string, but it’s not. However, I can’t duplicate it locally, which I try to do so if it’s a bug with a theme or plugin, I (or you) can submit a bug report to the author.
Forum: Fixing WordPress
In reply to: Formatting.php errorIf you’re not using a default theme, I’d try changing that first, since it’s simple and fast (unless you’re already using an unmodified WordPress default theme). Otherwise, you’ll have to try and narrow down which plugin, which you’ll have to do one at a time. I generally deactivate them all and then reactivate one at a time. Normally with DEBUG mode set to false, you won’t see the warning messages.
Narrowing it down to non-logged in commenters may help solve the puzzle as well (I’m going to look at that).
Can you list what plugins you are using?
Forum: Fixing WordPress
In reply to: Can't access backend – recaptcha errorEsmi’s question reminded me of something. Though we’ve quit using recaptcha ages ago, I have had clients who installed via cpanel. As I recall, it broke when the host did a php upgrade. Since this doesn’t seem WordPress specific, I’d follow esmi’s advice and contact your host.
Forum: Fixing WordPress
In reply to: Can't access backend – recaptcha errorI have no idea what
wp-lc.phpis, butrecaptchalib.phpis the name of the file in the Google PHP library for reCaptcha. Any chance your site was using reCapache on wp-login.php without using a plugin? I’d start by deactivating any reCaptcha plugins, if any, (though I still suspect it’s some sort of manual install), so you might want to check wp-login.php as well.