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