Jim Cheetham <jim@...> writes:
> I'd like to have a plugin that will just render a graphviz graph, using
> a local copy of dot ... similar to CacheTest and VisualWiki, I guess.
> Invoking dot under php seems to be no problem ...
> However, the CacheTest and VisualWiki that came with my Debian phpwiki
> (1.3.7-1) package simply don't work, and the package maintainer tells me
> that he hasn't tested these plugins at all. The right thing would be to
> raise a bug on the Debian package, but I'd like to know how to fix it
> first ...
> CacheTest produces only a (valid) img tag, whereas VisualWiki will at
> least leave files in /tmp/cache - but still they are not displayed.
> I'm assuming that there must be some problem with WikiPluginCached, but
> I don't yet know where to start looking to further diagnose the problem.
> Can anyone offer me a few pointers?
I experienced the same problem some time ago. You should have a look at
You should also check that 'cacheurl' in lib/plugincache-config.php
refers to /phpwikidata/getimg.php? , cause URLs beginning with /phpwiki/
are rewritten to /phpwiki/index.php