LetoDMS Community Forum
Message in search result "Function split() is deprecated in" - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+--- Thread: Message in search result "Function split() is deprecated in" (/showthread.php?tid=273)



Message in search result "Function split() is deprecated in" - Daniel - 03-27-2011

Hi,

I searched trough my DMS installation and the following message occured:
Quote:Function split() is deprecated in /volume1/web/docu/Core/inc.ClassDMS.php on line 415

I already reported this message earlier ago in another thread.

My system runs under PHP 5.3.3.

Thanks



RE: Message in search result "Function split() is deprecated in" - Doudoux - 03-28-2011

Hi

In "inc.ClassDMS.php" file change line 415
PHP Code:
$tkeys split("[\t\r\n ,]+"$query); 
to
PHP Code:
$tkeys preg_split("/[\t\r\n ,]+/"$query); 


Doudoux