Announcement

Collapse
No announcement yet.

Impex and wordpress 3.2.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Impex and wordpress 3.2.1

    Hi.
    I was trying to import articles by Wordpress 3.2.1
    Select System :: Wordpress CMS (2.9.1)
    Select product and version to export to :: vBulletin CMS (4.0. * - 4.1. *)

    Code:
    cms_article - importcontentid Completed
    user - importuserid Completed
    usernote - importusernoteid Completed
    usergroup - importusergroupid CompletedTesting source against : wordpress_cms ::2.9.1
    
    
    Valid found tables :
          
    wpmagazine_comments found.     
    wpmagazine_links found.     
    wpmagazine_options found.     
    wpmagazine_postmeta found.     
    wpmagazine_posts found.     
    wpmagazine_term_relationships found.     
    wpmagazine_term_taxonomy found.     
    wpmagazine_terms found.     
    wpmagazine_usermeta found.     
    wpmagazine_users found.     
    
    Possibly custom tables or incorrect prefix :
          
    wpmagazine_redirection_groups NOT found.     
    wpmagazine_redirection_items NOT found.     
    wpmagazine_redirection_logs NOT found.     
    wpmagazine_redirection_modules NOT found.     
    wpmagazine_yarpp_keyword_cache NOT found.     
    wpmagazine_yarpp_related_cache NOT found.
    connects to the db correctly imports the users, but when the amount of articles tells me

    Importing 0 nodes
    From 0 to:

    what i have to do??

  • #2
    nothint??

    Comment


    • #3
      Originally posted by adabros View Post
      Hi.
      I was trying to import articles by Wordpress 3.2.1
      Select System :: Wordpress CMS (2.9.1)
      Select product and version to export to :: vBulletin CMS (4.0. * - 4.1. *)

      connects to the db correctly imports the users, but when the amount of articles tells me

      Importing 0 nodes
      From 0 to:

      what i have to do??
      I'm having the same problem trying to import from WordPress 3.1 to CMS 4.2. And folks trying to import from Drupal to CMS are having the same problem (see this bug report).

      - - - Updated - - -

      I found the bug. There is a call to the session variable 'perpage' in impex/systems/wordpress_cms/004.php -

      $article_per_page = $sessionobject->get_session_var('perpage');

      The problem is that session variable does not exist. The name is supposed to be 'userperpage' which is set in impex/systems/wordpress_cms/003.php. So all you need to do is change its name:

      $article_per_page = $sessionobject->get_session_var('userperpage');

      After changing this I was able to import the WP articles, but then I discovered there is no module to import the comments! It's entirely missing. Grrrrr .... I guess I'll have to write that module myself. And there were a lot of values left empty in the vb db which I had to set them manually, so the software for importing Wordpress to CMS is currently useless.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X