New Landing How can we help? Cardinal How long should it take for demo content to import?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Cardinal
  • #129561
    tbolton
    Member
    Post count: 5

    I have successfully installed the Cardinal child theme and am now trying to import demo content for BuddyPress. It has been several hours and it still says: “The demo content is importing, please wait. Note: the page may refresh at intervals, this is normal..”

    Is this timeframe normal? How long should it take?

    #129566
    tbolton
    Member
    Post count: 5

    Update: After 8 hours of importing I get the following error message:
    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /home/explorew/public_html/wp-includes/wp-db.php on line 1977

    Here’s the link to the site I am trying to work with:
    http://www.explorewildly.com (you can see the error message here)

    #129567
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You need to increase memory. Methods for increasing the amount of memory a PHP script may consume:-

    1. If you have access to your install and are running a version of WordPress earlier than 3.0, try the plugin
    http://wordpress.org/extend/plugins/memory-bump/ as this is the easiest way to increase your RAM for WordPress. [Mod note – Link Added 2010-06-21]

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M. If your line shows 64M try 128M
    memory_limit = 64M ;
    3. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    4. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    5. Talk to your host.

    #129571
    tbolton
    Member
    Post count: 5

    I am running WP 4.0. Where would I find the php.ini file?

    I have found memory limits When I look in default-constants.php file. It says the following:

    // set memory limits
    if ( !defined(‘WP_MEMORY_LIMIT’) ) {
    if( is_multisite() ) {
    define(‘WP_MEMORY_LIMIT’, ’64M’);
    } else {
    define(‘WP_MEMORY_LIMIT’, ’40M’);
    }
    }

    if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
    }

    /**
    * The $blog_id global, which you can change in the config allows you to create a simple
    * multiple blog installation using just one WordPress and changing $blog_id around.
    *
    * @global int $blog_id
    * @since 2.0.0
    */
    if ( ! isset($blog_id) )
    $blog_id = 1;

    // set memory limits.
    if ( function_exists( ‘memory_get_usage’ ) ) {
    $current_limit = @ini_get( ‘memory_limit’ );
    $current_limit_int = intval( $current_limit );
    if ( false !== strpos( $current_limit, ‘G’ ) )
    $current_limit_int *= 1024;
    $wp_limit_int = intval( WP_MEMORY_LIMIT );
    if ( false !== strpos( WP_MEMORY_LIMIT, ‘G’ ) )
    $wp_limit_int *= 1024;

    if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || $current_limit_int < $wp_limit_int ) )
    @ini_set( ‘memory_limit’, WP_MEMORY_LIMIT );
    }

    #129573
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please ask at your Hosting provider about memory issue. They will provide right exact solution.

    Thanks
    Mohammad

    #129575
    tbolton
    Member
    Post count: 5

    Will do and will post back in case it may help someone else!

    #129577
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Yes ofcourse, we are always ready to provide your help and support.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register