|
02-22-2005, 06:13 AM | #1 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
Warning: mb_ereg_replace() [function.mb-ereg-replace] ...
Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/lightpower.de/htdocs/suche/libs/search_functions.php on line 174
Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/lightpower.de/htdocs/suche/libs/search_functions.php on line 175 Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/lightpower.de/htdocs/suche/libs/search_functions.php on line 176 Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/lightpower.de/htdocs/suche/libs/search_functions.php on line 177 |
02-22-2005, 06:15 AM | #2 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
Warning: mb_ereg_replace() [function.mb-ereg-replace] ...
Hi!
I'm trying to get phpdig running... I got all the pages indexed correctly but when I try to search this comes out: (can anybody help me please? -> thx!) Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/xxx/htdocs/suche/libs/search_functions.php on line 174 Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/xxx/htdocs/suche/libs/search_functions.php on line 175 Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/xxx/htdocs/suche/libs/search_functions.php on line 176 Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: premature end of char-class in /home/xxx/htdocs/suche/libs/search_functions.php on line 177 Last edited by kaffeebronko; 02-22-2005 at 06:20 AM. |
02-22-2005, 05:44 PM | #3 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
What versions: PHP, MySQL, PhpDig?
__________________
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. |
02-23-2005, 12:50 AM | #4 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
Sorry...
PHP 5.0.3 MySQL 4.1.10 PhpDig 1.8.8-rc1 |
02-23-2005, 12:55 AM | #5 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Do you have the .htaccess file that came with PhpDig 1.8.8 RC1 in your PhpDig directory?
__________________
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. |
02-23-2005, 01:59 AM | #6 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
Yes, this is the content at the moment ( I didn't change anything...)
# start htaccess file PHP_VALUE default_charset UTF-8 PHP_VALUE mbstring.func_overload 0 PHP_VALUE mbstring.encoding_translation On # end htaccess file |
02-23-2005, 02:01 AM | #7 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Try changing PHP_VALUE mbstring.func_overload 0 to PHP_VALUE mbstring.func_overload 7
__________________
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. |
02-23-2005, 02:27 AM | #8 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
I tried that in the php.ini yesterday. But anyway I tried it in the .htaccess - file after your posting, but it didn't seem work. Do you know any other hint? Would be cool... thanks.
|
02-23-2005, 02:37 AM | #9 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
You can set PHP_VALUE mbstring.func_overload 7 back to PHP_VALUE mbstring.func_overload 0 in the .htaccess file, as zero is what I considered when I made the code.
The thing is that the robot_functions.php file has similar statements, so it's weird that you didn't see errors like this when indexing, or did you?
__________________
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. |
02-23-2005, 02:47 AM | #10 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
While Indexing the sites the program works very well... all things are ok... I proved it in the database. Only if I to search with the search.php script then I see this Warnings...
|
02-23-2005, 03:19 AM | #11 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Did you change any of the code? Again weird, because robot_functions.php contains similar statements, oh and so does phpdig_functions.php.
__________________
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. |
02-23-2005, 03:42 AM | #12 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
No I didn't change any of the code... I did a fresh install 3 times. The last time I just edited the /includes/config.php and the /includes/connect.php..
connect.php: define('PHPDIG_DB_PREFIX',''); define('PHPDIG_DB_HOST','localhost'); define('PHPDIG_DB_USER','xxx'); define('PHPDIG_DB_PASS','xxx'); define('PHPDIG_DB_NAME','phpdig'); and in the config.php I changed: define('PHPDIG_ADM_AUTH','1'); // activates/deactivates login define('PHPDIG_ADM_USER','xxx'); // login username define('PHPDIG_ADM_PASS','xxx'); // login password That's the only things I changed in my last install... |
02-23-2005, 03:46 AM | #13 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Are you able to try PhpDig 1.8.8 RC1 on PHP 4.3.10?
__________________
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. |
02-23-2005, 04:13 AM | #14 |
Green Mole
Join Date: Feb 2005
Posts: 13
|
yes... will take a moment... I'll try to downgrade the testserver...
|
02-23-2005, 05:02 AM | #15 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Okay, cool. I don't yet see why robot_functions.php and phpdig_functions.php work okay but search_functions.php barfs.
__________________
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help using output as Array function | ehdesign | How-to Forum | 0 | 09-16-2006 06:32 AM |
mb_ereg_replace() | frankyfish | Troubleshooting | 0 | 06-22-2006 01:02 PM |
Spider problem, Search mb_ereg_replace problem. (Fixed?!) | cpeter | Troubleshooting | 0 | 02-24-2006 02:56 PM |
ereg(): REG_BADRPT | jerrywin5 | How-to Forum | 2 | 04-06-2005 09:04 PM |
Warning | clearwater | Troubleshooting | 1 | 01-02-2004 09:31 PM |