• Error Type: Php Notice
  • Message: Undefined index: url_safe_title
  • File/Line: /var/www/domains/berkeleymedia/live/berkeleymedia/en/app/catalog/ViewCatalog.php/102
  • Context (7): [toggle]
    array(
        'this' => (object) {viewcatalog} (
            /* ... */
            ),
        'request' => (object) {request} (
            /* ... */
            ),
        'path' => array(
            /* ... */
            ),
        'data' => (null),
        'title' => (string) "nubia_and_the_mysteries_of_kush",
        'structure' => array(
            /* ... */
            ),
        'current' => (integer) 3,
        )
  • Backtrace (6): [toggle]
    • init() [toggle source]
      • file: /var/www/domains/berkeleymedia/live/berkeleymedia/en/app/catalog/ViewCatalog.php
      • line: 102
      0092 
      0093         /* Create path with full category infos
      0094          */
      0095         $this->path = array();
      0096         foreach ($path as $title) {
      0097             $structure = Structure::retrieveByUrlSafeTitle($title);
      0098             $current = array_push($this->path, $structure) - 1;
      0099 
      0100             $this->path[$current]['_full_path'] = '/';
      0101             foreach ($this->path as $structure) {
      0102                 $this->path[$current]['_full_path'] .= $structure['url_safe_title'] . '/';
      0103             }
      0104         }
      0105 
      0106         if ($data === null) {
      0107             $event =& Event::getInstance();
      0108             $event->emit('Common.PageNotFound');
      0109         }
      0110         
      0111         $this->top_title_append = $data['title'];
      0112         
      
    • viewcatalog::init() [toggle source]
      • file: /var/www/domains/berkeleymedia/live/berkeleymedia/en/binarycloud/node/Node.php
      • line: 181
      0171     * to implement your own custom logic once subnodes are created.
      0172      *
      0173      * @access  public
      0174      * @return  void
      0175      * @author  jean-christophe michel <jc dot michel at symetrie dot com>
      0176      *
      0177      * @see     Node::_mainChildren()
      0178      * @see     http://binarycloud.com/documentation/
      0179     */
      0180     function main() {
      0181         $this->init();
      0182         $this->_mainChildren();
      0183         $this->process();
      0184     }
      0185     // }}}
      0186     // {{{ method init()
      0187     /**
      0188      * This method initializes the node (stes default template and checks params),
      0189     * then creates subnodes from <contains>. It is called by main(). 
      0190     * By default this method creates children from _all_ nodes defined in <contains>.
      0191     * Overwrite this method to implement a custom init behaviour.
      
    • viewcatalog::main() [toggle source]
      • file: /var/www/domains/berkeleymedia/live/berkeleymedia/en/binarycloud/node/Node.php
      • line: 1266
      01256      * @access  private
      01257      * @return  void
      01258      * @author  jean-christophe michel <jc dot michel at symetrie dot com>
      01259      */
      01260     function _mainChildren() {
      01261         Init::log(BC_LOG_NOTICE,sprintf('Calling main() for children of node \'%s\'.', $this->id),
      01262                   __FILE__,__LINE__);
      01263 
      01264         $_ids = array_keys($this->children);
      01265         foreach ($_ids as $_id) {
      01266             $this->children[$_id]->main();
      01267         }
      01268     }
      01269     // }}}
      01270     // {{{ method _processChildren()
      01271     /**
      01272      * Processes the node and its children
      01273      *
      01274      * @access  private
      01275      * @return  void
      01276      */
      
    • top::_mainchildren() [toggle source]
      • file: /var/www/domains/berkeleymedia/live/berkeleymedia/en/binarycloud/node/Node.php
      • line: 182
      0172      *
      0173      * @access  public
      0174      * @return  void
      0175      * @author  jean-christophe michel <jc dot michel at symetrie dot com>
      0176      *
      0177      * @see     Node::_mainChildren()
      0178      * @see     http://binarycloud.com/documentation/
      0179     */
      0180     function main() {
      0181         $this->init();
      0182         $this->_mainChildren();
      0183         $this->process();
      0184     }
      0185     // }}}
      0186     // {{{ method init()
      0187     /**
      0188      * This method initializes the node (stes default template and checks params),
      0189     * then creates subnodes from <contains>. It is called by main(). 
      0190     * By default this method creates children from _all_ nodes defined in <contains>.
      0191     * Overwrite this method to implement a custom init behaviour.
      0192      *
      
    • top::main() [toggle source]
      • file: /var/www/domains/berkeleymedia/live/berkeleymedia/en/binarycloud/init/Init.php
      • line: 138
      0128         // create the top node, store it as $this->top
      0129         $_embeding = null;
      0130         $topNode =& Node::getNode($definition, $_embeding);
      0131         if (catch('Exception', $e)) {
      0132             throw($e);
      0133             return false;
      0134         }
      0135 
      0136         Init::log(BC_LOG_NOTICE, '******** NodeTree STEP 2: main. ********', __FILE__, __LINE__);
      0137         // call node's main() method, which invokes init() and process()
      0138         $topNode->main();
      0139         if (catch('Exception', $e)) {
      0140             throw($e);
      0141             return false;
      0142         }
      0143 
      0144         Init::log(BC_LOG_NOTICE, '******** NodeTree STEP 3: render. ********', __FILE__, __LINE__);
      0145         // render the node tree
      0146         $topNode->render();
      0147         if (catch('Exception', $e)) {
      0148             throw($e);
      
    • init::getpage(string) [toggle source]
      • file: /var/www/domains/berkeleymedia/live/berkeleymedia/htdocs/en/catalog/index.php
      • line: 20
      [param 0] (string) "app/top/ndf/catalog_index.php"
      010 require_once('../binarycloud.php');
      011 
      012 // Initialize the system
      013 include_once(BC_PATH_BASE . "/init/Init.php");
      014 $init =& new Init();
      015 $init->startup();
      016 
      017 /* Send page output
      018  */
      019 // try {
      020 $Page =& $init->getPage("app/top/ndf/catalog_index.php");
      021 if (catch("Exception", $e)) {
      022     echo "<strong>Error in Init::getPage() :</strong>" . $e->toString();
      023 } else {
      024     echo $Page->getOutput();
      025 }
      026 
      027 $init->shutdown();
      028 
      029 ?>