Hello.
I am having trouble getting graphviz to work correctly on my shared server.
Every single tutorial I come across involves command line programming in ubuntu or linux, both of which I have little experience--and no access to command lines, as I am using a shared server on hostgator.
Using the Cpanel, I supposedly installed the graphviz PEAR extension. Now what? After installation, I get this cryptic message in cpanel:
Using Your PHP Extension(s) and Application(s)
You will need to add /home/yourname/php to the include path.
You can do this by adding the following code to your script:
ini_set("include_path", '/home/yourname/php:' . ini_get("include_path") );
where? who?
So I cut and pasted that in_set snippet in the settings.php in my drupal install.
And nothing
Now, looking at my status report screen, i get the following messages:
Graphviz PEAR package -
The PEAR::Image_GraphViz package was not found. Graphviz Filter will still function normally, but some sub-modules (such as CCK Schema and Workflow Graph) will not. Please install the package and/or make sure that the Graphviz Filter settings are set to locate it properly.
and
Graphviz tools- sh: dot: command not found
What do I do? Is graphviz for local installations only?
Comments
any ideas on how to tackle
any ideas on how to tackle this issue?
______________________________
Smoke 'N Grow
My latest book page: autochange role with rules using drupal/facebook connect authentication
so nobody uses the graphviz
so nobody uses the graphviz module, i take it?
______________________________
Smoke 'N Grow
My latest book page: autochange role with rules using drupal/facebook connect authentication
I updated the Installation
I updated the Installation procedure for Image_GraphViz on the module's page to explain what to do in your case. Let me know if it works for you!
Concerning the error "sh: dot: command not found", it means that the Graphviz tools (dot, neato, etc.) are not installed or not found on your host. If you can't install them, I'm afraid you're out of luck. If they are there already, please make sure the basic Graphviz Filter module works, by following the example on the module page. If the example works, then there's a bug with Image_GraphViz that prevents it from finding the Graphviz tools. If the example doesn't work but you're sure that the tools are there,then you should configure the input format (like you did earlier) with the correct path to the Graphviz tools.
I put the PEAR Image_Graphviz
I put the PEAR Image_Graphviz in directory sites/all/libraries and add :
set_include_path(get_include_path()
. PATH_SEPARATOR .'sites/all/libraries'
);
to settings.php and everything works fine.