![]() |
Error when rejecting a document - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Bug Reports (https://forum.opendocman.com/forum-8.html) +--- Thread: Error when rejecting a document (/thread-567.html) |
Error when rejecting a document - rggefrm - 11-21-2012 Hi, if I reject a document than a new page open, and I can add information (like with the accepting) why I reject a document. If I than press the button 'Reject" i get the following error message Code: Fatal error: Call to undefined function addLogEntry() in /home/opendocman/toBePublished.php on line 156 However if I log in subsequently as the owner of the document I get the information that my document has been rejected opendocman 1.2.6.2 php 5.3 fastCGI hope this helps to reproduce the error frank undefined function addLogEntry() - rggefrm - 11-21-2012 Hi, I just try for the first time opendocman (1.2.6.2 with php 5.3 / fastCGI) and discovered the following potential bug. Accepting documents as a reviewer works, however the rejection causes problems. I I press "reject" a new page opens and I have to add more information why I reject the document. Now pressing reject (to submit the information to the owner) I get the following error message: Code: Fatal error: Call to undefined function addLogEntry() in /home/frankmattes/test.myvirology.net/opendocman/toBePublished.php on line 156 However, the owner of the document gets the e-mail with the information. I'm wondering now if anyone can reproduce this potential bug. Frank Re: Error when rejecting a document - Stephen - 11-21-2012 That line should read: Code: AccessLog::addLogEntry($fileid,'R'); Please verify. Re: Error when rejecting a document - rggefrm - 11-23-2012 Line 165 in toBePublished.php says Code: addLogEntry($fileid,'R'); and not Code: AccessLog::addLogEntry($fileid,'R'); Do I have to change it ? Re: Error when rejecting a document - rggefrm - 11-23-2012 Error solved after changing the line to: Code: AccessLog::addLogEntry($fileid,'R'); as suggested Thanks for the help Frank Re: Error when rejecting a document - Stephen - 12-18-2012 Fixed for the next release. |