PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Warning: ereg_replace(): REG_EBRACK (http://www.phpdig.net/forum/showthread.php?t=1873)

alivin70 02-23-2005 08:13 AM

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?

Charter 02-23-2005 08:30 AM

What is $phpdig_words_chars['iso-8859-1'] set to in the config file?

alivin70 02-23-2005 08:39 AM

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.

Charter 02-23-2005 08:41 AM

Nope, I mean $phpdig_words_chars['iso-8859-1']


All times are GMT -8. The time now is 01:27 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.