PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 02-23-2005, 08:13 AM   #1
alivin70
Orange Mole
 
alivin70's Avatar
 
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?
alivin70 is offline   Reply With Quote
Old 02-23-2005, 08:30 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 02-23-2005, 08:39 AM   #3
alivin70
Orange Mole
 
alivin70's Avatar
 
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.
alivin70 is offline   Reply With Quote
Old 02-23-2005, 08:41 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: ereg_replace(): REG_EBRACK in ..... Jad Troubleshooting 3 12-11-2004 11:58 PM
Warning clearwater Troubleshooting 1 01-02-2004 08:31 PM
Warning: .... foreach() isto Troubleshooting 3 12-23-2003 04:03 PM
Requested Warning Charter The Mole Hole 0 11-28-2003 05:14 AM
I got a warning, please help David J Harmon Troubleshooting 6 09-29-2003 05:36 PM


All times are GMT -8. The time now is 11:24 AM.


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