Hi, I see in the tutorials that a file batch_functions.php should be used.

Unfortunatly when I unzip the maestro module I do not see this file...
Could you tell me where I could find it?

Thanks

CommentFileSizeAuthor
#2 erreurs_maestro.pdf159.02 KBpdeclarens
#2 workflow.pdf134.11 KBpdeclarens

Comments

blainelang’s picture

Priority: Major » Normal
Status: Active » Needs review

I'm not sure where you saw the reference to batch_functions.php as it's not required. There are several "batch function" type tasks that are distributed with maestro and 2 are included in a separate maestro module - maestro_content_publish.

There are a few steps to describe the function and register it with maestro and then the actual function itself. These are described on a blog post on our site: http://www.nextide.ca/maestro_how_to

I also recommend you look at the examples in the maestro_content_publish module.

pdeclarens’s picture

StatusFileSize
new134.11 KB
new159.02 KB

Hello,

many thanks for your answer.

My problem was that despite several attemps I never succeded in getting from the aproved by publisher to the publish state.

I then created new roles (editeur, publisher) and new wokflow based on existing one

The authenticades user can create an article
when I log as editor I new get error messages (see file attach)

I also attach the export of the created workflow...

Help please !!!!

_randy’s picture

Status: Needs review » Postponed (maintainer needs more info)

I think your issue is directly answered in your error messages.
You're getting:

"Warning : file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration"

Is a server setting -- nothing to do with Maestro.
http://ca3.php.net/manual/en/function.file-get-contents.php

Which in turn gives you a "tip" that guides you to turn on fopen wrappers:
http://ca3.php.net/manual/en/filesystem.configuration.php#ini.allow-url-...

Try those settings first. That should help alleviate many of the issues you are having.

In the meantime, since this issue may not be Maestro related, I will change the status to postponed.

_randy’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Seems to have been caused by server issues. Moving to closed.