INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

WP Upgrade -> 3.6.1 (Network update fails)

WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I'm starting to lose the will to live with Wordpress!

Why doesn't Wordpress ever work properly?

Once again I try to upgrade, the WP update works fine, but it sends me to do a network upgrade and like usual that fails!

Quote:

Warning! Problem updating https://www.xxx.com/xxx. Your server may not be able to connect to sites running on it. Error message: Could not open handle for fopen() to https://www.xxx.com/xxx/wp-admin/upgrade.php?step=...

Any ideas how to resolve this once and for all?

Thanks,
1DMF

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

sure. I have some ideas.

1. are you sure that the dns is working properly for the lookup? i.e. does the site know where it is?

2. are you using virtual hosts on an apache server (or the equivalent on windoze)? If so, how can the server know where to connect to during the ssl negotiation? (as the routing is done from an analysis of the request headers which are encrypted).

3. are you (100%) sure that your php installation is allowing fopen?

4. are you (100%) sure that your server and firewall are allowing outbound connections from the user under whose credentials the wordpress install is running?

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
1. no - I've tried to load the main site via IE on the physical webserver and it won't load
2. yes - err what does that mean? - I can manually paste the URL into a browser and it works - well the URL works , the upgrade still fails?
3. yes, checked and double checked.
4. nope, but upgrade 3.5.1 -> 3.5.2 worked fine, it's only all version of 3.6.x that don't?

I'll do some more digging tomorrow, and see if I can properly answer your questions.

Time to go home and do some study, exam in 3 weeks surprise

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

1. ok that sounds like a problem you need to fix. make sure that your webserver is listening on the loopback and public addresses. and fix the dns entry of course. sometimes adding an external dns will do the trick (like 8.8.8.8)
2. not sure what url you mean. the network upgrade process upgrades the database of all connected sites sequentially (ish) by remotely calling the upgrade.php script. so the server that you start on needs to have access to all the other servers over https
3. good
4. easy enough to check. ssh to the server, sudo to the webuser under whose credentials the site is running and try to get to another site. and also to be able to write files to the local directory - although not being able to do so would give different errors.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
Hi,

1. When I do an NSLookup I get the correct return as follows..

Quote:

C:\>nslookup www.mydomain.com
Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
Name: mydomain.com
Address: xxx.xxx.xxx.xxx
Aliases: www.mydomain.com

So DNS seems OK, but I cannot navigate to a single website hosted by the server with a browser on the server, every site gives 'Page cannot be displayed' after a lot of hanging!

2. The is only one server? I'm little confused over this one, if on my desktop client machine I try the URL that fails on the upgrade, it is reachable, but fails with the same problem, basically I thing the server cannot access itself, the question is why?

Firewall perhaps?

..... update .....

Well the server host has said they believe it is DNS, well in the sense that the server should have a DNS with internal IP addresses so it doesn't try to leave and come back in on the public IP?

I don't believe this was an issue before and we have never had a domain controller before either, so what would be causing the issue that the server cannot go out and back in via the public IP address to access websites it hosts?

Anyway the initial solution is to add a load of entries to the HOSTS file, but that is only a temporary solution as I don't want to have to manage all the website entries in this manner, not to mention having to create www and non-www entries. The server host has promised to set up a DNS server to manage this moving forward, but I'm not convinced this is the problem, the server is not on a domain and there has never been a PDC, and this hasn't been an issue before?

Once I have made all these HOSTS file entries for the Wordpress sites currently under the MU installation, I will then re-run the upgrade and let you know how I get on.



"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

Quote:


the question is why?

yes. in order of likelihood (bear in mind that I'm not a networking guru at all....):

1. the router/gateway is also handling DNS and is associating the request with its loopback address and there are no defined routes in its memory that tells it otherwise.

2. the webserver is not listening on the right addresses

3. the client and server are unable to negotiate a secure connection with each other. is there reason why the url's are https?

4. possibly the firewall is blocking loopbacks. but this would be silly.

next step, if you would, is to run and post a trace route from the server to one of the site addresses. please also make sure that the webserver is also listening on all addresses for the time being (you can narrow it down later)

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I ran the upgrade again after adding to the HOSTS file and the upgrade was successful.

Wordpress now runs slower than it ever has, it takes 5 minutes to load the login page, then another painfully long time to load the admin control panel after providing credentials.

With regard to the SSL, it's part of the wordpress functionality, so why should this be an issue? We run SSL for obvious reasons.

simply add

CODE

define('FORCE_SSL_ADMIN', true); 
to the wp-config.php

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
However I have found these entries in the PHP log

Quote:

[19-Sep-2013 10:02:20 UTC] PHP Warning: stream_get_contents(): SSL: An existing connection was forcibly closed by the remote host.
in C:\inetpub\wwwroot\wp-includes\class-http.php on line 985

Does this mean WP doesn't work properly?

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
This is ridiculous, WP is now unusable the admin is so slow it cannot be used anymore?

The WP sites themselves load fine, the admin system has ground to a halt, I think I need to give up and will have to downgrade!

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

it may be 'part of the wp functionality' but that does not mean that php supports it (it has to be compiled in during compile time) and it does not mean that your webserver handles it correctly. there are difficulties using virtual hosts and ssl, typically.

anyway, you seem to have the upgrade issue sorted. fixing it in hosts is a kludge rather than a good solution. your router should have the proper routes configured.

the slowness is likely to be either the database upgrade happening before the page is displayed (in which case it should go away after the upgrades have all completed) or a problem in resolving the IP address and proper routing. a trace-route (after flushing) will help diagnose this from the server side. if the slowness is observed from a remote pc then likewise a trace route should show where the slow down is, if it is in the resolution rather than execution.

If the slowness is due to the execution (i.e. server side) then start checking the load and the logs during requests to see whether there is anything amiss.


RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
well it seems WP is now totally corrupted.

I am having to restore the webserver to the point prior to the attempted upgrade. Even copying back the old WP files and the backup of MySQL didn't work!

After downgrading, the WP install still wanted to run a database upgrade even though I restored the DB prior to the upgrade?

I clicked the DB upgrade option which this time finished without error, however although the WP admin ran fine and the websites themselves worked, I couldn't access them via the admin system, the browser just hung!

machinegun Wordpress

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

may i suggest first removing the HOSTS entry. then flushing the cache, then resetarting the web server.

i don't think that you ought to have downgraded without checking the changes in the database structure. that sounds like a dangerous move. i would reupgrade.

make sure, of course, that you have _no_ plugins loaded whilst you do this and whilst you are verifying the upgrade after the event. it is worth taking a database backup too.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I'm not sure what's going on with WP, but the server support did a VM image restore of the entire webserver, back to the point where I had installed 3.6.1 but had the failed DB upgrade.

I logged back into WP only it doesn't state it wants the DB upgraded and it is now working, though painfully slow and this error keeps appearing in the PHP error logs.

Quote:

[19-Sep-2013 15:54:03 UTC] PHP Warning: stream_get_contents(): SSL: An existing connection was forcibly closed by the remote host.
in C:\inetpub\wwwroot\wp-includes\class-http.php on line 985

There are no other errors, but each click to navigate in the WP admin takes @ 3-5 minutes to respond and creates the above log file entry.

I can only assume something is broken in 3.6.1 with SSL, this error has never appeared in the logs before?

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

Nope. This is your wp installation trying to contact another over SSL and the other connection shutting the door in its face.

This is undoubtedly the cause of the delay.

What plugins do you have turned on and does the same behaviour manifest with _all_ the plugins turned off?

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
We don't use plugins per sae, I have the following plugins...

WordPress MU Domain Mapping - Used to map virtual host domain names to MU sites.
Site Replicator - Used to clone another MU site, which you helped fix for me (thanks again - appreciated).
WP SMTP Config - Used to set an external SMTP server (as we use a smarthost email provider)

After a painful 25 minutes to deactivate them, it has made no difference and the same error occurs in the PHP error log!

I checked out the Wordpress forums last night and there seems to be a lot of people all complaining that SSL isn't working, many in relation to the HTTPS SSL plugin

http://wordpress.org/support/topic/ssl-push-not-wo...

Seems a bit coincidental all the SSL issues I'm having as well as other including the SSL plugin users?

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

doesn't matter what the plugins are - it is never a good idea to upgrade or do anything without completely disabling all plugins and then re-enabling them later one by one. do not upgrade until all your plugins explicitly support the new version. if they are not supported then you will have to pick them to bits yourself and analyse for incompatibilities.

the issue you are having is difficult to pin down without a backtrace. but it seems that your wp installation is trying to contact a remote server over ssl and after some time is being rejected. this is not quite the same as forcing Admin SSL, however.

are you able to get a backtrace?

RE: WP Upgrade -> 3.6.1 (Network update fails)

if you are using the wordpress-ssl plugin this could be the cause of the issue, as the plugin does more than just force admin ssl. the plugin version notes state that it is compatible only up to wp 3.5.2 and has not been updated in more than 6 months.

so I think it is entirely reasonable to assume that this is the culprit and to test by disabling it.

As said, if you rely on a plugin it is not a good idea to upgrade wp until you are sure that the plugin is compatible. Downgrading after upgrading is a risky strategy and can cock things up even worse as there may have been database schema changes in moving up the version ladder.

if you would like I can take a look at the https plugin and see whether anything is immediately resolvable?

RE: WP Upgrade -> 3.6.1 (Network update fails)

and again ... this absolutely does not feel like a wordpress problem. it's a plugin issue (90% sure). And the original issue was not a wordpress issue (and potentially not a plugin issue) but a DNS issue. so don't lose faith in the wordpress community.

if you want the whole of the site to be behind ssl then you don't need this plugin. instead you can just change the url of the site.

RE: WP Upgrade -> 3.6.1 (Network update fails)

i have had a look at the wordpress-ssl plugin. unfortunately it is written in a highly structured way which will take me longer to pick apart than I have.

however I note that the plugin does have a logger mechanism built in. check in the relevant plugin folder for a file called debug.log.txt and let us know what is in it.

RE: WP Upgrade -> 3.6.1 (Network update fails)

well we want to know what is going on at the moment that the error is generated. ideally you'd insert your own error routine. but also the debug log from the ssl plugin would help.

here is an error logging script

CODE

<?php
function process_error_backtrace($errno, $errstr, $errfile, $errline, $errcontext) {
    if(!(error_reporting() & $errno))
        return;
    switch($errno) {
    case E_WARNING      :
    case E_USER_WARNING :
    case E_STRICT       :
    case E_NOTICE       :
    case E_USER_NOTICE  :
        $type = 'warning';
        $fatal = false;
        break;
    default             :
        $type = 'fatal error';
        $fatal = true;
        break;
    }
    $trace = array_reverse(debug_backtrace());
    array_pop($trace);
    if(php_sapi_name() == 'cli') {
        echo 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        foreach($trace as $item)
            echo '  ' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()' . "\n";
    } else {
        echo '<p class="error_backtrace">' . "\n";
        echo '  Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        echo '  <ol>' . "\n";
        foreach($trace as $item)
            echo '    <li>' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()</li>' . "\n";
        echo '  </ol>' . "\n";
        echo '</p>' . "\n";
    }
    if(ini_get('log_errors')) {
        $items = array();
        foreach($trace as $item)
            $items[] = (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()';
        $message = 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ': ' . join(' | ', $items);
        error_log($message);
    }
    if($fatal)
        exit(1);
}

set_error_handler('process_error_backtrace');
?> 

as a temporary kludge insert it after the definition line in wp_load.php (note that you should disable public access whilst you are doing this as everyone will get the error messages). If this is impossible I can probably rewrite this as a plugin linked to your user id only.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
If you could make it non-WP-wide that would be good, I already upset a whole host of staff and members yesterday with our website and theirs being down during the restore process!

Also, I'm not running the SSL plugin , so there is no debug log?

This is IIS7 with a valid go daddy SSL certificate installed on the server and 'require' applied to the wp-admin folder, I have even removed the FORCE_SSL_ADMIN from the wp-config file, to ensure this has nothing to do with WP's SSL functionality, and is simply not working over SSL applied externally outside of WP itself!

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

oh. i had understood you were running the plugin but I see I was just led astray by the link you provided. my fault.

if you disable the FORCE_SSL does this resolve the slowdown if you use non-SSL urls? I suspect not as the issue seems to be with your app trying to get remote information.

do you know what information your app is trying to retrieve?

i will repost the code written as a plugin (if I can remember how...)

RE: WP Upgrade -> 3.6.1 (Network update fails)

remember to add your user ID (the internal numeric representation of your id) at the bottom of the code. store the code in a file in plugins and then enable the plugin in your admin panel. NB i have not tested this so there may be syntax errors.

CODE

<?php
/**
 * Plugin Name: Force Debug Backtrace
 * Plugin URI:
 * Version: 0.1.0
 * License: GPL2
 */
if (!class_exists('jDebugBackTrace')):
class jDebugBackTrace {

	public function __construct( $userID ){
		$currentUser = wp_get_current_user();
		if($currentUser->ID == $userID):
			add_action('init', array($this, 'activate'));
			'process_error_backtrace'));
		endif;
	}

	public function activate(){
		set_error_handler(array($this, 'errorHandler'));
	}

	public function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) {

    	if(!(error_reporting() & $errno)) return;
	
	    switch($errno):
    		case E_WARNING      :
		    case E_USER_WARNING :
		    case E_STRICT       :
		    case E_NOTICE       :
		    case E_USER_NOTICE  :
        		$type = 'warning';
		        $fatal = false;
	        break;
    		default             :
		        $type = 'fatal error';
        		$fatal = true;
	        break;
    	endswitch;

	    $trace = array_reverse(debug_backtrace());
    	array_pop($trace);

	    if(php_sapi_name() == 'cli'):
    	    echo 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        	foreach($trace as $item):
	            echo '  ' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()' . "\n";
	        endforeach;
		else:
	        echo '<p class="error_backtrace">' . "\n";
    	    echo '  Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        	echo '  <ol>' . "\n";

	        foreach($trace as $item):
    	        echo '    <li>' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()</li>' . "\n";
	        endforeach;
    	    echo '  </ol>' . "\n";
        	echo '</p>' . "\n";
    	endif;

	    if(ini_get('log_errors')):
	        $items = array();
    	    foreach($trace as $item):
	            $items[] = (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()';
    		endforeach;
	        $message = 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ': ' . join(' | ', $items);
    	    error_log($message);
    	endif;
		
		if($fatal) exit(1);
	}
}
$jUserID = ; //enter your user ID here
new jDebugBackTrace( $jUserID );

?> 

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
OK, plugin installed but cannot activate.

Quote:

Plugin could not be activated because it triggered a fatal error.

Nothing in the PHP log file regarding the error, WP shows this under the error message...

Quote:

Parse error: syntax error, unexpected ')' in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 15

Which is this code (I have highlighted line 15)

CODE

public function __construct( $userID ){
		$currentUser = wp_get_current_user();
		if($currentUser->ID == $userID):
			add_action('init', array($this, 'activate'));
			'process_error_backtrace'));
		endif;
	} 

Quote:

if you disable the FORCE_SSL
No as mentioned, I have already removed the FORCE_ADMIN_SSL.

However, if I take SSL and windows authentication away from the system under IIS, it runs better.



"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

you had not said whether your were using and https protocol even with SSL turned off.

the fact that things work better when you turn off ssl and authentication suggests that the sites which wordpress is trying to access are locally hosted which in turn leeds me to be concernedabout DNS. have you deleted the hosts entries and flushed the cache yet?

as for the error the text you highlighted it should have been deleted. I renamed the method but did not clean up properly. my bad.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I am currently running non-SSL and no windows authentication, and when I say it runs better I'm still not impressed as it isn't that fast!

I removed the website output caching on the server, restarted the site, re-applied the output caching and restarted again.

I have also removed the entries in the HOSTS file.

The plugin still errors with...

Quote:

Parse error: syntax error, unexpected $end in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 76

Though a bit confused, line 76 is..

CODE

?> 

I've searched the code and there isn't a variable named $end?

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

stupid me. last line should be

CODE

endif; 

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
hmm, our entire wordpress system has now gone down, none of the sites work and the PHP error log says

Quote:

[20-Sep-2013 15:33:46 UTC] PHP Fatal error: Call to undefined function wp_get_current_user() in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 12

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

the plugin must be being called before init. i should have realised but i don't have a test rig here on which to debug this code.

this should work

CODE

<?php
/**
 * Plugin Name: Force Debug Backtrace
 * Plugin URI:
 * Version: 0.1.0
 * License: GPL2
 */
if (!class_exists('jDebugBackTrace')):
class jDebugBackTrace {

	public function __construct( $userID ){
		$this->userID = $userID;
		add_action('init', array($this, 'activate'));
		endif;
	}

	public function activate(){
	
		if(function_exists('wp_get_current_user')):
			$currentUser = wp_get_current_user();
			if($currentUser->ID == $userID):
				set_error_handler(array($this, 'errorHandler'));
			endif;
		endif;
	}

	public function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) {

    	if(!(error_reporting() & $errno)) return;
	
	    switch($errno):
    		case E_WARNING      :
		    case E_USER_WARNING :
		    case E_STRICT       :
		    case E_NOTICE       :
		    case E_USER_NOTICE  :
        		$type = 'warning';
		        $fatal = false;
	        break;
    		default             :
		        $type = 'fatal error';
        		$fatal = true;
	        break;
    	endswitch;

	    $trace = array_reverse(debug_backtrace());
    	array_pop($trace);

	    if(php_sapi_name() == 'cli'):
    	    echo 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        	foreach($trace as $item):
	            echo '  ' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()' . "\n";
	        endforeach;
		else:
	        echo '<p class="error_backtrace">' . "\n";
    	    echo '  Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        	echo '  <ol>' . "\n";

	        foreach($trace as $item):
    	        echo '    <li>' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()</li>' . "\n";
	        endforeach;
    	    echo '  </ol>' . "\n";
        	echo '</p>' . "\n";
    	endif;

	    if(ini_get('log_errors')):
	        $items = array();
    	    foreach($trace as $item):
	            $items[] = (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()';
    		endforeach;
	        $message = 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ': ' . join(' | ', $items);
    	    error_log($message);
    	endif;
		
		if($fatal) exit(1);
	}
}
$jUserID = ; //enter your user ID here
new jDebugBackTrace( $jUserID );
endif;
?> 

RE: WP Upgrade -> 3.6.1 (Network update fails)

you might also use wireshark or similar to monitor the connections that wp is setting up to see what is going on as an extra debugging step.

RE: WP Upgrade -> 3.6.1 (Network update fails)

then remove the plugin.

there are still errors in the code

CODE

if($currentUser->ID == $userID):
//should be
if($currentUser->ID == $this->userID): 

but there is nothing that I can see in the code that would halt output like you describe. Unfortunately it is extremely difficult to debug this kind of thing (and particularly wordpress) without access to the server.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
No problem Justin, it's home time and I have an appointment with a Hobgoblin!

Have a great weekend, I'll pick this up with you on Monday!

If you need access I'm happy to do a remote session with you if needs be.

Regards,

1DMF.

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

as it happens I am seeing ping timeouts to your site (are you blocking pings?) and quite circuitous routes to your servers on a traceroute (19+ hops). so there may also be some routing issues going on.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I believe 'respond to ping' is blocked on the firewall!

my trace route won't even resolve with hops 13-30 all 'request timed out'?

I've emailed the web hosting company regarding this.

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

try it over the weekend from clients that are outside your domain and godaddy. tat will rule out general routing issues and point the finger more at godaddy internal routing and DNS.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
Why would godaddy affect our DNS routing, the only thing we use godaddy for is a cheap authenticated wildcard SSL domain certificate, they are not our registrar nor our webhost, nor our they are DNS (name server host).

I know it's complicated!

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

wrong assumption. whoever is your DNS host might affect your routing. but I'm not a network expert.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
The WP install is just as unusable from home.

I made the change to the plugin, which now causes a 500 error

Quote:

[23-Sep-2013 08:15:41 UTC] PHP Parse error: syntax error, unexpected T_ENDIF in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 14

So I removed the endif but that stops our sites from loading.

When I view the source of our main website all it contains is

Quote:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8"></HEAD>
<BODY></BODY></HTML>

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)

I de-activated and re-activated the plugin and this message appeared in the admin.

Quote:

The plugin generated 1 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

here is a simplified version of the plugin. I believe the error was because the core reporting function (taken from php.net) was written before php 5 and does not include the recent extensions to the error constants. I should have tested this.

CODE

<?php
/**
 * Plugin Name: Force Debug Backtrace
 * Plugin URI:
 * Version: 0.1.0
 * License: GPL2
 */
if (!class_exists('jDebugBackTrace')):
class jDebugBackTrace {

	$this->logFile = ABS . 'jLog.txt';
	
	public function __construct( $userID ){
		$this->userID = $userID;
		add_action('init', array($this, 'activate'));
	}

	public function activate(){
		if(function_exists('wp_get_current_user')):
			$currentUser = wp_get_current_user();
			if($currentUser->ID == $this->userID):
				set_error_handler(array($this, 'errorHandler'));
				file_put_contents($this->logFile, "===============\n", FILE__APPEND);
			endif;
		endif;
	}

	public function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) {

		if(in_array($errno(array(E_CORE_ERROR, E_COMPILE_ERROR):
			$fatal = true;
			$type= "fatal error":
		else:
			$fata= false;
			$type= 'warning';
		endif;
		
		$trace = array_reverse(debug_backtrace());
    	array_pop($trace);

	    if(php_sapi_name() == 'cli'):
    	    echo 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        	foreach($trace as $item):
	            echo '  ' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()' . "\n";
	        endforeach;
		else:
	        echo '<p class="error_backtrace">' . "\n";
    	    echo '  Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ':' . "\n";
        	echo '  <ol>' . "\n";

	        foreach($trace as $item):
    	        echo '    <li>' . (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()</li>' . "\n";
	        endforeach;
    	    echo '  </ol>' . "\n";
        	echo '</p>' . "\n";
    	endif;

	        $items = array();
    	    foreach($trace as $item):
	            $items[] = (isset($item['file']) ? $item['file'] : '<unknown file>') . ' ' . (isset($item['line']) ? $item['line'] : '<unknown line>') . ' calling ' . $item['function'] . '()';
    		endforeach;
	        $message = 'Backtrace from ' . $type . ' \'' . $errstr . '\' at ' . $errfile . ' ' . $errline . ': ' . join(' | ', $items);
    	    file_put_contents($this->logFile, $message, FILE__APPEND);
    	endif;
		
		if($fatal) exit(1);
	}
	
}
endif;
$jUserID = ; //enter your user ID here
new jDebugBackTrace( $jUserID );

?> 

the plugin removes some of the conditionals and logs all error information to a file that you should find in the root of your webserver called jLog.txt.

this should help debug.

i am not seeing much slowness on the front end of the site. are you just getting slow downs on the admin panel? if so if you remove the feed from the dashboard, are things better?

RE: WP Upgrade -> 3.6.1 (Network update fails)

need to move editors - i'm not seeing the syntax errors !

CODE

if(in_array($errno, array(E_CORE_ERROR,	E_COMPILE_ERROR	))): 

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
this current version errors with

Quote:

[23-Sep-2013 10:32:05 UTC] PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 11

Yes the slow downs are just in the admin panel.

Though having removed the HOSTS file entries the SSL error in the PHP log has gone away!

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

replace it with this please

CODE

public $logFile = ABS . DIRECTORY_SEPARATOR . 'jLog.txt'; 

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)

Quote:

Plugin could not be activated because it triggered a fatal error.

Quote:

[23-Sep-2013 10:56:06 UTC] PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 11

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

if you've copied and pasted the above faithfully, I can see no reason for that error.

but feel free to replace the line with a reference to an absolute uri if easier. likewise all this plugin does is create a custom error handler that provides a backtrace. if you have a handler that you would rather use then of course substitute that. all we are trying to do is get a backtrace so that we can see whether the error is actually originating.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I changed it to

CODE

public $logFile = 'c:\\websites\\jLog.txt'; 

And now have this error

Quote:

Plugin could not be activated because it triggered a fatal error.

Parse error: syntax error, unexpected ':' in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 30

I think there are too many parentheses in this line?

CODE

if(in_array($errno(array(E_CORE_ERROR, E_COMPILE_ERROR): 

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

i posted a replacement for that line. i'm not on my normal machine where i have an editor that fixes this stuff for me as i type... (#lazycoderproblems)

CODE

if(in_array($errno, array(E_CORE_ERROR, E_COMPILE_ERROR))): 

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)

Quote:

Parse error: syntax error, unexpected ':' in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 32
changed : to ;

Quote:

Parse error: syntax error, unexpected T_ENDIF in C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php on line 64
deleted line as it looks like an endif with no opening if?

The plugin seems to have activated and now outputs this to the screen...

[quyote]Backtrace from warning 'Use of undefined constant FILE__APPEND - assumed 'FILE__APPEND'' at C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php 23:
C:\inetpub\wwwroot\index.php 17 calling require()
C:\inetpub\wwwroot\wp-blog-header.php 12 calling require_once()
C:\inetpub\wwwroot\wp-load.php 29 calling require_once()
C:\inetpub\wwwroot\wp-config.php 112 calling require_once()
C:\inetpub\wwwroot\wp-settings.php 308 calling do_action()
C:\inetpub\wwwroot\wp-includes\plugin.php 406 calling call_user_func_array()
calling activate()


Backtrace from warning 'file_put_contents() expects parameter 3 to be long, string given' at C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php 23:
C:\inetpub\wwwroot\index.php 17 calling require()
C:\inetpub\wwwroot\wp-blog-header.php 12 calling require_once()
C:\inetpub\wwwroot\wp-load.php 29 calling require_once()
C:\inetpub\wwwroot\wp-config.php 112 calling require_once()
C:\inetpub\wwwroot\wp-settings.php 308 calling do_action()
C:\inetpub\wwwroot\wp-includes\plugin.php 406 calling call_user_func_array()
calling activate()
C:\inetpub\wwwroot\wp-content\plugins\ForceDebugBacktrace.php 23 calling file_put_contents()
[/quote]

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
I removed the double underscore and now it is creating the log file.

Quote:


'fopen(https://www.mydomain.com/wp-admin/upgrade.php?step...): failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
' at C:\inetpub\wwwroot\wp-includes\class-http.php 953: C:\inetpub\wwwroot\wp-admin\network\index.php 11 calling require_once() | C:\inetpub\wwwroot\wp-admin\network\admin.php 13 calling require_once() | C:\inetpub\wwwroot\wp-admin\admin.php 59 calling wp_remote_get() | C:\inetpub\wwwroot\wp-includes\http.php 179 calling get() | C:\inetpub\wwwroot\wp-includes\class-http.php 304 calling request() | C:\inetpub\wwwroot\wp-includes\class-http.php 198 calling _dispatch_request() | C:\inetpub\wwwroot\wp-includes\class-http.php 261 calling request() | C:\inetpub\wwwroot\wp-includes\class-http.php 953 calling fopen()

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
well I manually pasted this into my browser...

CODE

https://www.mydomain.com/wp-admin/upgrade.php?step=1 

Which then resulted in a successful DB upgrade message.

The jLog.txt file contains nothing but equal signs and there is no output anymore in the admin system.

On top of this everything is now running lightening fast.

This is all very odd, and can only assume the host company has made a change which has resolved the fopen() error which as you suggested was probably a routing issue?

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

so that's a sign that there is still an internal routing problem within your network that either does not allow the routing of connections from your webserver back to the webserver or does not know how to do it or the ssl is not playing nicely between host and server (as the same entity). Either way, it is least likely to be wordpress and most likely to be your network or server that is misconfigured.

accessing from another browser solves the self-routing issues and the webserver plays nicely with the remote client and upgrades the database for you. now that the database is upgraded, the flag is changed in the upgrade routine and, on page load, wp is not longer continually trying to upgrade the db.

from miles away, it sounds like you should get someone in to check the network config of your webserver. But do note that the wp http class does have limitations on dealing with localhost urls. this has been a known limitation for a while. but that should not apply as the network install should be recognising this domain as local to itself. unless your WP network configuration is awry?

anyway, glad it is all working for the time being. as you spotted there is still a trailing endif after the file_put_contents() line. and FILE_APPEND has a double underscore from some stuttery typing.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
well perhaps not, because when I run the network upgrade I get the following error

Quote:


https://www.mydomain.com/my_WP_Site

Backtrace from warning 'fopen(https://www.mydomain.com/my_WP_Site/wp-admin/upgra...): failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ' at C:\inetpub\wwwroot\wp-includes\class-http.php 953:
1.C:\inetpub\wwwroot\wp-admin\network\upgrade.php 68 calling wp_remote_get()
2.C:\inetpub\wwwroot\wp-includes\http.php 179 calling get()
3.C:\inetpub\wwwroot\wp-includes\class-http.php 304 calling request()
4.C:\inetpub\wwwroot\wp-includes\class-http.php 198 calling _dispatch_request()
5.C:\inetpub\wwwroot\wp-includes\class-http.php 261 calling request()
6.C:\inetpub\wwwroot\wp-includes\class-http.php 953 calling fopen()


Warning! Problem updating https://www.mydomain.com/my_WP_Site. Your server may not be able to connect to sites running on it. Error message: Could not open handle for fopen() to https://www.mydomain.com/my_WP_Site/wp-admin/upgra...

So I removed SSL, added the HOSTS file entries again and ran the network upgrade from the server, but that hasn't worked and there are a load of errors in the PHP errors log

Quote:

[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_users' already exists for query CREATE TABLE wp_users (
ID bigint(20) unsigned NOT NULL auto_increment,
user_login varchar(60) NOT NULL default '',
user_pass varchar(64) NOT NULL default '',
user_nicename varchar(50) NOT NULL default '',
user_email varchar(100) NOT NULL default '',
user_url varchar(100) NOT NULL default '',
user_registered datetime NOT NULL default '0000-00-00 00:00:00',
user_activation_key varchar(60) NOT NULL default '',
user_status int(11) NOT NULL default '0',
display_name varchar(250) NOT NULL default '',
spam tinyint(2) NOT NULL default '0',
deleted tinyint(2) NOT NULL default '0',
PRIMARY KEY (ID),
KEY user_login_key (user_login),
KEY user_nicename (user_nicename)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_usermeta' already exists for query
CREATE TABLE wp_usermeta (
umeta_id bigint(20) unsigned NOT NULL auto_increment,
user_id bigint(20) unsigned NOT NULL default '0',
meta_key varchar(255) default NULL,
meta_value longtext,
PRIMARY KEY (umeta_id),
KEY user_id (user_id),
KEY meta_key (meta_key)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_blogs' already exists for query
CREATE TABLE wp_blogs (
blog_id bigint(20) NOT NULL auto_increment,
site_id bigint(20) NOT NULL default '0',
domain varchar(200) NOT NULL default '',
path varchar(100) NOT NULL default '',
registered datetime NOT NULL default '0000-00-00 00:00:00',
last_updated datetime NOT NULL default '0000-00-00 00:00:00',
public tinyint(2) NOT NULL default '1',
archived enum('0','1') NOT NULL default '0',
mature tinyint(2) NOT NULL default '0',
spam tinyint(2) NOT NULL default '0',
deleted tinyint(2) NOT NULL default '0',
lang_id int(11) NOT NULL default '0',
PRIMARY KEY (blog_id),
KEY domain (domain(50),path(5)),
KEY lang_id (lang_id)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_blog_versions' already exists for query
CREATE TABLE wp_blog_versions (
blog_id bigint(20) NOT NULL default '0',
db_version varchar(20) NOT NULL default '',
last_updated datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (blog_id),
KEY db_version (db_version)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_registration_log' already exists for query
CREATE TABLE wp_registration_log (
ID bigint(20) NOT NULL auto_increment,
email varchar(255) NOT NULL default '',
IP varchar(30) NOT NULL default '',
blog_id bigint(20) NOT NULL default '0',
date_registered datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (ID),
KEY IP (IP)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_site' already exists for query
CREATE TABLE wp_site (
id bigint(20) NOT NULL auto_increment,
domain varchar(200) NOT NULL default '',
path varchar(100) NOT NULL default '',
PRIMARY KEY (id),
KEY domain (domain,path)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_sitemeta' already exists for query
CREATE TABLE wp_sitemeta (
meta_id bigint(20) NOT NULL auto_increment,
site_id bigint(20) NOT NULL default '0',
meta_key varchar(255) default NULL,
meta_value longtext,
PRIMARY KEY (meta_id),
KEY meta_key (meta_key),
KEY site_id (site_id)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta
[23-Sep-2013 12:44:03 UTC] WordPress database error Table 'wp_signups' already exists for query
CREATE TABLE wp_signups (
domain varchar(200) NOT NULL default '',
path varchar(100) NOT NULL default '',
title longtext NOT NULL,
user_login varchar(60) NOT NULL default '',
user_email varchar(100) NOT NULL default '',
registered datetime NOT NULL default '0000-00-00 00:00:00',
activated datetime NOT NULL default '0000-00-00 00:00:00',
active tinyint(1) NOT NULL default '0',
activation_key varchar(50) NOT NULL default '',
meta longtext,
KEY activation_key (activation_key),
KEY domain (domain)
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

yes - the network upgrade will fail because the server is not correctly configured (or the network). the step1 of the upgrade happens from inside the webserver, which automatically calls each non-local site's upgrade.php?step=1 script. that is where this is failing. the webserver cannot get out to talk to itself because the loopback is not working.

i wonder whether it would work if you did not use ssl. (you can test this by logging into the webserver and opening a browser and pasting the non-https url in). it would also be useful to do a traceroute to a local domain from the webserver to see which hop is failing.

so to do the network upgrades you would have to start the process as normal and then remotely call the domain upgrade scripts as you are doing.

this is not (v unlikely) wp at fault. it's your network config or firewall or webserver ssl (unlikely) etc.

RE: WP Upgrade -> 3.6.1 (Network update fails)

(OP)
Well running it from the server over non-SSL doesn't work either?

I get this error in the logs

Quote:

[23-Sep-2013 13:07:10 UTC] PHP Fatal error: Maximum execution time of 300 seconds exceeded in C:\inetpub\wwwroot\wp-includes\class-http.php on line 985

I have a bunch of change requests and other tasks that need my attention, thanks for the help, but I cannot spend any more time on this, I don't think I'll upgrade WP again, it's too much hassle!

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: WP Upgrade -> 3.6.1 (Network update fails)

well that seals it as a network routing issue, not an ssl issue. so i'd recommend talking to your network admin to get that fixed.

but do also check your configuration for the local domains within wp.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close