Hi, i am not sure if this is the right place to ask this, but i am giving it a try.
I am currently using flarum and wanted to import the posts/comments from another forum into flarum.
I wrote a little script to give out curresponding sql querys to insert the old data into the flarum forum. the posts and comments where all created, but for some reason the contentHtml ommits the first char of the content that is inside the database.
Example Entry:
| 33564 | 12 | NULL | 2018-10-03 20:24:32 | 7 | comment | super nice das video. | NULL | NULL | NULL | NULL | 127.0.0.1 | 0 | 1 |
the contentHtml (so the rendered html) weirdly is
<div class="Post-body">uper nice das vi</div>
is there something i am missing ? or is there something else needed for the forum to format the string right ?.
currently i only inserted discussions and posts with minimal information as given below
For posts:
INSERT INTO (discussion_id
, time
, user_id
, content
, type
) VALUES
for discussions:
INSERT INTO discussions
(title
, slug
, comments_count
, start_time
, start_user_id
) VALUES