#1819 warning in DBPager.php

phpws1.x
closed-fixed
None
5
2008-03-14
2008-01-11
trogers
No

I received the following after navigating to admin>>My page>>Notes

Warning: preg_replace(): Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 7 in /MYWEBSITE PATH/core/class/DBPager.php on line 890

http://phpws.pws-mortgage.com/phpinfo.php

PHPws1.3.1 -
Module Title Current version
Core 1.7.2
Boost 2.2.1
Categories 2.2.0
Clipboard 1.0.0
Comments 0.6.4
Control Panel 2.1.4
Demographics 1.0.0
File Cabinet 1.4.2
Layout 2.4.2
MiniAdmin 1.1.1
Notes 0.2.0
Search 0.3.1
Users 2.4.7
Version 0.1.5
Access 0.2.3
Block 1.1.3
Blog 1.6.0
Branch 1.1.2
Breadcrumb 2.0.0
Calendar 1.5.2
Menu 1.4.4
PageSmith 1.0.1
Form Generator 3.1.0
Photo Album 1.4.2
Profiler 0.3.2
Related 0.1.5
RSSFeeds 0.2.1
Signup 1.0.1
Web Pages 1.0.0
Whodis? 0.1.1

Discussion

  • Logged In: YES
    user_id=400519
    Originator: NO

    Previously, \w in regular expression meant 'any digit or letter a-z'. This meant accented characters in other languages would be skipped. To get around this \pL was added which means any letter among the known languages. Unfortunately, this PHP change is lost in older versions.

    To get around this, new versions will let you add this line to your config/core/config.php file:
    define('UTF8_MODE', false);
    This will make searches that check against this to ignore the \pL parameter.

    Expect this in the next version.

     
    • assigned_to: nobody --> stardog
    • status: open --> closed-fixed