Una volta aggiornato mi da questo errore nel salvataggio degli articoli. Ma pare che lo fa solo su quelli lunghi.
Salvataggio fallito con il seguente errore: The table '*_finder_tokens' is full
Ho trovato questa patch che dicono dovrebbe risolvere ma voi che ne pensate?
diff --git a/administrator/components/com_finder/helpers/indexer/indexer.php b/administrator/components/com_finder/helpers/indexer/indexer.php
index 3870e0e..868e44f 100644
--- a/administrator/components/com_finder/helpers/indexer/indexer.php
+++ b/administrator/components/com_finder/helpers/indexer/indexer.php
@@ -1246,7 +1246,7 @@
throw new Exception($db->getErrorMsg(), 500);
}
- return count($values);
+ return $values;
}
/**
diff --git a/administrator/components/com_finder/helpers/indexer/parser/html.php b/administrator/components/com_finder/helpers/indexer/parser/html.php
index c5d6a33..f790d1e 100644
--- a/administrator/components/com_finder/helpers/indexer/parser/html.php
+++ b/administrator/components/com_finder/helpers/indexer/parser/html.php
@@ -29,7 +29,10 @@
*/
protected function process($input)
{
- // Strip all script tags.
+ // Strip invalid UTF-8 characters.
+ $input = iconv("utf-8", "utf-8//IGNORE", $input);
+
+ // Strip all script tags.
$input = preg_replace('#<script[^>]*>.*?</script>#si', ' ', $input);
// Deal with spacing issues in the input.