proteusmk Posted March 15, 2012 Share Posted March 15, 2012 Prosím o radu. Pri pridávaní nových výrobkov sa mi vyskytol nečakaný problém, ktorý som si vlastne všimol len náhodou. Potreboval som narýchlo vyhľadať vo svojom e-shope jeden výrobok a namiesto toho mi začalo vypisovať toto hlásenie: Warning: preg_replace() [function.preg-replace]: Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in ...tu je zadaná celá cesta a končí ... e-shop/classes/Search.php on line 103 Chyba by mala byť podľa tohoto hlásenia so súborom Search.php, tak som ho nahradil zo zálohového adresára, ale nič sa nezmenilo.... Prosím o radu. Link to comment Share on other sites More sharing options...
chovatelskyshop Posted March 16, 2012 Share Posted March 16, 2012 Zdravim, bojujem s tym istym problemom. Search.php je prebrane ciastocne z systemu Drupal a zatial co som zitil dany problem s preg_replace ma nieco spolocne s libpcre instalovanej v systeme. Od urcitej verzie to vypisuje.... riesenie som zatial ziadne nenasiel (okrem "downgrade" systemovej libpcre) Link to comment Share on other sites More sharing options...
proteusmk Posted March 16, 2012 Author Share Posted March 16, 2012 Pekný deň, a kde by som našiel downgrade systemovej libpcre? Pokiaľ to pomôže, tak to rád stiahnem. Verziu prestashopu mám 1.4.6.2. Link to comment Share on other sites More sharing options...
proteusmk Posted March 16, 2012 Author Share Posted March 16, 2012 Ja už mám problém vyriešený. Môj provider nejako zasiahol na servery, mne potom stačilo znovu obnoviť celý index: Administrácia Nastavenia Search -> Obnoviť celý index. a odvtedy všetko šlape . Link to comment Share on other sites More sharing options...
qwerty232 Posted March 26, 2012 Share Posted March 26, 2012 Ahoj nevies zistit ako "zasiahol"? Mam tiez taky problem. Link to comment Share on other sites More sharing options...
chovatelskyshop Posted March 29, 2012 Share Posted March 29, 2012 staci sa pozriet o prispevok nizsie kde je tio vyriesene... http://www.prestashop.com/forums/topic/160543-riesenie-problem-s-vyhladavanim-chyba-preg-replace/ Link to comment Share on other sites More sharing options...
ADM777 Posted August 13, 2014 Share Posted August 13, 2014 On Search.php on /public_html/classes just delete line: '\x{a80b}\x{a823}-\x{a82b}\x{d800}-\x{f8ff}\x{fb1e}\x{fb29}\x{fd3e}\x{fd3f}'. Save and upload it now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now