Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bugs in 1.8.1 inc.ClassUI.php
#1
Hi all

I have an 1.8.1 LetoDMS test install running on RHEL5.
I find some errors in the apache log files, showing that the php code il using some uninitialized variables.
The errors are:
Code:
Undefined variable: path in /var/www/letodms/inc/inc.ClassDocument.php on line 1301
Undefined variable: folderid in /var/www/letodms/inc/inc.ClassUI.php on line 250
Undefined property:  Settings::$_versioningFileName in /var/www/letodms/out/out.ViewDocument.php on line 170

In the attached files you can find patches which works for me for the first two errors. They are quite obvious.
For the latter error, I don't know how the _versioningFileName should be initialized in the inc.Settings file, since it seems to be undocumented at the moment. What would be a suitable value for it?

Lux
Reply


Messages In This Thread
bugs in 1.8.1 inc.ClassUI.php - by lux - 05-06-2010, 06:30 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)