This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » General » indexcontent.php
expandshrink

indexcontent.php

indexcontent.php

Tuesday 22 October 2013 4:59:00 pm

Hello.
I have problems with the indexcontent.php cronjob.
$ php runcronjobs.php admin_indexcontent
Running cronjob part 'indexcontent'Running cronjobs/indexcontent.php at: 22/10/2013 16:48Starting processing pending search engine modifications        Indexing object ID #42103        Failed indexing object ID #42103, keeping it in the queue..... But my item # 42103 works well.
Y'a t'il moyen de vider cette file d'indexation ? ( ezpending_actions )Comment savoir à quoi sert exactement ce cronjob ?Comment le configurer ?
Note that I use ezfind.
A colleague also had problems with the read.So I use a modified vesion indexcontent.php:
/////////////////START# Connexion de l'admin.$ini = eZINI::instance();$userCreatorID = $ini->variable( "UserSettings", "UserCreatorID" );$user = eZUser::fetch( $userCreatorID );if ( !$user ) {    throw new Exception("Cannot get user object by userID = '$userCreatorID'.\n(See site.ini [UserSettings] UserCreatorID)"blunk.gif Emoticon;}eZUser::setCurrentlyLoggedInUser( $user, $userCreatorID );/////////////////STOPinclude('path/of/indexcontent.php')

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from