New Landing How can we help? Themeforest Theme Support Dante Unable to load demo content with proper php.ini settings and one-item XML

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #243643
    brianfogel
    Member
    Post count: 22

    I’ve read a number of posts here about how to import demo content. I assigned the maximum suggested values to the php memory and time and file directives and verified they are being used by looking at output from phpinfo(). I ran the import of the dante_demo-content-alt.xml content. A number of items failed to import. So, to make things as basic as possible, I created a single-item XML file. I tried to import only that. WordPress still says it fails to import that single item. I have verified the XML is valid. It doesn’t seem likely that one item would break the process by overloading the server. What else can I do to make this work?

    Here is the XML:

    <!-- 3. Install the "WordPress" importer from the list. -->
    <!-- 4. Activate & Run Importer. -->
    <!-- 5. Upload this file using the form provided on that page. -->
    <!-- 6. You will first be asked to map the authors in this export file to users -->
    <!--    on the site. For each author, you may choose to map to an -->
    <!--    existing user on the site or to create a new user. -->
    <!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
    <!--    contained in this file into your site. -->
    
    <!-- generator="WordPress/3.7.1" created="2013-11-17 21:12" -->
    <rss version="2.0"
    	xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
    	xmlns:content="http://purl.org/rss/1.0/modules/content/"
    	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    	xmlns:dc="http://purl.org/dc/elements/1.1/"
    	xmlns:wp="http://wordpress.org/export/1.2/"
    >
    
    <channel>
    	<title>Dante</title>
    	<link>http://dante.swiftideas.net</link>
    	<description></description>
    	<pubDate>Sun, 17 Nov 2013 21:12:21 +0000</pubDate>
    	<language>en-US</language>
    	<wp:wxr_version>1.2</wp:wxr_version>
    	<wp:base_site_url>http://dante.swiftideas.net</wp:base_site_url>
    	<wp:base_blog_url>http://dante.swiftideas.net</wp:base_blog_url>
    
    	<wp:author><wp:author_id>2</wp:author_id><wp:author_login>dante</wp:author_login><wp:author_email>[email protected]</wp:author_email><wp:author_display_name><![CDATA[Swift Ideas]]></wp:author_display_name><wp:author_first_name><![CDATA[]]></wp:author_first_name><wp:author_last_name><![CDATA[]]></wp:author_last_name></wp:author>
    
    	<generator>http://wordpress.org/?v=3.7.1</generator>
    
    	<item>
    		<title>dante_team_1</title>
    		<link>http://dante.swiftideas.net/?attachment_id=11043</link>
    		<pubDate>Wed, 16 Oct 2013 14:47:48 +0000</pubDate>
    		<dc:creator><![CDATA[dante]]></dc:creator>
    		<guid isPermaLink="false">http://dante.swiftideas.net/wp-content/uploads/2013/10/dante_team_1.jpg</guid>
    		<description></description>
    		<content:encoded><![CDATA[]]></content:encoded>
    		<excerpt:encoded><![CDATA[]]></excerpt:encoded>
    		<wp:post_id>11043</wp:post_id>
    		<wp:post_date>2013-10-16 14:47:48</wp:post_date>
    		<wp:post_date_gmt>2013-10-16 14:47:48</wp:post_date_gmt>
    		<wp:comment_status>open</wp:comment_status>
    		<wp:ping_status>open</wp:ping_status>
    		<wp:post_name>dante_team_1-2</wp:post_name>
    		<wp:status>inherit</wp:status>
    		<wp:post_parent>11038</wp:post_parent>
    		<wp:menu_order>0</wp:menu_order>
    		<wp:post_type>attachment</wp:post_type>
    		<wp:post_password></wp:post_password>
    		<wp:is_sticky>0</wp:is_sticky>
    		<wp:attachment_url>http://dante.swiftideas.net/wp-content/uploads/2013/10/dante_team_1.jpg</wp:attachment_url>
    		<wp:postmeta>
    			<wp:meta_key>_wp_attached_file</wp:meta_key>
    			<wp:meta_value><![CDATA[2013/10/dante_team_1.jpg]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key>_wp_attachment_metadata</wp:meta_key>
    			<wp:meta_value><![CDATA[a:6:{s:5:"width";i:740;s:6:"height";i:740;s:4:"file";s:24:"2013/10/dante_team_1.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:5:{s:4:"file";s:24:"dante_team_1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:10:"No savings";}s:6:"medium";a:5:{s:4:"file";s:24:"dante_team_1-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:28:"Reduced by 3.5% (632&nbsp;B)";}s:14:"post-thumbnail";a:5:{s:4:"file";s:24:"dante_team_1-220x150.jpg";s:5:"width";i:220;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:28:"Reduced by 1.2% (101&nbsp;B)";}s:12:"widget-image";a:5:{s:4:"file";s:22:"dante_team_1-94x70.jpg";s:5:"width";i:94;s:6:"height";i:70;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:10:"No savings";}s:12:"thumb-square";a:5:{s:4:"file";s:24:"dante_team_1-250x250.jpg";s:5:"width";i:250;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:28:"Reduced by 3.0% (412&nbsp;B)";}s:11:"thumb-image";a:5:{s:4:"file";s:24:"dante_team_1-600x450.jpg";s:5:"width";i:600;s:6:"height";i:450;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 4.3% (1.8&nbsp;KB)";}s:18:"thumb-image-twocol";a:5:{s:4:"file";s:24:"dante_team_1-740x675.jpg";s:5:"width";i:740;s:6:"height";i:675;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 5.4% (4.1&nbsp;KB)";}s:16:"full-width-image";a:5:{s:4:"file";s:24:"dante_team_1-740x720.jpg";s:5:"width";i:740;s:6:"height";i:720;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 4.9% (3.8&nbsp;KB)";}s:24:"full-width-image-gallery";a:5:{s:4:"file";s:24:"dante_team_1-740x720.jpg";s:5:"width";i:740;s:6:"height";i:720;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:10:"No savings";}s:14:"shop_thumbnail";a:5:{s:4:"file";s:24:"dante_team_1-120x178.jpg";s:5:"width";i:120;s:6:"height";i:178;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:26:"Reduced by 0.1% (7&nbsp;B)";}s:12:"shop_catalog";a:5:{s:4:"file";s:24:"dante_team_1-540x720.jpg";s:5:"width";i:540;s:6:"height";i:720;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 3.8% (2.5&nbsp;KB)";}s:11:"shop_single";a:5:{s:4:"file";s:24:"dante_team_1-540x720.jpg";s:5:"width";i:540;s:6:"height";i:720;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:10:"No savings";}s:15:"ngfb-open-graph";a:5:{s:4:"file";s:24:"dante_team_1-600x600.jpg";s:5:"width";i:600;s:6:"height";i:600;s:9:"mime-type";s:10:"image/jpeg";s:10:"wp_smushit";s:29:"Reduced by 4.4% (2.2&nbsp;KB)";}}s:10:"image_meta";a:10:{s:8:"aperture";i:0;s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";i:0;s:9:"copyright";s:0:"";s:12:"focal_length";i:0;s:3:"iso";i:0;s:13:"shutter_speed";i:0;s:5:"title";s:0:"";}s:10:"wp_smushit";s:29:"Reduced by 5.3% (4.9&nbsp;KB)";}]]></wp:meta_value>
    		</wp:postmeta>
    	</item>
    
    </channel>
    </rss>
    
    #244128
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Do you get any error messages of any sort?

    Please open your wp-config.php file and add this: define('WP_MEMORY_LIMIT', '256M');

    Thanks,
    David

    #245070
    brianfogel
    Member
    Post count: 22

    David, I was attempting to do this on a shared host and no matter what PHP directives I used it didn’t work. I had read here, there and everywhere that the WordPress importer plugin is problematic and even more so on shared hosts, so I switched gears and did everything from scratch on my own workstation, giving it the recommended higher timeout and memory limits. Here I have full control and plenty of resources to spare. I imported the full demo content and only a few items failed:

    Failed to import shop_order_status cancelled
    Failed to import shop_order_status completed
    Failed to import shop_order_status failed
    Failed to import shop_order_status on-hold
    Failed to import shop_order_status pending
    Failed to import shop_order_status processing
    Failed to import shop_order_status refunded

    What do you think caused these items to fail?

    But overall this was a way better result. It shows that having sufficient privileges and resources under your control is a must for the import process to go smoothly. I plan to develop my site on localhost and later move it wholesale to my host.

    #245650
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Do you have WooCommerce active and installed?

    Thanks.

    #245797
    brianfogel
    Member
    Post count: 22

    WooCommerce and YITH WooCommerce Wishlist were installed and activated when I imported the demo content.

    #246406
    David Martin – Support
    Moderator
    Post count: 20834

    Please ask your hosting provider to supply you with the error logs regarding this.

    – Please also test with Twenty15 active.

    Thanks.

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

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

License required for the following item
Login and Registration Log in · Register