richlondon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress 3.9 seems to have removed ALL my imagesHi
I have tried to upgrade a multisite install, running on iis. The wordpress install is on 3.5.1, and I have tried to upgrade to 3.9.I have exeperienced the missing images issue.
On the media library screen, none if the images have thumbnails. Looking at the source of the image it is missing the “wp-content/blogs.dir/SITEID”. Looking on the server, the files are there.When I look at the site settings in the network admin, the upload paths seem correct.
I have since had to revert to a snapshot of the 3.5.1, as I couldn’t resolve the media issues.Help appreciated..
ThanksForum: Plugins
In reply to: [Google Map Shortcode] Maps not showingActaully, I’ve had to roll it back to 2.2.3
Forum: Hacks
In reply to: Display error messages in custom login formSorry this is the script in the functions.php
add_action( 'wp_login_failed', 'pu_login_failed' ); // hook failed login function pu_login_failed( $user ) { // check what page the login attempt is coming from $referrer = $_SERVER['HTTP_REFERER']; // check that were not on the default login page if ( !empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin') && $user!=null ) { // make sure we don't already have a failed login attempt if ( !strstr($referrer, '?login=failed' )) { // Redirect to the login page and append a querystring of login failed wp_redirect( $referrer . '?login=failed'); } else { wp_redirect( $referrer ); } exit; } } add_action( 'authenticate', 'pu_blank_login'); function pu_blank_login( $user ){ // check what page the login attempt is coming from $referrer = $_SERVER['HTTP_REFERER']; $error = false; if($user == null || $_POST['pwd'] == '') { $error = true; } // check that were not on the default login page if ( !empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin') && $error ) { // make sure we don't already have a failed login attempt if ( !strstr($referrer, '?login=failed') ) { // Redirect to the login page and append a querystring of login failed wp_redirect( $referrer . '?login=failed' ); } else { wp_redirect( $referrer ); } exit; }
Forum: Hacks
In reply to: Display error messages in custom login formHi,
Thanks for this….
I found some kind of solution for error checking which I have placed in the functions.php. However this displays the same error, whether the user has entered an incorrect username or password…
I could do with it being more tailored.if(isset($_GET['login']) && $_GET['login'] == 'failed') { ?> <div id="login-error" style="background-color: #FFEBE8;border:1px solid #C00;padding:5px;"> Login failed: You have entered an incorrect Username or password, pease try again. </div> <?php } wp_login_form( $args );
Forum: Hacks
In reply to: Display error messages in custom login formHi did you have any luck with this?
I am trying to implement error messages on a custom login form on my home page.
thanks
Forum: Plugins
In reply to: [Sidebar Login] Using Template TagWhen I add this I can’t login in…
I added the javascript includes to the header… but still nothing.any ideas?
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableI have just tried to access the site again and then looked at the log file…
this can be downloaded here:https://www.btl.com/Demo/newlog.zip
thanks
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableI have quite a few that are network activated but listed below are just the ones that are activated on the dead site.
jQuery lazy load plugin
LayerSlider WPOur It Admin looked into the error log (which is now 1.3gb!) and said this
“The error I am seeing indicates that it is to do with “jetpack_clean_nonces” and “clean_cache_event”. I suspect that something is submitting a 1 million character query”So I disabled the jetpack plugin, which was network activated…but this had no effect.
The next plan is to restart IIS and MySQL.
thanks
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableHmmm scrap the idea of the main site being unresponsive… It seems ok… But one of the sub-sites…still can’t be reached.
Any help would be much appreciated.
Thanks
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableHi,
Our IT Admin has looked at the timeout issue, which I think might be related to the timeout issue. He has made some changes to the MySQL to increase its memory usage. However, the issue happened again, and now one of the sites has become unreachable.
When I try to go to the the site (www.aspireplatform.com) I just get redirected to the wp-login.pageIt seems the main site has become unresponsive too.
thanks
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableHi,
Thanks for getting back to me.
error log can be found here:
https://www.btl.com/Demo/error_log.zipI have put two files in there. One from when I went weird and one from the past week or so…
Thanks for your time.
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableHi Ipstenu,
I wasn’t aware you could change the default theme for new sites…
I only have Twenty Twelve activated on my network.
Are you able to help decipher my log file?thanks
Forum: Networking WordPress
In reply to: One site on the network becomes unreachableHi,
So I have to simply activate the Twenty Twelve theme for the problem site, then switch it back to the theme I am using?Do you know why that is exactly?
Thanks
Forum: Plugins
In reply to: [Sidebar Login] [Plugin: Sidebar Login] Gives "Undefined" errorHi,
I have wp super cache installed.
when it is enabled I get the undefined error on login on the sidebar login widget.When I disable it it works fine.
I have wordpress 3.5.1
sidebar login: 2.5.0
wo super cache: 1.2Can anyone help?
regards
Rich
Forum: Plugins
In reply to: [Restricted Site Access] Referrer redirectioneerr scrap that I worked it out]
just needed to set it to “Send them to the WordPress login screen” in the options panel!