cogmios
Forum Replies Created
-
I updated it with a bit of code.
so… in /inc/filecheck.php on line 251 change the “1” to some other value, then it wil not use $this->fileemail()
It will still update the database. Do not have time to go through the complete code.
p.s. : a link to a tutorial ????? GRIN ! start here: http://php.net/ π
Strange , I got the message from a lockout on an IP 3 times.
But by the looks of it you are using a cache indeed π
But uhm.. if you dont want to use the file check why not change
execute_filecheck( $auto = true )
to not use it (in filecheck.php) ??(and while I read it , i see switch_to_blog( 1 ); for multisite, I wonder if that 1 is always correct and is not sometimes a 0) (not sure)
p.s. it is on line 252:
if ( $bwpsoptions['id_fileemailnotify'] == 1 ) { $this->fileemail(); }change it to some other value, crude fix but workaround until the final one comes around from the developer.
@art4life I’m a bit busy so did not have time to look through the sources (but every bug is solvable after some time)
But uhm… why does your paid job rely on a plugin ???
why dont you de-install it and try some other security plugins if that bug is bugging you?
Also: this topic marked as “RESOLVED” so this might be the reason that this topic is not picked up.
I noticed I have the same problem, I just got 3 mails with the same contents.
Thing is… if I change stuff in the plugin , it will be gone when i update the plugin π
i would like an option that turn on XMLRPC posting when logged into the site and turns it off when logging out of the site.
I added
remove_action( 'template_redirect', 'wp_redirect_admin_locations', 1000 );right above it, which stops the canonical work, another place might be better (priorities must match)
Update , I think it is because of this part in “/wp-includes/canonical.php” :
function wp_redirect_admin_locations() { global $wp_rewrite; if ( ! ( is_404() && $wp_rewrite->using_permalinks() ) ) return; $admins = array( home_url( 'wp-admin', 'relative' ), home_url( 'dashboard', 'relative' ), home_url( 'admin', 'relative' ), site_url( 'dashboard', 'relative' ), site_url( 'admin', 'relative' ), ); if ( in_array( untrailingslashit( $_SERVER['REQUEST_URI'] ), $admins ) ) { wp_redirect( admin_url() ); exit; } $logins = array( home_url( 'wp-login.php', 'relative' ), home_url( 'login', 'relative' ), site_url( 'login', 'relative' ), ); if ( in_array( untrailingslashit( $_SERVER['REQUEST_URI'] ), $logins ) ) { wp_redirect( site_url( 'wp-login.php', 'login' ) ); exit; } }I think the following action: add_action( ‘template_redirect’, ‘wp_redirect_admin_locations’, 1000 );
Might be handy to remove IF a user chooses to set custom names for the login pages etc… otherwise that functionality is of no use.
continued:
I’m using Nginx on a single site install and have not much other plugins installed.I changed the Nginx ofcourse with the config on the dashboard, i looked through it and /login is nowhere to be found
Another one, when I try to goto /login (my defined url is NOT /login but another /something) :
Notice: Trying to get property of non-object in /…/wp-content/plugins/better-wp-security/inc/secure.php on line 791
Whereafter a message that headers were already send and a blank screen
THIS IS CAUSED because $post is NULL when not logged in, so you can not use it like $post->post_password.
if i do an echo of the $url above it I get:
http://mysite.com /dashboard /admin /login http://mysite.com/wp-login.phpand then the error follows, so it goes through some tries and somehow matches wp-login after “/login”
ADDENDUM
——–
If I remove php error checking /login redirects to /wp-login.php independently of what i set as alternate login page.Forum: Plugins
In reply to: [WP Offload SES Lite] [Plugin: WP SES] minor issueI think this because there is an error onl ine 85 in wp-ses.php it says there :
$update = false;I think we change this to :
$updated = false;….
Forum: Plugins
In reply to: [WP Offload SES Lite] [Plugin: WP SES] major issueSo this is about:
$this->to = array_merge($this->to, $to);Apparently even though $this->to has been defined as an array() it is not recognized as an array.
On array_merge (http://php.net/manual/en/function.array-merge.php) I read why: this behavior has been changed since php version 5, so i changed it to:
$this->to = array_merge((array)$this->to, $to);and now it works π
POSSIBLY this should be changed in the original class
p.s. I also looked through that code somewhat more and there are some more changes you would want to do e.g. do not use curl but instead use WP build-in get request, als use the WP options, maybe use classes instead… etc… I think im going to fork this one.
disable all plugins and get to standard theme then try again.
(sounds boring but it helps)
Hi, never thought about it…. I will fiddle it in in the next version
SOLVED.
Actually Google blocked it because it came from a suspicious address, right when I logged into my gmail account a big red line warned me of “suspicious activities”.
(++Google)
So i could put in there “yes that is me” and allow the new application access π
p.s. But I’m on the Verge of also trying out SES
Forum: Networking WordPress
In reply to: Illegal string offset 'total_users'18:31 : illegal offset
18:31 : You can update to WordPress 3.4.1 automatically or download the package and install it manually: click
18:32 : message gone