Go Back > PhpDig Forums > Troubleshooting

Thread Tools
Old 12-22-2005, 07:39 AM   #1
Green Mole
Join Date: Dec 2005
Posts: 2
Is this a character encoding problem ?

I get the following problem when someone tries to make a consult:

[client] PHP Warning: mb_eregi() [<a href='function.mb-eregi'>function.mb-eregi</a>]: mbregex compile err: premature end of char-class in /var/www/html/...l/spider/libs/search_function.php on line 488, referer:

The href is in the form:

The character encoding is ISO-8859-1, but MySQL was configured to set tables in UTF-8.

What happens:

I can search sites without trouble (no error messages, nothing). The databases seem to be all right.

When I query the search engine for results (search) it replies the entries without the links (as if the <a href...> is missing), the second line presents OK (including the two urls). So there's nothing to click in order to follow the found link.

It happens in all templates (i use linear). It happens both if I use Portuguese (pt) or English encodings (en).

Box is FC4 + PHP5.

Best regards,

casimiro is offline   Reply With Quote

Thread Tools

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
Index only XXX character... PL_90 How-to Forum 0 10-05-2007 11:28 AM
Encoding Problem. Please help Paka76 How-to Forum 0 01-04-2006 06:15 AM
Encoding for character entitdy references like &trade; designsimply Troubleshooting 2 05-10-2005 10:21 AM
Encoding Problem starks How-to Forum 4 01-06-2005 06:12 PM
Cyrillic character in the URL !? wertas Troubleshooting 1 02-16-2004 01:09 PM

All times are GMT -8. The time now is 08:14 PM.

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