Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


No graph, and error "Warning: Smarty error: unable to read resource..."

United States

Hi -

Accidentally put this in the support forum so reposting here...

So I've enabled the Workflow feature in my tiki v.1.8.3 running on apache1.3.31/php4.3.7/mysql4.0.20. I created a new process (called plc_workflow, given version of 1.0), assigned all of the activities and set roles, etc as described in the Galaxia manual linked from GalaxiaWorkflowDoc, and just added code/templates to the activities that only consist of buttons to trigger instance completion ($instance->complete()). And I'm not seeing any errors at the top of the page after I added and saved the code/templates.

2 problems though:

1) From the Admin processes page for the process, I get an error saying that the url was not found when I click on the graph icon.

2) When I log in as a user who can start the process, and click the arrow next to the start activity at the User Activities page, the next page consists of only the following error:

Warning: Smarty error: unable to read resource: "plc_workflow_10/start.tpl" in /www/htdocs/tiki/lib/smarty/Smarty.class.php on line 1149

I noticed an faq at http://tikiwiki.org/tiki-view_faq.php?faqId=11 saying something about clearing /tiki/templates_c to fix the second problem, but all I have in that directory is a README, an index.php file, and an en directory.

Any advice regarding either or both of these problems would be greatly appreciated.

Thanks!

United States
I fixed the graph problem by installing GraphViz cool

> I fixed the graph problem by installing GraphViz cool

Hi nbriggs,

I installed Graphviz, and was able to run the test page tiki-wiki_graph.php?page=HomePage&level=2 and see the "HomePage" icon picture. But when I click on the graph icon in workflow, I get this error message:

The requested URL /tikiwiki/lib/Galaxia/processes/Tracker_10/graph/Tracker_10.png was not found on this server.

I don't see any file stored in this directory. Is there something more I need to do for it to generate the flow chart?

Thanks.


United States

I just solved the second problem (the smarty error) by going into tiki/templates, creating a directory with the normalized name of my process + version (eg, my process is PLC Workflow, so I created a directory called PLC-Workflow_10), and copying into that directory all of the template files from tiki/lib/Galaxia/processes/PLC_Workflow_10/code/templates/.

Yay for ugly hacks smile