test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Luna Garden Moderator
    #1057907

    Hi,

    Update the info of your site: URL, admin account, FTP account on first post, our developer will check this problem for you.
    We might download your site by Akeeba Backup if you don’t mind, cause with this problem we need to do this to figure it out.

    rcnkingreece Friend
    #1057925
    This reply has been marked as private.
    Luna Garden Moderator
    #1058090

    OK. I have passed your issue to the developer, he’ll check on it and reply you soon.

    Mo0nlight Moderator
    #1058328

    Hi.

    I fixed the problem.
    Edit the file:
    plugins/system/jak2tocomcontentmigration/helpers/migrator.php
    Add the code.

    $query->select('id')->from($this->db->quoteName('#__categories'))->where('id=1 AND extension="system" AND alias="root"');
            $db->setQuery($query);
            $ic = $db->loadResult();
            if (empty($ic)) {
                // in case do not have root category.
                $rootcat = $this->db->getQuery(true);
                $rootcat->insert('#__categories');
                $rootcat->columns(array(
                    $this->db->quoteName('id'),
                    $this->db->quoteName('extension'),
                    $this->db->quoteName('title'),
                    $this->db->quoteName('alias'),
                    $this->db->quoteName('published'),
                    $this->db->quoteName('access'),
                    $this->db->quoteName('created_user_id'),
                    $this->db->quoteName('language'),
                ));
                $rootcat->values(
                    '1,'.
                    '"system",'.
                    '"ROOT",'.
                    '"root",'.
                    '1,'.
                    '1,'.
                    $user->id.','.
                    '"*"'
                );
    
                $this->db->setQuery($rootcat);
                $this->db->execute();
            }
    rcnkingreece Friend
    #1058436

    Thank you very much. Good support

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  rcnkingreece 7 years, 4 months ago.

The topic ‘JA K2 Data Migration plugin not working’ is closed to new replies.