Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • it seems the first errors occur when the script has problems with tags of posts…

    still not solved too well… there is too much handwork left. almost every posting has to be edited. this is too much for 300+ posts.

    SOLVED!
    *fuuuuh* the script does not tolerate entries that start with an empty line!
    plus i had to run it over and over again to get all the posts imported.

    thx for the script. still helped a lot!

    hello!
    thanks for this featurerich script.

    i’m not that perl savvy so i post here for help:

    i run into this problem:

    ...
    Added post 'some super title' with 0 comments
    DBD::mysql::st execute failed: Duplicate entry '6-1' for key 1 at ./WordPressImport.pl line 497.
    DBD::mysql::st execute failed: Duplicate entry '6-1' for key 1 at ./WordPressImport.pl line 497.

    then i reexecute the script and it seems to work for some posts.
    it keeps telling me that the post i already imported are already there…
    every 2nd or third post sometimes less i get this

    ...
    Added post 'some title' with 0 comments
    DBD::mysql::st execute failed: Duplicate entry '15-1' for key 1 at ./WordPressImport.pl line 497.
    DBD::mysql::st execute failed: Duplicate entry '15-1' for key 1 at ./WordPressImport.pl line 497.

    after

    for ((i=0;i<100;i++)); do ./WordPressImport.pl [...allthe flags...]; done

    it gets stuck here:

    Post exists: 'my super title...'
    Use of uninitialized value in join or string at ./WordPressImport.pl line 484.
    Use of uninitialized value in substitution (s///) at ./WordPressImport.pl line 272.
    Use of uninitialized value in join or string at ./WordPressImport.pl line 495.
    Use of uninitialized value in join or string at ./WordPressImport.pl line 495.
    DBD::mysql::st execute failed: Column 'post_content' cannot be null at ./WordPressImport.pl line 497.
    DBD::mysql::st execute failed: Column 'post_content' cannot be null at ./WordPressImport.pl line 497.

    i have no idea where to look for the failure.

    maybe it is the use of the

    [html] [/html]

    tags or other…
    please
    any help is apreciated
    thx
    flowolf

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