Hi,
I started over and followed these instructions. Please see my comments inbetween:

If you don't have control over your host, here's how to manually install Image_GraphViz:

Download the latest package directly.

[I downloaded this and it contained only one file: image_graphviz-1.3.0RC3.gz]

Expand the package to the graphviz_filter module folder for example.

[I expanded image_graphviz-1.3.0RC3.gz in my graphviz_filter module folder. One file appeared after I extracted it: image_graphviz-1.3.0RC3.]

Rename the expanded folder to Image.

[I created a folder in the graphviz_filter module called image and put image_graphviz-1.3.0RC3 in there. Then I uploaded graphviz_filter module to my all/sites/modules.]

Configure your Graphviz input format (found in admin/settings/filters/list) such that the path of PEAR::Image_GraphViz package is set to the full path of the graphviz_filter module.

[These directions were confusing, but I went to admin/site configuration/input formats and added a new format called Graphviz. I chose roles: authenticated users; filters: graphviz (dot) syntax and saved the configuration. I then edited the configuration and went to the configuration tab and enter the following in the Path of PEAR::Image_GraphViz package: sites/all/modules/graphviz_filter/

Ensure that your settings are correct by checking the Drupal status report at admin/reports/status, entry named "Graphviz PEAR package".

[When i go to the admin/reports/status, this is what I see for the 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.]

What am I doing wrong?

Thanks

Comments

kbellcpa’s picture

I DID IT!!!

I started over yet again and maybe this will help someone else out.

I went to my host. I use Justhost.com. I then went to cpanel and found an icon PHP Pear Packages. Once I clicked on it, I went to a window that had this at the top:

PHP Extensions and Applications Package InstallerPEAR packages are collections of functions that allow you to perform tasks in PHP. You will need to install a PEAR package before you can use it inside a PHP program.

Note: Packages are installed directly from the PHP Extensions and Applications repository (PEAR).

Location of Your PHP Extension(s) and Application(s)
Path: /home/mysite/php

There was a search box which I entered graphviz and it searched the pear site and found it. Next, I clicked on the install button.

Lastly, I went to my site and admin/site configuration/input formats and added a new format called Graphviz. I chose roles: left blank; filters: graphviz (dot) syntax and saved the configuration. I then edited the configuration and went to the configuration tab and enter the following in the Path of PEAR::Image_GraphViz package: /home/mysite/php (this was on my justhost site. See above).

Then I went to admin/reports/status, this is what I see for the Graphviz Pear Package: The PEAR::Image_GraphViz package was found.

Now if I can figure out how to get the Graphviz Tools sh: dot: command not found to go away.

kbellcpa’s picture

Thought I was done, but had to do this as well:

#set_include_path(
# get_include_path()
# . PATH_SEPARATOR ./home/mysite/php'
#);

to settings.php (remove the hash marks).

Rory’s picture

I was stuck here:

Now if I can figure out how to get the Graphviz Tools sh: dot: command not found to go away.

Under the input method configuration, i.e. Home › Administer › Site configuration › Input formats › configure... the field "Path of Graphviz commands:" was empty.

When I installed Graphviz on the server, the .exe files (the 'Graphviz commands') were placed in the program directory. The path to these .exe files is the path you need to enter there.