Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Log Files Management Error
#1
Fatal error: Call to a member function getUser() on a non-object
Hello,

the following error

My Account --> EDIT Notification lIst --> Choose folder --> include subDir and /or include docs --> ADD

this error appears

Fatal error: Call to a member function getUser() on a non-object in C:\xampp\htdocs\letodms\op\op.ManageNotify.php on line 38

but if you got back, it seems that it has been done. Really?

LetoDMS: 3.0.0 RC2
WIN7
Apache 1.7.3
Reply
#2
Fatal error: Call to undefined function getGroup()

System : Win 7
LetoDMS: 3.0.0 RC2
apache 1.7.3

This error comes when


EDIT ACCESS --> EDIT ACCESS LIST --> now choose GROUP --> define ACCESS MODE --> ADD

And this appears:

Call to undefined function getGroup() in C:\xampp\htdocs\letodms\op\op.FolderAccess.php on line 95

Have somebody an idea?
Reply
#3
This Error appears when you use the Files Management button.

readfile(C:/xampp/data/) [function.readfile]: failed to open stream: No such file or directory in C:\xampp\htdocs\letodms\out\out.LogManagement.php on line 97

But the files are in the folder ...\DATA


System: Win 7
LetoDMS 3 0.0. RC2
apache 1.7.3

Can somebody help me?
Reply
#4
(03-14-2011, 08:38 PM)zaguar Wrote: This Error appears when you use the Files Management button.

readfile(C:/xampp/data/) [function.readfile]: failed to open stream: No such file or directory in C:\xampp\htdocs\letodms\out\out.LogManagement.php on line 97

But the files are in the folder ...\DATA


System: Win 7
LetoDMS 3 0.0. RC2
apache 1.7.3

Can somebody help me?

hi

thanks for using LetoDMS

please run this and post the results in here

http://forums.letodms.com/showthread.php?tid=244

Thanks

LetoDMS team.
Reply
#5
Thx for the quick answer, but it didn´t helped at all, or I dind´t found the hint.

Could you plz specified where I should look (sorry I´m a nooby)
Reply
#6
Hi

In "op.FolderAccess.php" file change line 95

PHP Code:
if (!is_object(getGroup($_GET["groupid"]))) { 
to
PHP Code:
if (!is_object($dms->getGroup($_GET["groupid"]))) { 

In "op.ManageNotify.php" file change line 30

PHP Code:
function add_folder_notify($folder,$userid,$recursefolder,$recursedoc) {
    
$folder->addNotify($useridtrue); 
to
PHP Code:
function add_folder_notify($folder,$userid,$recursefolder,$recursedoc) {
    global 
$dms;
  
    
$folder->addNotify($useridtrue); 

In "out.LogManagement.php" file change line 88

PHP Code:
if (file_exists($settings->_contentDir.$logname)){ 
to
PHP Code:
if (isset($logname) && (file_exists($settings->_contentDir.$logname)) ) { 


Doudoux

Reply
#7
Hi Doudoux,

grazie mille, merci, danke, thank you. Smile

But I have an other question: Did I found all errors or still exists other knowns errors.

Saluti, Gianni
Reply


Forum Jump:


Users browsing this thread: