[campsite-support] Invalid value of "site alias"
  • Vote Up0Vote Down importimport
    Posts: 0Member
    Hi

    After upgrading the mysql package, campsite stopped working. The Admin
    gui still works perfectly, but not the templates.

    I got the following error:
    Internal out of range error: Invalid value "kajsa.folkstorm.org" of
    "site alias"

    So I tried deleting that site alias and recreating it in the admin gui.
    And now I get:
    Internal out of range error: invalid publication alias kajsa.folkstorm.org

    What's the cause of this error. I have a vague memory of getting it
    before, but I can't remember how I resolved it then.

    Here's the DB content:

    /*!40000 ALTER TABLE `Aliases` DISABLE KEYS */;
    LOCK TABLES `Aliases` WRITE;
    INSERT INTO `Aliases` VALUES
    (6,'kajsa.folkstorm.org',3),(7,'mi.socialisterna.org',2),(5,'offensiv.socialisterna.org',1);
    UNLOCK TABLES;
    /*!40000 ALTER TABLE `Aliases` ENABLE KEYS */;



    /*!40000 ALTER TABLE `Publications` DISABLE KEYS */;
    LOCK TABLES `Publications` WRITE;
    INSERT INTO `Publications` VALUES
    (1,'Offensiv',18,'D',0.00,0.00,'',0,0,5,2),(2,'Marxismen
    Idag',18,'D',0.00,0.00,'',0,0,7,2),(3,'Rättvisepartiet
    Socialisterna',18,'D',0.00,0.00,'',0,0,6,2);
    UNLOCK TABLES;
    /*!40000 ALTER TABLE `Publications` ENABLE KEYS */;


    --
    Erik Dal
  • 2 Comments sorted by
  • this error mostly mean some problem with comunication between mysql and
    campsite parser. My experience is, that restarting parser fixes these
    problem.

    Ondra

    On Thu, 2006-05-11 at 13:51 +0200, Erik Dal
  • thanks, that worked. Perhaps this tip should be included in the error
    message?

    Ondra Koutek wrote:
    > this error mostly mean some problem with comunication between mysql and
    > campsite parser. My experience is, that restarting parser fixes these
    > problem.
    >
    > Ondra
    >
    > On Thu, 2006-05-11 at 13:51 +0200, Erik Dal