Forums / General / Indexcontent.php has errors!! Can't index the site..BUG?

Indexcontent.php has errors!! Can't index the site..BUG?

Author Message

K259

Saturday 19 August 2006 10:37:43 am

I try to fix the contentindexing of my site, but get only errors from the file when I run it. Then the content of my site will not be indexed.

[root@...]# php cronjobs/indexcontent.php
PHP Notice: Undefined variable: isQuiet in cronjobs/indexcontent.php on line 43

Notice: Undefined variable: isQuiet in cronjobs/indexcontent.php on line 43
PHP Fatal error: Call to a member function on a non-object in cronjobs/indexcontent.php on line 45

Fatal error: Call to a member function on a non-object in cronjobs/indexcontent.php on line 45
------
Does anyone know if this is a known bug for 3.4x cronjobs/indexcontent.php? ..or can help me solve the problem?

K259

Saturday 19 August 2006 11:12:53 am

It's fixed and ok now.

Jean-François Sénéchal

Monday 08 January 2007 7:23:56 am

I have the same problem :

php cronjobs/indexcontent.php

Fatal error: Call to a member function on a non-object in /var/www/sites/marche/html/ezpublish/cronjobs/indexcontent.php on line 36

and the line 36 is

$cli->output( "Starting processing pending search engine modifications" );

I user ezpublish 3.9

What's wrong ?

Thanks

L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!

Jean-François Sénéchal

Monday 08 January 2007 8:07:56 am

Ok I have found

If I run like this : php runcronjobs.php -s plain_site

It' s ok

L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!