PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 12-22-2005, 07:39 AM   #1
casimiro
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 192.168.1.1] 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: http://www.extramundobrasil.com.br/...ider/search.php

The href is in the form: http://www.extramundobrasil.com.br/...10&option=start

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
casimiro is offline   Reply With Quote
Reply

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 01:41 PM.


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