[phpOpenTracker-User] Graphviz some advance in the solution.

Eduard Pertíñez i Juncosa <[email protected]> Thu, 6 Nov 2003 18:18:50 +0100
Newsgroups gmane.comp.web.phpopentracker.general,gmane.comp.web.phpopentracker.devel
Message-ID <[email protected]>
Hi,

I'm trying to set up a computer and I have the very same problem that the one 
in the e-mail:

http://sourceforge.net/mailarchive/message.php?msg_id=6247704

I've been looking around and I saw the code for both all_paths and 
individual_clickpath has been merged in the last release.

Looking at the code I saw that there was an incorrect loop into the code:
clickpath_analisys.php
line:  close to 307 (I've been putting echo's and print_r's arround the code)
//------------------
      return $result;
    }

    foreach ($data['subpathStatistics'] as $fromNode => $toNodes) {
 //     foreach ($toNodes as $toNode => $data) { < -- This seems to be
 //											incorrect
        if ($parameters['api_call'] == 'all_paths') {
          $fromColor = $parameters['document_color'];
          $fromGroup = 'default';
          $fromID    = $data['documents'][$fromNode][0];
//------------
I still couldn't manage to make the system print anything coherent but at leas 
data looks correct when it enters into addNode. Hope someone can help.

Eduard




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/