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
#2
Thank you for the patch.

About the third error: the settings.inc file should contain something like:

// the name of the versioning info file created by the backup tool
var $_versioningFileName = "versioning_info.txt";

It's strange that your system doesn't have this.
Reply


Forum Jump:


Users browsing this thread: