![]() |
error while using adddoc.php - 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: error while using adddoc.php (/showthread.php?tid=527) |
error while using adddoc.php - fretti_jule - 07-14-2012 Hello, I want to add a lot of documents to the dms by a shell-script, so I found in the forum, there is a script in utils, but if I use letodms_adddoc like Code: utils/letodms-adddoc -F 68 -f /freigabe/Dokumente/installationsanleitung.pdf I got an error Code: PHP Notice: Undefined property: LetoDMS_Core_Document::$_document in /var/www/letoDMS/LetoDMS_Core/Core/inc.ClassDocument.php on line 161 Does anybody know what that mean? I'm not firm in php-coding. I use letoDMS in version 3.3.0 Thanks Thomas RE: error while using adddoc.php - steinm - 07-16-2012 (07-14-2012, 05:56 PM)fretti_jule Wrote: Hello, Well, those utility programs are not officially supported and are not guarantied to work, though I use them occasionally without errors. Just verified the latest version and it work perfectly. You could try a newer version than 3.3.0. Uwe RE: error while using adddoc.php - fretti_jule - 07-20-2012 Hi, thanks Uwe. I found the problem. The user running letodms-adddoc.php haven't rights writing to the directory of dms-data. If I change the user rights the script running well. Greeting Thomas |