Can not replace Documents
A great document management system for Joomla 3.x
Brought to you by:
duddy67
I can not replace documents. I get the Message "Item successfully saved" but the document does not get replace by the new one.
System Information
PHP Built On Linux -- 2.6.32-531.17.1.lve1.2.60.el5h.x86_64 #1 SMP
Database Version 5.5.44-MariaDB-cll-lve
PHP Version 5.5.30
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.4.5 Stable [ Ember ] 22-October-2015 21:30 GMT
Hi,
I can't tell what's wrong as I can't reproduce that bug, everything works as expected here.
Do you try to replace document from backend or frontend interface ?
I know it sounds silly but ensure the replacement document is different from the original one.
I get this problem from the backen and the replacement document is different from the original one.
It works just find when I create and upload a new document. My folders are symbolic links above the public_html root dir.
I will reinstall Okey DOC on an other new Joomla installation and see if I can reproduce the bug myself. It may take me till tomorrow to get back to you as I have to go out today.
I installed the available package on a fresh newly installed Joomla 3.4.5 site and tested it with PHP 5.6, 5.5, 5.4 and 5.3. I can not replace a document.
At this point I think the available package is corrupt. Please is-it possible to zip a new package?
I installed Okey DOC on 3 other websites which are on different servers and I still get the same issue to replace a document. I did not used symbolic links this time. The file is saved in the selected folder under okeydoc folder.
Also from the download you provide here on sourceforge.net the 4th Tab is missing the translation in your language file. We see this Text: COM_OKEYDOC_DETAILS_FIELDSET_LABEL
I do not understand why the same info needs to be enter twice in the Details Tab and the COM_OKEYDOC_DETAILS_FIELDSET_LABEL Tab. Example: We have to select the file twice, or enter the Title, category and author twice. Is-it possible to explain Why?
Thanks for your help and for all the tests you've run.
Regarding the duplicate tabs problem it showed up with the Joomla 3.4.4 upgrade.
Some modifications in Joomla's code have caused this bug in OkeyDoc.
It's very suprising that no one has complained so far.
Concerning the document replacement problem I still don't know what to say as everything
works fine here.
Anyway, I've just put the OkeyDoc 1.5 version online.
The duplicate tabs bug is fixed and there is a new permission feature for document items.
Please let me know how things go on your server.
Thanks
Your new Okey DOC 1.5 version package has fixed also the major bub about replacing a document. Thanks Very Much!!! :)
If you set in the Global Config the Server->Error Reporting to maximum you will see these Warnings when editing a document. It is something that should be fix for the next version.
Strict Standards: Declaration of OkeydocModelDocument::prepareTable() should be compatible with JModelAdmin::prepareTable($table) in /home/misty/public_html/administrator/components/com_okeydoc/models/document.php on line 17
Strict Standards: Declaration of OkeydocTableDocument::_getAssetParentId() should be compatible with JTable::_getAssetParentId(JTable $table = NULL, $id = NULL) in /home/misty/public_html/administrator/components/com_okeydoc/tables/document.php on line 185
Strict Standards: Only variables should be assigned by reference in /home/danpain1/public_html/administrator/components/com_okeydoc/models/fields/componentcategories.php on line 36