• futureking

    (@futureking)


    Hi,
    I have just installed wordpress 3.0 Beta1 on my local server. I was configuring wordpress for multiple sites and I got this error after completing configuration on dashboard:

    Fatal error: Call to undefined function get_dirsize() in G:\websites\server4.localhost\wordpress3_beta1\wp-admin\includes\ms.php on line 458

    Screenshot:
    http://www.freeimagehosting.net/uploads/691d127318.png

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter futureking

    (@futureking)

    I also got this error

    Fatal error: Call to undefined function get_user_count() in G:\websites\server4.localhost\wordpress3_beta1\wp-admin\ms-admin.php on line 21

    on SuperAdmin > admin

    Almost every page of Superadmin area is showing some error.
    Fatal error: Call to undefined function is_subdomain_install() in G:\websites\server4.localhost\wordpress3_beta1\wp-admin\ms-sites.php on line 461

    Fatal error: Call to undefined function get_blogs_of_user() in G:\websites\server4.localhost\wordpress3_beta1\wp-admin\ms-users.php on line 261

    Fatal error: Call to undefined function is_subdomain_install() in G:\websites\server4.localhost\wordpress3_beta1\wp-admin\ms-options.php on line 107

    Fatal error: Call to undefined function get_blogs_of_user() in G:\websites\server4.localhost\wordpress3_beta1\wp-admin\my-sites.php on line 12

    Andre

    (@andrejcarter)

    I’m getting the same error using Dreamhost:

    Fatal error: Call to undefined function get_dirsize() in /demo.andrejcarter.com/wp-admin/includes/ms.php on line 458

    megalomac

    (@megalomac)

    Same error on the same line for me. Followed the multi-sites instructions to a “t”. Fatal error: Call to undefined function get_dirsize() in /home/public_html/wordpress/wp-admin/includes/ms.php on line 458

    reddshack

    (@reddshack)

    Despite the fact the install says you can put the additional wp-config.php code anywhere in the file, you have to actually put it anywhere before the last two lines of code. Put your custom wp-config.php code before this:

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    I chose to put my code here at the bottom of my wp-config.php:

    /** Enable Multisite features. */
    define ('WP_ALLOW_MULTISITE', true  ) ;
    define( 'MULTISITE', true );
    define( 'VHOST', 'no' );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mysite.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Took me a few tries to figure this out.

    Andre

    (@andrejcarter)

    Thank you reddshack!!!

    megalomac

    (@megalomac)

    Awesome – thanks! Those pesky errors are gone.

    brian-hatano

    (@brian-hatano)

    Great!

    tjmapes

    (@tjmapes)

    THANK YOU!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Call to undefined function get_dirsize() in …’ is closed to new replies.