Forums / General / Crash/Error - Workflow - processlist.php - ideas?

Crash/Error - Workflow - processlist.php - ideas?

Author Message

Paul Wilson

Thursday 22 March 2007 5:21:48 am

Hi,

I had workflow working perfectly a couple of weeks ago. Now for some reason, when I select "Worflow Processes" from the admin system (setup page), eZ crashes ...I get:

Fatal error: Call to a member function on a non-object in [...]/public_html/kernel/workflow/processlist.php on line 55
Fatal error: eZ publish did not finish its request

That line refers to:

$mementoMainData = $mementoMain->data();

I've installed (and now disabled) a few extensions, but nothing I'd expect to create this type of problem.

Has anyone experienced this or got any clues on a fix?

I'm using EZ 3.9.0. For extra (in)convenience, eZDebug reports problems with writing var/log/error.log and warning.log and notice.log. However these logs are all accessed and added to properly from other pages.

Thanks

Paul Wilson

Thursday 22 March 2007 6:28:32 am

I've got to the point of having the ez admin interface / setup / workflow process option work again.

After lots of backups and on a hunch from http://issues.ez.no/IssueView.php?Id=9222&activeItem=1 , I deleted the contents of the ezworkflow_process table in the database.

I have no solid explanation of why/how this worked, but so far so good.

The table did contain a memento_key field - which seemed to be what was causing the error.

Martynas Bilevičius

Thursday 25 October 2007 5:48:36 am

I have same problem how to fix it? Fix it by deletin database table content.

Xavier Serna

Thursday 25 October 2007 6:46:27 am

Hi Martynas,

as Paul Wilson says, the problem is solved simply deleting all records from the table ezworkflow_process. It seems that for any reason there is any entry in these table, referring to a non-existent workflow causing the fatal error, but not sure. Clearing the table here solves the problem.

hth!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Martynas Bilevičius

Thursday 25 October 2007 10:54:51 am

Yes, after clean table now everything is OK, i try to use article publish and unpublish functions using cronjobs, in server cronjobs now is workink everythink OK.If set publish date and if insert publish date is not same as now date hide.cron hide nodes and if end article publish date unpublish delete article. But if hide article how todu that unhide article. How to set workflows for article publish and unpublis ?