![]() |
Call to undefined method LetoDMS_Core_UserAccess::isAdmin() - 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: Call to undefined method LetoDMS_Core_UserAccess::isAdmin() (/showthread.php?tid=171) |
Call to undefined method LetoDMS_Core_UserAccess::isAdmin() - max - 03-20-2011 Hey everyone, I got a major problem with assigning reviewers and approvers, Whenever a reviewer is selected I get the following error: Code: Fatal error: Call to undefined method LetoDMS_Core_UserAccess::isAdmin() in /usr/local/apache2/letoDMS/Core/inc.ClassDocument.php on line 1389 I tried replacing my current code with the freshly unzipped one and still the same. Is this a common bug? I am running 64bit Ubuntu 10.10 server, PHP 5.3.5; MySQL 5.1 on Apache 2. Thanks. RE: Call to undefined method LetoDMS_Core_UserAccess::isAdmin() - Doudoux - 03-21-2011 Hi In "inc.ClassAccess.php" file add following lines, line 43, in LetoDMS_Core_UserAccess class PHP Code: function isAdmin() { Doudoux RE: Call to undefined method LetoDMS_Core_UserAccess::isAdmin() - max - 03-21-2011 Thanks a lot Doudoux, how come no one else had a problem? or is no one using the 3.0RC2 or are they smart enough to correct these simple errors? Any ways, I had another question for you, I added 6.4GB of documents (using scripts), now I tried to create a backup archive of the entire thing, at first the output was a blank page after a long while; Then I did it again and left the system to shutdown after 2 hours. When I check the page I found there was only one archive 54MB large. I checked the data folder, there are 3 tar archives 6GB each and one tar.gz archive of 54MB. o/p of the ls -l command: Code: root@server:/usr/local/apache2# ls /var/lib/letoDMS/data/ -lh Which one do I use? BTW, is there a problem with PHP 5.3.2? Sorry for so many questions. Thanks again for the "isAdmin()" solution. Max |