Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-147

Bugs during HipHop build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • Linux

    Description

      The following log4php errors show up during the HipHop build:

      "UnknownClass":[

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",119,23,119,76] ,"d":"new Mongo(sprintf('%s:%d', $this->host, $this->port))" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",160,19,160,63] ,"d":"new MongoDate($timestampSec, $timestampUsec)" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/helpers\/LoggerPatternParser.php",309,12,309,104] ,"d":"new LoggerUserFieldPatternConverter($this->formattingInfo, (string)ord($cNext) - 48)" }

      ]

      "UnknownObjectMethod":[

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",120,26,120,57] ,"d":"$this->connection->selectDB($this->databaseName)" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",122,69,122,69] ,"d":"$db->authenticate($this->userName, $this->password)" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",128,67,128,67] ,"d":"$db->selectCollection($this->collectionName)" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",145,20,145,39] ,"d":"$this->collection->insert($document)" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",198,61,198,61] ,"d":"$ex->getPrevious()" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderMongoDB.php",199,71,199,71] ,"d":"$ex->getPrevious()" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/renderers\/LoggerRendererException.php",34,59,34,59] ,"d":"$o->getPrevious()" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/renderers\/LoggerRendererException.php",35,67,35,67] ,"d":"$o->getPrevious()" }

      ]

      "UnknownFunction":[

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/Logger.php",25,0,25,50] ,"d":"spl_autoload_register(array('Logger', 'autoload'))" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderAdodb.php",122,15,122,44] ,"d":"adonewconnection($this->type)" }

      ,

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderSocket.php",188,2,188,17] ,"d":"parent::reset()" }

      ]

      "RequiredAfterOptionalParam":[

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/configurators\/LoggerConfiguratorXml.php",138,30,138,68] ,"d":"LoggerHierarchy $repository" }

      ]

      "UseVoidReturn":[

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/LoggerReflectionUtils.php",52,54,52,54] ,"d":"$pSetter->setProperties($properties, $prefix)" }

      ]

      "UseUndeclaredConstant":[

      {"c1": ["\/var\/lib\/tomcat6\/webapps\/hudson\/jobs\/Rontgen\/workspace\/lib\/log4php\/appenders\/LoggerAppenderAdodb.php",22,13,22,22] ,"d":"ADODB_DIR" }

      ]

      Please suggest a way to fix them, or if it's not fixable in the released version, please fix them in the to-be-released version.

      Thanks

      Attachments

        Activity

          People

            juice Ivan Habunek
            hitesh2223 Hitesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: