![]() |
Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11) +--- Thread: Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess (/showthread.php?tid=560) |
Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess - fmm - 10-12-2012 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 RE: Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess - steinm - 10-13-2012 (10-12-2012, 04:26 PM)fmm Wrote: Hi, This looks pretty much like a bug. I can reproduce it. Uwe RE: Catchable fatal error: Object of class LetoDMS_Core_DatabaseAccess - poitelodico - 11-05-2012 (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. ![]() |