1
retspoox
Project: XOOPS Workflow Module - install trouble
  • 2006/3/24 20:59

  • retspoox

  • Just popping in

  • Posts: 16

  • Since: 2004/3/16


This is a repost from the Project: XOOPS Workflow Module
on the dev.xoops site.

First, thanks for your work on this module. It promises to fill an important role for the intranet/portals application of Xoops.

I have installed xflow/workflow in XOOPS 2.0.13.2 on both a XP box and a Linux shared server, each with different result.

The Linux install seems to be operating correctly with the exception that every time the text edit window displays a 'Description, php code or template' quotes "'" and "/" are escaped with a "/".

On the XP windows box, after install instructions are followed, the module admin seems to work ok and the Workflow menu block displays correctly but no module screens will display. In fact the center column is not displayed.

I have been stepping though the code have not yet isolated the problem. It appears to me to be in the template system.

I would appreciate any advice/help with either/both of these issues.

Also if anyone else has had similar experiences please post and I will reply when/if they are resolved.

2
retspoox
Re: Project: XOOPS Workflow Module - install trouble
  • 2006/3/25 5:14

  • retspoox

  • Just popping in

  • Posts: 16

  • Since: 2004/3/16


Update-
From Smarty debug I believe that the smarty vars:

'db:galaxia/admin_processes.html' is not being set and that
'{$xoops_contents} empty'

both on the XP box might be a clue.

Any ideas

3
pemen
Re: Project: XOOPS Workflow Module - install trouble
  • 2006/3/25 10:18

  • pemen

  • Not too shy to talk

  • Posts: 186

  • Since: 2002/7/8 7


Quote:
The Linux install seems to be operating correctly with the exception that every time the text edit window displays a 'Description, php code or template' quotes "'" and "/" are escaped with a "/".


I think it is due to the magic_quote_gpc in the php.ini. You must set this option to no.

Quote:
On the XP windows box, after install instructions are followed, the module admin seems to work ok and the Workflow menu block displays correctly but no module screens will display. In fact the center column is not displayed.


There is no default page for this module.
You must click on the menu block, either on "process administration", "process monitor", ...

Can you activate you php debug mode to see errors ?


In the near future, I will post news, tutorials and update on XoopsPro web site
Identity management, LDAP, Workflow and more
XoopsPro

4
retspoox
Re: Project: XOOPS Workflow Module - install trouble
  • 2006/3/26 6:13

  • retspoox

  • Just popping in

  • Posts: 16

  • Since: 2004/3/16


Quote:

I think it is due to the magic_quote_gpc in the php.ini. You must set this option to no.

I had working with my webhost on this one.
I had to get a copy of php.ini for local web root where I set "magic_quotes_gpc Off".
This didn't work. Have I missed something?
Quote:

There is no default page for this module.
You must click on the menu block, either on "process administration", "process monitor", ...

Yes, I get the same result for each link.
Quote:

Can you activate you php debug mode to see errors ?

There are no php errors just typical kernal notices.
What about the smarty/templates vars:

db:galaxia/admin_processes.html' not being set

and that
'{$xoops_contents} empty' as ob_get_contents()returns empty from footer.php

5
retspoox
Re: Project: XOOPS Workflow Module - install trouble
  • 2006/3/26 21:23

  • retspoox

  • Just popping in

  • Posts: 16

  • Since: 2004/3/16


On the magic_quote_gpc solution, my web host said that a local php.ini only effects the directory in which it is contained and NONE of the sub-directories.

If this is so, in which directory should I place it?

6
retspoox
Re: Project: XOOPS Workflow Module - install trouble
  • 2006/3/27 5:17

  • retspoox

  • Just popping in

  • Posts: 16

  • Since: 2004/3/16


Placeing the copy of php.ini with "magic_quote_gpc Off" in the xflow module home dir has solved the escaped char issue.

Now when runing the CD load example and trying to accept a CD loan request the server fail with this msg:


Warning [PHP]: fopen(http://********.com/test/test/modules/xflow/execute_activity.php?activityId=3&iid=1&auto=1): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in file modules/xflow/lib/Galaxia/config.php line 88

Warning [Xoops]: Fatal error: cannot execute automatic activity 3 in file modules/xflow/lib/Galaxia/config.php line 91

The double entry of ...test/test... is incorrect.
There is only a single test/ directory.

If I was able to solve the above issue on my XP development box I might could solve this issue.

7
retspoox
Re: Project: XOOPS Workflow Module - install trouble
  • 2006/4/10 21:14

  • retspoox

  • Just popping in

  • Posts: 16

  • Since: 2004/3/16


Update:
I have set up a development box with fedora4/XOOPS 2.0.13.1.

In: xflow/lib/Galaxia/config.php ~ln 84 made following change to remove the double entry of my home directory.

I'm not sure if this will break something else.
...
$parsed = parse_url($_SERVER["REQUEST_URI"]);
//$URI = httpPrefix().$parsed["path"];
//kjp changed above line as it produced double home directory
$URI = $_SERVER["HTTP_REFERER"];
...

I'm continuing to play/test with xflow and am trying to use GraphViz.

I successfuly installed GraphViz package with yum but get the " No process graph is available..." error from the graph icon. The process is both valid & active, are there any additional configuration steps?

Login

Who's Online

353 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits