Menu

php error with svg=true

Help
2009-09-29
2013-04-30
<< < 1 2 (Page 2 of 2)
  • Rob Challen

    Rob Challen - 2009-10-12

    the filename will be the same apart from the .dot/.png/.svg extension. So it is correct that their is a someUuid.dot input file (which is linked to by the &quot;get dot source…&quot; hyperlink) but there should also be a someUuid.png or someUuid.svg output file in the same directory which is actually displayed (and linked to by the html img tag which you would be able to see in the html source of the page). dot.exe builds these .png or .svg files, or in your case doesn't.

    One left field possibility is that the files are for some reason being written to the wrong location.

    If you go to a wiki page that should have a graph on it and search for &quot;download dot source&quot; you should find somthing like the following:

    img src=&quot;http://localhost/mw/images/dot/ba6d708b168ed495e94168b8ee7967f7.png&quot; usemap=&quot;#ba6d708b168ed495e94168b8ee7967f7&quot; /&gt;br/&gt;a href=&quot;http://localhost/mw/images/dot/ba6d708b168ed495e94168b8ee7967f7.dot&quot;&gt;Click to download dot source…/a&gt;

    (no idea whether this will come out right in markup)

    here the someUuid is generated as ba6d708b168ed495e94168b8ee7967f7

    try searching your file system for the file name in the image tag: (in this case it would be ba6d708b168ed495e94168b8ee7967f7.png) you will have to adapt.

     
  • Chris White

    Chris White - 2009-10-13

    The refrence on the wiki page points to the correct directory, and a search of the entire hard drive for fee6703757cd4bc831fdc0954131db52.* only found the .dot file.

    Is there some way that I can trap the command that is being sent to dot.exe to validate that it is correct?

     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.