|
03-08-2004, 11:35 AM | #1 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Cleanup Engine Bug and Fix
Hi. If you are using a charset other than ISO-8859-1 or ISO-8859-2 then cleanup_engine.php basically deletes any word that doesn't start with a [0-9a-zßðþ] character. To fix this do the following.
In cleanup_engine.php replace Code:
//explore keywords to find bad values $query = "SELECT key_id FROM ".PHPDIG_DB_PREFIX."keywords WHERE twoletters REGEXP \"^[^0-9a-zßðþ]\""; Code:
//explore keywords to find bad values $query = "SELECT key_id FROM ".PHPDIG_DB_PREFIX."keywords WHERE twoletters REGEXP \"^[^".$phpdig_words_chars[PHPDIG_ENCODING]."#$]\"";
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phpdigSessionRemove() fix | zas | Mod Submissions | 0 | 05-14-2007 07:09 AM |
Engine-1.8.3 | liquidice | Troubleshooting | 1 | 12-13-2004 02:32 PM |
URL ? Bug Fix | x0dus | Mod Requests | 2 | 08-20-2004 07:04 AM |
Bug fix for pdftohtml | alivin70 | Mod Submissions | 0 | 02-25-2004 08:19 AM |
Version 1.6.3 Highlight Bug & Fix | Charter | Bug Tracker | 2 | 11-17-2003 01:16 AM |