|
Author: Jenny Nguyen
|
|
I have just recently installed docman 1.5.7 and when I go into the administrator page, I try to upload some documents and when I click on New Docs I get an error "string(2) "23" array(1) { [0]=> string(12) "filename.ext" }". The author has mentioned that this is a bug and it will be fix in the next release of 1.5.8. In the mean time you can get around this issue by updating a few line of codes and update the changes to your web server. Follow these to fix the error: 2. In the file (around line 23) replace the following line of code: var_dump(__METHOD__.__LINE__, $cid );die; WITH if(!$cid[0]) {
JFactory::getApplication()
->redirect("index.php?option=com_docman§ion=files",
_DML_MAKE_SELECTION);
}
3. Now save the file and upload it back to the web server. The issue should be solve now.
|
f(!$cid[0]) {
JFactory::getApplication()
->redirect("index.php?option=com_docman §ion=files",
_DML_MAKE_SELECTION);
}
... all is right now ! Thanks a lot !
(sorry for my bad english, i'm french)