processing notifications

Author Message

Kelly Milligan

Tuesday 23 March 2010 2:21:55 pm

I am working in a development environment, setting up the basic approval workflow. I am however unable to get the notifications from approvals working. I am running the 4.3 rc version. I am editing some content as and editor, and sending for publishing. I then run the cronjobs as such:

php runcronjobs.php -s siteaccess frequent

this tries to process notifications then the workflow.php cron jobs. while processing the notifications cronjob, it outputs this error over and over again:

Warning: chmod(): Operation not permitted in /var/www/ezpublish/htdocs/lib/ezutils/classes/ezphpcreator.php on line 979

with a Call stack of :

Call Stack: 0.0026 144380 1. {main}() /var/www/ezpublish/htdocs/runcronjobs.php:0 0.3297 7934352 2. eZRunCronjobs::runScript() /var/www/ezpublish/htdocs/runcronjobs.php:356 0.3330 7980668 3. include('/var/www/ezpublish/htdocs/cronjobs/workflow.php') /var/www/ezpublish/htdocs/kernel/classes/ezruncronjobs.php:76 0.7768 14068080 4. eZWorkflow::statusName() /var/www/ezpublish/htdocs/cronjobs/workflow.php:132 0.7768 14068148 5. eZWorkflow::statusNameMap() /var/www/ezpublish/htdocs/kernel/classes/ezworkflow.php:119 0.9387 14069636 6. ezpI18n::tr() /var/www/ezpublish/htdocs/kernel/classes/ezworkflow.php:581 0.9387 14069992 7. ezpI18n::translateText() /var/www/ezpublish/htdocs/kernel/common/ezpi18n.php:94 0.9388 14070592 8. eZTSTranslator::initialize() /var/www/ezpublish/htdocs/kernel/common/ezpi18n.php:124 0.9388 14071084 9. eZTSTranslator->load() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztstranslator.php:92 0.9388 14071160 10. eZTSTranslator->loadTranslationFile() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztstranslator.php:110 0.9434 14080836 11. eZTranslationCache::storeCache() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztstranslator.php:335 0.9435 14087200 12. eZPHPCreator->store() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztranslationcache.php:216 0.9444 14087756 13. chmod() /var/www/ezpublish/htdocs/lib/ezutils/classes/ezphpcreator.php:979
Call Stack: 0.0026 144380 1. {main}() /var/www/ezpublish/htdocs/runcronjobs.php:0 0.3297 7934352 2. eZRunCronjobs::runScript() /var/www/ezpublish/htdocs/runcronjobs.php:356 0.3330 7980668 3. include('/var/www/ezpublish/htdocs/cronjobs/workflow.php') /var/www/ezpublish/htdocs/kernel/classes/ezruncronjobs.php:76 0.7768 14068080 4. eZWorkflow::statusName() /var/www/ezpublish/htdocs/cronjobs/workflow.php:132 0.7768 14068148 5. eZWorkflow::statusNameMap() /var/www/ezpublish/htdocs/kernel/classes/ezworkflow.php:119 0.9387 14069636 6. ezpI18n::tr() /var/www/ezpublish/htdocs/kernel/classes/ezworkflow.php:581 0.9387 14069992 7. ezpI18n::translateText() /var/www/ezpublish/htdocs/kernel/common/ezpi18n.php:94 0.9388 14070592 8. eZTSTranslator::initialize() /var/www/ezpublish/htdocs/kernel/common/ezpi18n.php:124 0.9388 14071084 9. eZTSTranslator->load() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztstranslator.php:92 0.9388 14071160 10. eZTSTranslator->loadTranslationFile() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztstranslator.php:110 0.9434 14080836 11. eZTranslationCache::storeCache() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztstranslator.php:335 0.9435 14087200 12. eZPHPCreator->store() /var/www/ezpublish/htdocs/lib/ezi18n/classes/eztranslationcache.php:216 0.9444 14087756 13. chmod() /var/www/ezpublish/htdocs/lib/ezutils/classes/ezphpcreator.php:979

and the notification doesn't get sent.

Any ideas?

Lukasz Klejnberg

Wednesday 24 March 2010 2:57:33 pm

Hi,

Did you tried to run this command from root?

Best regards,
Lukasz

Kelly Milligan

Monday 29 March 2010 8:52:51 am

yes, realized this shortly after my post, sorry I didn't post it back.

thanks!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:08:08
Script start
Timing: Jan 18 2025 05:08:08
Module start 'layout'
Timing: Jan 18 2025 05:08:08
Module start 'content'
Timing: Jan 18 2025 05:08:09
Module end 'content'
Timing: Jan 18 2025 05:08:09
Script end

Main resources:

Total runtime1.0154 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9375152.6250
Module start 'layout' 0.00520.0019 740.562539.4453
Module start 'content' 0.00711.0069 780.0078511.9141
Module end 'content' 1.01400.0013 1,291.921912.1641
Script end 1.0153  1,304.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2967160.0002
Check MTime0.00130.1321160.0001
Mysql Total
Database connection0.00080.080910.0008
Mysqli_queries0.969395.4627570.0170
Looping result0.00060.0613550.0000
Template Total0.984396.920.4921
Template load0.00200.192920.0010
Template processing0.982396.743420.4911
Template load and register function0.00010.011110.0001
states
state_id_array0.00180.174910.0018
state_identifier_array0.00140.134920.0007
Override
Cache load0.00160.1565210.0001
Sytem overhead
Fetch class attribute can translate value0.00040.036620.0002
Fetch class attribute name0.00100.096940.0002
XML
Image XML parsing0.00170.167120.0008
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00180.1802160.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs