Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess
10-12-2012, 04:26 PM,
#1
Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess
Hi,

I have just installed letoDMS 3.3.9 on a shared hosted server (dreamhost). The installation process was not easy, in particular it was difficult to figure out how to add the pear path.

I have now tried to add a Categories as an Administrator.
However after 'saving' i get the following error

Code:
Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess could not be converted to string in /home/frankmattes/myvirology.net/LetoDMS_Core/Core/inc.ClassDMS.php on line 1142

could this be related to pear Log extension? (php is not finding the pear extension).

Has anyone had the same error?

frank
Reply
10-13-2012, 06:12 PM,
#2
RE: Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess
(10-12-2012, 04:26 PM)fmm Wrote: Hi,

I have just installed letoDMS 3.3.9 on a shared hosted server (dreamhost). The installation process was not easy, in particular it was difficult to figure out how to add the pear path.

I have now tried to add a Categories as an Administrator.
However after 'saving' i get the following error

Code:
Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess could not be converted to string in /home/frankmattes/myvirology.net/LetoDMS_Core/Core/inc.ClassDMS.php on line 1142

could this be related to pear Log extension? (php is not finding the pear extension).

This looks pretty much like a bug. I can reproduce it.

Uwe
Reply
11-05-2012, 09:29 PM,
#3
RE: Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess
(10-13-2012, 06:12 PM)steinm Wrote: This looks pretty much like a bug. I can reproduce it.

I had the same error and I fixed!
The line 1142 in inc.ClassDMS.php file was initially in this way:

$queryStr = "INSERT INTO tblCategory (name) VALUES (".$this->db-qstr($name).")";

as you can see a ">" between db-qstr is missing...
if you change the line into:

$queryStr = "INSERT INTO tblCategory (name) VALUES (".$this->db->qstr($name).")";

all will work in the correct way.
Rolleyes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Contact Us | LetoDMS Community Forum | Return to Top | | Lite (Archive) Mode | RSS Syndication