• I receive the following error after following the XAMPP instructions for local installation:

    “Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampplite\htdocs\wordpress\wp-includes\update.php on line 36”

    It displays when I go to “https://10.77.41.32/wordpress/wp-login.php”. I was able to access “https://10.77.41.32/wordpress/wp-admin/install.php” without an issue for the install, and also get to the XAMPP and phpMyAdmin pages through this IP as well.

    This is a blog I plan on using locally for my coworkers and I to pass critical update information and changes between each other without clogging up our mail server with multiple copies of the same emails and attatchments.

    Can somewhere tell me where I have failed during setup?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter fujii13

    (@fujii13)

    I deleted the XMAPP directory and started from scratch, using “https://localhost/” like in the walkthrough. I am still having this issue.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The update.php file is trying to contact the WordPress.com servers to look for updates. It’s unable to make that connection, possibly because you’re behind a firewall or something.

    Remove the line:
    add_action( 'init', 'wp_version_check' );
    from the update.php file.

    You may also want to remove:
    add_action( 'load-plugins.php', 'wp_update_plugins' );
    from the wp-admin/includes/update.php file.

    Thread Starter fujii13

    (@fujii13)

    I’m behind a proxy. Could this be the cause?

    I find when I unplug my LAN cable, then plug it back in, all is right with the world. Is that normal?? This same problem occured this morning when I came in. Unplugging fixed the issue.

    I’ll make those adjustments and see if the problem is resolved. Hopefully it will be.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I’m behind a proxy. Could this be the cause?

    Yes. Edit the files like I described, problem will go away.

    The problem ceases instantly when you disconnect from the LAN because then the socket connections get an instant rejection instead of waiting for an answer that will never come.

    Otto42,

    Thanks for responding to this issue. Our WP-hosting server is behind a proxy, but we WANT to be able to see which plugins are in need of updating. Instead of editing out the portions of the code described, where can we “insert” the IP and Proxy Port?

    We already included both in snoopy.php…

    Danke.

    We are having the same issue.

    After some extensive searching, it appears there is no solution for the current version of WordPress. Version 2.6.2 is what we have installed. It appears that WordPress’s implementation of fsockopen() needs to be altered to account for a proxy server allowing WordPress to access the internet from behind a firewall.

    Is it possible to write a plugin that adds this functionality to WordPress? If so, I would appreciate someone pointing us to documentation on how to write such a plugin.

    cbinbir

    (@cbinbir)

    I recently installed version 2.6.3 and because of proxy server page loads in 20 seconds.

    Then modified the code in update.php to use proxy server as:

    Original Code: (update.php / line 49)
    if ( false !== ( $fs = @fsockopen( 'api.www.ads-software.com', 80, $errno, $errstr, 3 ) ) && is_resource($fs) ) {

    Changed Code:
    if ( false !== ( $fs = @fsockopen( '[proxy server name or IP]', [proxy server port], $errno, $errstr, 3 ) ) && is_resource($fs) ) {

    My proxy server don’t need authentication. If you need proxy server authentication, change your code as seen in this link.

    You can write a plugin but I didn’t do it before and I want to give a quick answer.

    If you want to write a plugin you must remove action “wp_version_check” from “init” and then write modified “wp_version_check” code in your plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error: Time exceeded update.php after local XAMPP install.’ is closed to new replies.