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 ?

eZ debug

Timing: Jan 18 2025 04:07:48
Script start
Timing: Jan 18 2025 04:07:48
Module start 'content'
Timing: Jan 18 2025 04:07:49
Module end 'content'
Timing: Jan 18 2025 04:07:49
Script end

Main resources:

Total runtime0.8147 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.9688180.8203
Module start 'content' 0.00850.6863 769.7891604.5469
Module end 'content' 0.69480.1199 1,374.3359337.3750
Script end 0.8147  1,711.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5060210.0002
Check MTime0.00150.1902210.0001
Mysql Total
Database connection0.00120.142310.0012
Mysqli_queries0.722788.71062020.0036
Looping result0.00220.27612000.0000
Template Total0.774195.020.3871
Template load0.00230.278820.0011
Template processing0.771894.734920.3859
Template load and register function0.00010.016310.0001
states
state_id_array0.00240.294210.0024
state_identifier_array0.00100.128420.0005
Override
Cache load0.00200.2405280.0001
Sytem overhead
Fetch class attribute can translate value0.00250.304440.0006
Fetch class attribute name0.00200.241570.0003
XML
Image XML parsing0.00170.203940.0004
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00350.4309330.0001
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs