RandolphCarter wrote:cron jobs run in a slightly different environment than a normal shell for the user. could be that you're e.g. running a different version of php or some modules fail to load.
The error also happens when calling it from the web. i.e. when the cron is set to "Webcron" and called via http://domain/cron.php
, instead of via the command line.
In my case the PHP version fo the console environment is the same as for the web environment. Modules may be different, but wouldn't that cause a more specific error than "Unexpected error!"?
RandolphCarter wrote:Did you try to run the cron php manually as I suggested?
Running it manually from the command line results in the same non-descriptive "Unexpected error!" output.
Actually I just noticed that there are
some errors in the log visible. The error happening right before "Unexpected error!" is shown (on the CLI) is the following:
Code: Select all
Fatal PHP Cross-reference streams are not supported yet. at /apps/search_lucene/3rdparty/Zend/Pdf/Parser.php#318 2013-11-04T16:17:57+00:00