Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error using addoc on CLI
#2
(11-09-2012, 09:41 AM)ericsmythe Wrote: I am trying to add a file using this command;
[eric@pepper /usr/share/letodms] $ sudo /usr/share/letodms/utils/letodms-adddoc -F 6 -f ~/foobar.doc
PHP Fatal error: Call to a member function isAdmin() on a non-object in /usr/share/php/LetoDMS/Core/inc.ClassFolder.php on line 759

$ dpkg -l letodms:
ii letodms 3.3.4+dfsg-1 all document management system based on PHP and MySQL

That looks like there is no user object. It is created very early in the adddoc.php script. Search for 'dms->getUser'. adddoc.php uses a fixed user id. Maybe you have deleted that user.

Uwe
Reply


Messages In This Thread
Error using addoc on CLI - by ericsmythe - 11-09-2012, 09:41 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)