By Giulio Curà on Wednesday, 05 March 2014
Posted in Technical Issues
Replies 10
Likes 0
Views 817
Votes 0
Hello I've just migrated form KUNENA how can I do to set al messages as READ and REPLIED ( or SOLVED )

Actually all the topics imported are flagged as UNREAD and UNREPLIED ( or UNSOLVED )

How can I do ??

Regards

giulio
Hi Giulio,

You can try to execute below sql statement from your phpmyadmin.


update jos_discuss_posts as a
inner join jos_discuss_migrators as b on a.`id` = b.`internal_id` and b.`component` = 'com_kunena' and b.`type` = 'post'
set a.isresolve = 1,
a.answered = 1
where a.parent_id = 0;


The above sql will update all the migrated parent posts from kunena to 'resolved' and 'answered'.
Please backup your database first before you run the above sql update statement. Also, you might need to replace the jos_ to your own Joomla table prefix.

Hope this help and have a nice day
Sam
·
Wednesday, 05 March 2014 11:05
·
0 Likes
·
0 Votes
·
0 Comments
·
You guys ROCK !!!!!


Thank you !!!
·
Wednesday, 05 March 2014 16:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, I had a slight problem… after I executed this command all of the post disappeared from the front view (they're not being cancelled… but disappeared from the front page view ! )

Now I restored the backupped version of the database ! Can you give me a fix ??
·
Wednesday, 05 March 2014 17:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Giulio Curà,

Sorry for late reply to this,
Is it possible provide us with your phpmyadmin access so we can investigate on your issues? Please advise.
*Notice : Remember backup all your data and file.
·
Thursday, 06 March 2014 01:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Ciao Arlex, I solved this problem manually and with some database operations !!

Anyway you should debug the import from kunena since i found thaw many forum answers were translated as new forum posts , I had to reconstruct manually on the DB the hierarchy

anyway thanx !!!

Great support !!!!
·
Thursday, 06 March 2014 01:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Giulio Curà,

You're welcome, glad to heard your issues resolved.
Great, thanks for suggestion.
·
Thursday, 06 March 2014 01:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Sam wrote:

You can try to execute below sql statement from your phpmyadmin.


update jos_discuss_posts as a
inner join jos_discuss_migrators as b on a.`id` = b.`internal_id` and b.`component` = 'com_kunena' and b.`type` = 'post'
set a.isresolve = 1,
a.answered = 1
where a.parent_id = 0;


The above sql will update all the migrated parent posts from kunena to 'resolved' and 'answered'.
Please backup your database first before you run the above sql update statement. Also, you might need to replace the jos_ to your own Joomla table prefix.

Hope this help and have a nice day


Hi, this also resulted in all posts disappearing for me. Do you have a solution, as there seems to be something wrong with this SQL?
·
Monday, 09 June 2014 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

I am really sorry for the delay of this reply, our staff should have responded to this sooner but they probably missed this thread. Can I know if you are still having issues with this?
·
Saturday, 21 June 2014 14:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, Yes.

If you run the above SQL command that Sam wrote all messages are deleted!

Do you know what i sarong with the syntax?
·
Thursday, 26 June 2014 04:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I am sorry for the delay of this reply.

The sql i provided is to reset the question's state to 'resolved' and 'answered' and no items will be deleted from the database.

Can you pass me your Joomla backend admin access and your ftp account so that I can further investigate this issue?
Please advise.
Sam
·
Thursday, 26 June 2014 13:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post