Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi all

    I have 1 wordpress installaion with many blogs. I just added some new blogs, but the worpdress popluars posts doesnt work on th enew blogs.. It still works on the old ones.

    I also get e ‘Sorry, no data so far’ message.

    Thread Starter looklab

    (@looklab)

    Solved:

    define( 'DOMAIN_CURRENT_SITE', 'DOMAIN.dk' );

    changed to

    define( 'DOMAIN_CURRENT_SITE', 'www.DOMAIN.dk' );

    and then it all worked again

    Thread Starter looklab

    (@looklab)

    I have tracked it down and it is the function

    check_admin_referer( 'add-blog', '_wpnonce_add-blog' );

    function check_admin_referer($action = -1, $query_arg = '_wpnonce') {
    	$adminurl = strtolower(admin_url());
    	$referer = strtolower(wp_get_referer());
    	$result = isset($_REQUEST[$query_arg]) ? wp_verify_nonce($_REQUEST[$query_arg], $action) : false;
    	if ( !$result && !(-1 == $action && strpos($referer, $adminurl) === 0) ) {
    		wp_nonce_ays($action);
    		die();
    	}
    	do_action('check_admin_referer', $action, $result);
    	return $result;
    }

    that makes the error.

    If i do not call this function I get the error:

    Can’t create an empty site.

    Thread Starter looklab

    (@looklab)

    I have noticed there is no validation at all – it says the same error everytime even if i doesnt enter anything:

    Are you sure you want to do this? Please try again

    Thread Starter looklab

    (@looklab)

    I have now tried to upgrade to wordpress 3.1.1-da_DK and then I couldnt access the admin/network.

    I changed the code

    if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {

    to

    if ( ( ! is_main_site() ) ) {

    in wp-admin/netowrk/admin.php

    and I can now access the netword admin pages, but I can still not create a new blog..

    No errors in the logs. 🙁

    Thread Starter looklab

    (@looklab)

    I have upgraded from version 3.0 -> 3.1 since I added the latest blog.
    I have moved to a faster server
    My plugins are the same as last time, when it worked.
    I have tried Debug, true but it doesnt give me an error.

    I am having the exact same problem – please help

Viewing 7 replies - 1 through 7 (of 7 total)