Demo content still not downloading

Demo content is not downloading it will literally stop and continue to say working. This only occurs on the premade demos such as restaurant, auto, spa etc. I am posting information to see if my server configurations are correct so I can find a remedy for this ASAP.

http://pitbullapparel.co/info.php

Thanks
James

Hello James,

Thanks for writing in!

Please make sure that you have comply the minimum requirements to run WordPress. Please check this out:

You may have suffered PHP memory limit exhaustion during the import process. ​We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

If still not working, there might be a CURL timed out during the import process. To resolve this, insert the following code in your theme’s functions.php file. If file editing is allowed, you can simply go to Appearance > Editor and select “functions.php” file.

// Copied from http://fatlabmusic.com/blog/2009/08/12/how-to-fix-wp-http-error-name-lookup-timed-out/
//adjustments to wp-includes/http.php timeout values to workaround slow server responses
add_filter('http_request_args', 'bal_http_request_args', 100, 1);
function bal_http_request_args($r) //called on line 237
{
	$r['timeout'] = 15;
	return $r;
}
 
add_action('http_api_curl', 'bal_http_api_curl', 100, 1);
function bal_http_api_curl($handle) //called on line 1315
{
	curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 15 );
	curl_setopt( $handle, CURLOPT_TIMEOUT, 15 );
}

We would loved to know if this has work for you. Thank you.

Where exactly do I paste the curl within the function.php?

Hello There,

You can simply add the code at the very bottom of the functions.php file.

Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.