Scriptrunner (Doug Sparling)
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Website just shows a fatal errorAs Krishna said, that’s every sign of a malicious script. Something is hijacking your wp-load.php core file, and that jquerys.net call is is using hex strings, which usually means someone is obfuscating their javascript, and that’s never a good sign. You probably need to reinstall WordPress from source.
Forum: Fixing WordPress
In reply to: 3.6.1 is NOT working with emailing (class-phpmailer.php)Oddly, every single person I’ve helped with not receiving email after upgrading to WordPress 3.6.1 has found that their email is going into their spam folder. You might double check if your email from your WordPress install is ending up in your spam folder.
I generally use the Check Email when testing if email is working or not. It will also tell you what MTA your server is using, and yes, the 3.6/class-phpmailer.php issue has to do with Qmail and a bug in the version of class-phpmailer.php being used with WordPress 3.6/3.6.1.
Forum: Fixing WordPress
In reply to: How to stop spam users to register?Since you’re talking specifically about spam user registration, I’d try an aptly named plugin like the Stop Spammer Registrations plugin.
Forum: Fixing WordPress
In reply to: Not able to search for new themesFor what could be causing the delay, I have no idea, but it does sound like there is something different about the servers.
This is untested, and I had to dig through core and the hooks, but I think I found a way you can get around this. The default http anc curl timeout is 5 seconds, but if you use a couple WordPress filter hooks, you can lengthen that (I’m changing it to 10 seconds, but use what ever works for you). Try this in your theme’s functions.php file:
function my_http_request_args ( $r ) { // Set http request timeout to 10 seconds $r['timeout'] = 10; return $r; } add_filter( 'http_request_args', 'my_http_request_args', 100, 1 ); function my_http_api_curl ( $handle ) { // Set CURLOPT_CONNECTTIMEOUT to 10 seconds curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 10 ); // Set CURLOPT_TIMEOUT to 10 seconds curl_setopt( $handle, CURLOPT_TIMEOUT, 10 ); } add_action( 'http_api_curl', 'my_http_api_curl', 100, 1 );Forum: Fixing WordPress
In reply to: Cannot upload .APK file for security reasons?APK isn’t in the default list of allowed mime types for uploads, though I’m not sure if it’s due to it being a relatively uncommon file type (except for Android developers) or for security reasons. (it does install software on Android devices)
Never the less, if you want to upload an apk (I do it, as I’m an Android developer), add this to the functions.php file in your theme:
function add_upload_mime_types( $mimes ) { if ( function_exists( 'current_user_can' ) ) $unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' ); if ( !empty( $unfiltered ) ) { $mimes['apk'] = 'application/vnd.android.package-archive'; } return $mimes; } add_filter( 'upload_mimes', 'add_upload_mime_types' );Forum: Fixing WordPress
In reply to: How can I hide (not delete) my blog title?Have you tried doing it in the admin by going to
Settings->General
and clearing out Site Title and Tagline (if applicable)?
Forum: Fixing WordPress
In reply to: WP-config.php file missingWhat you need to find out is why the wp-config.php file went missing…
Forum: Fixing WordPress
In reply to: WP-config.php file missingThe message should get is this:
There doesn’t seem to be a wp-config.php file. I need this before we can get started.
WordPress checks for the existence of wp-config.php before it makes any database queries. You’d only get a database connection error message if WordPress can’t connect to the database specified in wp-config.php.
Forum: Fixing WordPress
In reply to: Fatal Error during update to 3.6 (undefined function)wp_safe_remote_gethas been in WordPress since 3.6, so I don’t know why that blog article suggested it was only in a beta version of 3.7. My guess is you were downloading from a pre-3.6 version of WordPress and the update didn’t complete. If there was nowp_safe_remote_getin your wp-includes/http.php file, then you might want to consider a fresh install or update. You should never have to modify a core file to make an update. Ifwp_safe_remote_getis not there, then you’re not running 3.6/3.6.1, at least not in its entirety.Forum: Fixing WordPress
In reply to: Plugin for linking websites?Those are called Hamburger Menus or Hamburger Style Menus, which makes it a bit difficult to search for. I think Genesis themes may have a mobile version. I really don’t know of any plugin that does this, which doesn’t mean there isn’t. You might also search for widgets and themes.
Forum: Fixing WordPress
In reply to: Plugin for linking websites?Another suggestion would be some type of accordion menu plugin/widget.
Forum: Fixing WordPress
In reply to: Plugin for linking websites?You can create a custom menu (Appearance->Menus) and add it to a sidebar widget. If you want the link to open in a new tab/window, then to go top right of Menus admin and click on “Screen Options” and then check “Link Target” and then close the “Screen Options” curtain Then you’ll have a check box so you can set a link to open in a new tab/window. Once you’ve saved your menu, you can add it to a widget area. (Appearance->Widgets)
For another options (I’ve not used it), but the old “Blog Roll” functionality was pulled out of WordPress as of 3.5, but you can get it back with the Link Manager plugin.
Really, I think the first way is the “WordPress way.”
Forum: Fixing WordPress
In reply to: Email notifications no longer work on WordPress 3.6.1What version of WordPress did you upgrade from? There is a bug in the phpmailer class that will effect a small amount of users in a specific situation. (WP 3.6/3.6.1 and server Mail Transfer Agent is Qmail)
Try the Check Email plugin and test whether you can end a plain email. The plugin will also tell you which MTA you are using.
There was another user who reported not receiving email after upgrading to 3.6.1, but in his case, the mail was simply going to the spam filter for some reason.
Forum: Fixing WordPress
In reply to: Updated to PHP 5.5.1, now cannot connect to DBMaybe it’s your version of MySQL. I can run WordPress 3.6.1 on PHP 5.5.3 with no problem (other than a warning that mysql extension is deprecated). For the record, I’m running MySQL 5.6.12. And this is on my development laptop, not a server. (I actually normally use PHP 5.3, but I can load 5.4 or 5.5 for testing)
Forum: Fixing WordPress
In reply to: Having issue with a Warning: division by zeroDid you have any ratings before you did the reset? My guess is that $nr_ratings wasn’t 0 before the reset, so you weren’t getting the error because you had some ratings.