[dokuwiki] graphviz not working - solved. please update svn!

  • From: Thomas Baumann <tom@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 20 Oct 2005 13:43:14 +0200

Hello list,

I found an error in the syntax.php of the graphviz plugin,
so the images are not displayed. Here is the diff as solution:

Now http://inhalt.serviert.de/ testing/graphwiz is working!

(it is only a "/" which is too much in line 83).

--- syntax.php  2005-10-20 13:45:16.073222760 +0200
+++ syntax.php.new      2005-10-20 13:46:30.560898912 +0200
@@ -80,7 +80,7 @@
                                if ( !is_dir($conf['mediadir'] . '/graphviz') )
mkdir($conf['mediadir'] . '/graphviz', $conf['dmask'], true);
                                $hash = md5(serialize($data));
                                $filename = $conf['mediadir'] .
'/graphviz/'.$hash.'.png';
-                               $url =
DOKU_BASE.'/lib/exe/fetch.php?cache='.$cache.'&amp;media='.urlencode('graphviz:'.$hash.'.png');
+                               $url =
DOKU_BASE.'lib/exe/fetch.php?cache='.$cache.'&amp;media='.urlencode('graphviz:'.$hash.'.png');
 
                                if ( is_readable($filename) ) {
                                        // cached.



-- 
Thomas Baumann 
Dipl.-Betriebswirt (BA)

tiri.li information technology
Postfach 11 01 15
D-64216 Darmstadt
fon +49 (0) 7000 - 66 464 66
fax +49 (0) 70000 - 329 329
http://www.tiri.li

This email and any attachments are confidential and are 
intended only for the addressee. If you are not the 
intended recipient of this email and have received it 
in error, please notify the sender immediately by reply 
email and then delete it from your system. 



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] graphviz not working - solved. please update svn!