PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Warning: mb_ereg_replace() [function.mb-ereg-replace] ... (http://www.phpdig.net/forum/showthread.php?t=1869)

kaffeebronko 02-23-2005 05:11 AM

ok... I downgraded my PHP to 4.3.10. The Warn-Messages don't appear again, but no search results... I'm sure that the tested words are spidered and in the database.
What could that be? Maybe you can help me?

Charter 02-23-2005 05:26 AM

What language are the pages you indexed?

kaffeebronko 02-23-2005 05:30 AM

english and german but mostly german...

Charter 02-23-2005 05:37 AM

What if you search on a word without umlauts?

kaffeebronko 02-23-2005 05:49 AM

nothing... no search results... :-( mmmm... I got no idea...

Charter 02-23-2005 05:57 AM

Maybe something weird happened with PHP v.5.0.3, but I'm just not sure. Try using define('DETECT_ORDER','UTF-8,ISO-8859-1,ASCII'); in the config file, install new PhpDig tables using a different prefix, make sure the new prefix is in the connect.php file, and index a few pages. Let me know if you get results.

kaffeebronko 02-23-2005 07:03 AM

Thanks! That was it!
I used your new define row and deleted the database for the phpdig-program.
Then I updated the script and Indexed the site one again... This time it works! ;-)

I hope it was helping you too for debugging your software...

kaffeebronko 02-23-2005 10:56 PM

Hi! It's me again... It dosen't seem work at a PHP 5.0.3 System. When I modify the code with your new define row while I'm using PHP 4.3.10 all works fine. But when I upgradet to php 5 again the search script don't works...

Charter 02-26-2005 07:35 PM

I'm not sure why PhpDig v.1.8.8 RC1 and PHP v.5.0.3 don't get along. Perhaps there is a new option that needs to be set, but I don't have an answer at the moment.


All times are GMT -8. The time now is 02:49 AM.

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