![]() |
Blank page under 'Log files management' - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10) +--- Thread: Blank page under 'Log files management' (/showthread.php?tid=152) Pages:
1
2
|
RE: Blank page under 'Log files management' - matteo lucarelli - 09-01-2010 The readlink function is available on windows system starting from php 5.3.0. to let things works on your system you can symply replace the: if (isset($_GET["logname"])) $logname=$_GET["logname"]; else if (@readlink($settings->_contentDir."current.log")){ $logname=basename(@readlink($settings->_contentDir."current.log")); }else $logname=NULL; with: if (isset($_GET["logname"])) $logname=$_GET["logname"]; else $logname=NULL; let me know, Matteo RE: Blank page under 'Log files management' - fleblic - 09-03-2010 Thanks!! It is working now. I can not delete log files because of if (@readlink($settings->_contentDir."current.log")!=$settings->_contentDir.$entry) print "<li><a href=\"out.RemoveLog.php?logname=".$entry."\">".getMLText("rm_file")."</a></li>"; but I can see them. RE: Blank page under 'Log files management' - matteo lucarelli - 09-06-2010 Again: comment the line using the "readlink". Before: if (@readlink($settings->_contentDir."current.log")!=$settings->_contentDir.$entry) print "<li><a href=\"out.RemoveLog.php?logname=".$entry."\">".getMLText("rm_file")."</a></li>"; after: //if (@readlink($settings->_contentDir."current.log")!=$settings->_contentDir.$entry) print "<li><a href=\"out.RemoveLog.php?logname=".$entry."\">".getMLText("rm_file")."</a></li>"; |