|
02-23-2005, 09:13 AM | #1 |
Orange Mole
Join Date: Sep 2003
Posts: 40
|
Warning: ereg_replace(): REG_EBRACK
I got this error performing a search.
Warning: ereg_replace(): REG_EBRACK in /var/www/html/phpdig/libs/search_function.php on line 144 There are no errors during spidering but pages are not actually indexed. Look at this table: Hosts : 5 elements Pages : 274 elements Index : 0 elements Keywords : 0 elements Temporary table : 0 elements I'm using phpdig 1.8.7 I have: define('PHPDIG_ENCODING','iso-8859-1'); And this is the httpd.conf relevant portion: # # Specify a default charset for all pages sent out. This is # always a good idea and opens the door for future internationalisation # of your web site, should you ever want it. Specifying it as # a default does little harm; as the standard dictates that a page # is in iso-8859-1 (latin1) unless specified otherwise i.e. you # are merely stating the obvious. There are also some security # reasons in browsers, related to javascript and URL parsing # which encourage you to always set a default char set. # #AddDefaultCharset UTF-8 AddDefaultCharset ISO-8859-1 Any hint? |
02-23-2005, 09:30 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
What is $phpdig_words_chars['iso-8859-1'] set to in the config file?
__________________
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. |
02-23-2005, 09:39 AM | #3 |
Orange Mole
Join Date: Sep 2003
Posts: 40
|
Meybe you mean $phpdig_string_subst['iso-8859-1']?
$phpdig_string_subst['iso-8859-1'] = 'A:ÀÁÂÃÄÅ,a:*áâãäå,O:ÒÓÔÕÖØ,o:òóôõöø,E:ÈÉÊË,e: éêë,C:Ç,c:ç,I:ÌÍÎÏ,i:ì*îï,U:ÙÚÛÜ,u:ùúûü,Y:Ý,y:ÿý,N :Ñ,n:ñ'; It is the default, I didn't change it. |
02-23-2005, 09:41 AM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Nope, I mean $phpdig_words_chars['iso-8859-1']
__________________
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 |
Warning: ereg_replace(): REG_EBRACK in ..... | Jad | Troubleshooting | 3 | 12-12-2004 12:58 AM |
Warning | clearwater | Troubleshooting | 1 | 01-02-2004 09:31 PM |
Warning: .... foreach() | isto | Troubleshooting | 3 | 12-23-2003 05:03 PM |
Requested Warning | Charter | The Mole Hole | 0 | 11-28-2003 06:14 AM |
I got a warning, please help | David J Harmon | Troubleshooting | 6 | 09-29-2003 06:36 PM |