Category Parent Error! HELP!

Discussion in 'Real Estate Classifieds Script' started by ilan1990, Nov 23, 2012.

  1. ilan1990

    ilan1990 New Member

    I just installed the cms and I am trying to add a new location.
    but when I try after I am done the cms popup this message:

    "Specified parent category is invalid"

    how i am suppose to choose something that not exists??!

    Best Regards,
  2. ilan1990

    ilan1990 New Member

    someone?? hello!!
  3. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hello ilan1990,

    Sorry for this inconvenience.
    You should import some of suggested locations in Admin Panel → Manage Database → Import. Choose Australian, USA or Canadian locations.

    If you do not need any of these locations please got to Admin Panel → Manage Database and run these queries one by one:

    Code (Text):

    INSERT INTO `{prefix}locations` (`id`, `title`, `code`, `alias`, `url`) VALUES
    (1, 'ROOT', '', '', '');
    Code (Text):

    INSERT INTO `{prefix}locations_tree` VALUES
    (1, 0, 1, 2, 0, 0);
    You can use your country name instead of 'ROOT'.

    The queries will create the root location for you and allow to create another locations.
  4. Khairun

    Khairun New Member

    I mamaged to get this thread, but I'm not sure I want to do this. I run the syntax and I can see on the location but I can not delete it..
  5. Khairun

    Khairun New Member

    Also, I still can not add another location...
  6. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Ok, I will check the issue and let you know about solution in one of your tickets.

Share This Page