[TYPO3-Solr] Index Queue Worker: error when started automatically in scheduler, no error when started manually
Andreas Brunn
brunn at archaeomedia.de
Wed Feb 29 12:52:57 CET 2012
Hi Jigal,
thanks to your help I could solve the problem.
On 28.02.2012 22:13, Jigal van Hemert wrote:
> Is it really 5.3.10? It almost looks like a PHP bug in < 5.3.3 and <
> 5.2.14 where URL validating failed with domains which contain a hyphen.
It seems that my test yesterday was not quite complete.
PHP is version 5.3.10 indeed - but that's true only for the web site
itself (visited via browser), not for the CLI environment as I found out
today.
I took another look at the cronjob shell script that looked like this
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------
#!/bin/sh
/usr/local/bin/php5 /path/to/site/typo3/cli_dispatch.phpsh scheduler
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------
On that particular host /usr/local/bin/php5 is a symlink that points to
PHP version 5.2.13 and not to the current version!
I changed the shell script to use /usr/local/bin/php5-53LATEST-CLI now.
This symlink points to PHP version 5.3.10 and now the scheduler task is
running without errors!
So contrary to what I wrote in my post from yesterday these errors
showing up in scheduler are indeed related to that PHP bug.
Jigal, thank you very much!
Your thought was absolutely right and saved me from getting a lot of
grey hairs.
Kind regards
Andreas
--
Andreas Brunn
brunn at archaeomedia.de
More information about the TYPO3-project-solr
mailing list