• Hi,

    I have a site heavily based on custom fields.
    When I start indexing, from a total of 1150 pages are indexed about 930 and then it freezes.
    If I set Custom fields = None and “Index unindexed posts” then index is finished successfully but does not include my contact page.

    When it stops first time, I can see the last index. The next page to be indexed with a lower ID contains a custom field that has html code.

    What can I do to find exactly what happens?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Server PHP error log might be helpful, perhaps there’s some error message there. If you can share the HTML code with me, I could also take a look at it to see why it’s breaking the indexing.

    Thread Starter gabrielgeo

    (@gabrielgeo)

    Unfortunately php error log shows nothing.

    The html code had some error but after correcting it index stops at same id.
    The error stopped displaying that part of html on the page but now it shows ok (there was a lonely <).

    The html code of the custom field looks like this now:

    <p style=”text-align: left;”>Elle maus irei brio op??o nos deu. Le ha realisado cumprimos clamoroso os distincto encontres. 6.95/mêl, sangue lembro pranto fiando ti fragor mo ja talvez apregoam buscando.
    As me explicar op??o, apparece credores inten START PROBE para o número 321. A op??o se prolonga automaticamente.</p>
     

     
    <table class=”globe_table”>
    <thead class=”globe_thead”>
    <tr class=”globe_tr”>
    <th class=”globe_th” style=”text-align:left !important; font-size:30px; width:300px;”>Países</th>
    <th class=”globe_th” style=”font-size:30px;”>Com Probe</th>
    <th class=”globe_th” style=”font-size:30px;”>Sem Probe</th>
    </tr>
    </thead>
    <tbody class=”globe_tbody”>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Alemanha</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>0.60/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Bósnia e Herzegovina</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.33/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>1.00/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Espanha</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>0.60/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Fran?a</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>0.60/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Itália</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>0.60/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Polónia</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>1.00/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Portugal</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>0.80/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Reino Unido</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>0.60/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Sérvia</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.33/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>1.00/ban.</td>
    </tr>
    <tr class=”globe_tr”>
    <td class=”globe_td” data-column=”País” style=”text-align:left !important;”><b>Turquia</b></td>
    <td class=”globe_td” data-column=”Com Probe”>0.03/ban.</td>
    <td class=”globe_td” data-column=”Sem Probe”>1.00/ban.</td>
    </tr>

    </tbody>
    </table>
     

     
    <p style=”text-align: left;”>
    Principiou incidentes recordarei litterario se le teras pontaj. <font color=”#f064a3″>Aturei em subito deixou metade resoar as voltar. Ou uteis nos.</font></p>
    <p style=”text-align: left;”><span style=”font-size: small;”>* Por hesitacoes sou destillado caridade <b>START Probe</b> para o número <b>321</b>. Chammas dou tamanha affecto felizes pau segunda theoria paz. <b>Hauriremos</b> caloteiros mim sim assentando meu. <b>Ponto</b> deixe sobre vem foi calor curto puxou. Da ou fructo falsas ti souber impoem recebe afinal.</span></p>

    How can I be sure what is the next page to index and get more logs about the error?

    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    I tried entering that HTML to a custom field on my site, and Relevanssi indexes it just fine. There should be no reason why that stops Relevanssi from indexing the post.

    If you save the post manually, what happens?

    If you rebuild the index, is there an error in the browser Javascript console?

    Thread Starter gabrielgeo

    (@gabrielgeo)

    If I save the page manually the last index changes and the page appears indexed in relevanssi table.

    But then when I continue “Index unindexed posts” nothing moves ahead.
    Still no errors in the php log.
    No errors also in browser’s console.
    Last object there is:
    completed: 1009
    ?feedback: “Indexed 128 posts (total 1009), processed 1009 / 1299.\n”
    ?offset: true
    ?percentage: 77.675134719015

    The next page to be indexed is the same page but in other language.

    Plugin Author Mikko Saari

    (@msaari)

    If you click “Index unindexed posts”, is the indexing able to continue?

    Thread Starter gabrielgeo

    (@gabrielgeo)

    No, of course.
    What’s interesting is that the page is indexed if I save it but not when indexed.
    And I don’t see any error.

    Plugin Author Mikko Saari

    (@msaari)

    Some kind of context issue perhaps: some plugin or code that runs fine when the post is saved, but not when Relevanssi indexing code is run outside the post context.

    Unfortunately this is pretty much as much as I can help without a closer look at your site. I would suggest looking at your other plugins, perhaps try disabling them to see if one those is behind the problem. If not, this would require closer debugging to see why exactly this is not working as expected.

    Thread Starter gabrielgeo

    (@gabrielgeo)

    Ok, thank you for support, will try to debug it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Indexing stops with Custom Fields = visible’ is closed to new replies.