ie. I included the file cli_compatibility.php at the top of the runcronjobs.php file but I still got the same error message when trying to run the runcronjobs.php script.
I was wondering what the current agreed solution to the problem is...
Surely there must be a lot of other developers that have found themselves experiencing this problem during the last year or so.
Although you got a notice, it looks like the script ran and did it's job. Otherwise you would not have gotton the text after the notice. Can't guarantee that for 100% though, I'm not getting that notice.
Could you copy and paste the code from that line as a reply here? My line 142 has no argv varivable.
Other than the workaround I personally don't know of other options to get cronjobs working if you do not have php running in CLI.
-- Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
Has anyone been able to shed anymore light on this please?
Am I right in thinking that the following info in the cronjob notice indicates that the notification emails aren't being sent? If so - I wonder if this will help to identify why the emails aren't being sent.
Checking for workflow processes<br/>Status list<br/>Workflow event deferred to cron job(4): 6<br/><br/>0 out of 6 processes was finished<br/>
If I goto the 'Workflow Processes' page within the Setup section of the web site's Admin area I can see the items listed.
I'd really appreciate any help you or your colleagues can give me.
Could the fact that I'm using PHP version 5 be responsible for the problem? I've seen a few other posts where PHP5 seems to have caused problems with sending email notifications.
Just to clarify my setup at the moment:
I'm not able to use PHP CLI.
So - to be able to run the runcronjobs.php script I carried out the following modification:
edited the script /kernel/classes/ezscript.php. At line 179 I commented out: exit( 1 );
Using PHP 5
Using ezPublish 4.4
You must be logged in to post messages in this topic!