• darrellmiller

    (@darrellmiller)


    If you are like me and experiencing a problem with wordpress administrator. the dashboard and all other pages wont load. you can try and editing the load-scripts.php and load-styles.php at the bottom of each is a header cache and gzip stuff. remove it all

    header('Expires: ' . gmdate( "D, d M Y H:i:s", time() + $expires_offset ) . ' GMT');
    header("Cache-Control: public, max-age=$expires_offset");
    
    if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) {
    	header('Vary: Accept-Encoding'); // Handle proxies
    	if ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) {
    		header('Content-Encoding: deflate');
    		$out = gzdeflate( $out, 3 );
    	} elseif ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && function_exists('gzencode') ) {
    		header('Content-Encoding: gzip');
    		$out = gzencode( $out, 3 );
    	}
    }

    by removing this, i solved my administrator dashboard load problems. hope it helps others out.

    🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to fix wordpress admin dashboard and all adminpage load problem’ is closed to new replies.