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.