Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


"Admin Processes" link throws error

I've enabled Galaxia in my new tikiwi implementation and when I click "Admin processes" (tiki-g-admin_processes.php) I get:

Notice: Undefined variable: filteactive in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 447

Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 454

Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 455

Notice: Undefined variable: filteactive in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 447

Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 454

Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 455

The other workflow options do not cause this error to nappen.

Have you found a solution yet I have the same issuecry

> I've enabled Galaxia in my new tikiwi implementation and when I click "Admin processes" (tiki-g-admin_processes.php) I get:
>
> Notice: Undefined variable: filteactive in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 447
>
> Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 454
>
> Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 455
>
> Notice: Undefined variable: filteactive in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 447
>
> Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 454
>
> Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 455
>
> The other workflow options do not cause this error to nappen.

Under Admin Home -> General change the "PHP error reporting level for non-admin:" to report all except Notics. Notices don't hurt the execution of the code, just shows signs of bad coding behavior. Hope this helps.

> Have you found a solution yet I have the same issuecry
>
> > I've enabled Galaxia in my new tikiwi implementation and when I click "Admin processes" (tiki-g-admin_processes.php) I get:
> >
> > Notice: Undefined variable: filteactive in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 447
> >
> > Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 454
> >
> > Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 455
> >
> > Notice: Undefined variable: filteactive in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 447
> >
> > Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 454
> >
> > Notice: Undefined variable: mid in /home/genotype/domains/gknow.com/public_html/tikiwiki-1.9.5/lib/Galaxia/src/ProcessManager/ProcessManager.php on line 455
> >
> > The other workflow options do not cause this error to nappen.

United States

> Under Admin Home -> General change the "PHP error reporting level for non-admin:" to report all except Notics. Notices don't hurt the execution of the code, just shows signs of bad coding behavior. Hope this helps.

This is a bandaid fix at best. At this level of coding there shouldn't be bad coding practices of this sort.

Upon further examination, it looks like at some point someone inserted some code or removed some code because the formatting appears to be off in function list_processes. It appears that the default value may be intended to be a blank string, so I added

Copy to clipboard
$mid = '';


just after the lines:

Copy to clipboard
$bindvars = array(); } $mid = '';


That seems to have fixed that particular problem.