Part of achmadi's journeys in Techno
Several days ago I’ve played with some document management system based on mambo called Doc Man version 1.3 RC 2. But in my computer it won’t work well isnce my first installation. I’ve already check into the forum, but I still can’t find the solution for some of the bugs. I’ve already check those bugs on several machine, those machines are :
1. IBM thinkpad R51, Microsoft Windows XP Professional SP 1, latest update. Apache 2.0.55, PHP 5.1.2, and MySQL 5.0.18
2. HP xw4300 Workstation, Microsoft Windows XP Professional SP 2, Apache 2.0.52, PHP 5.0.3, MySQL 4.1.8
3. P IV 2.4 GHz, Linux Red Hat 7.3, Apache 1.3.33, PHP 4.3.10, MySQL 3.23.57
I must admit that on Linux Machine, the bugs are slightly less compared to windows machine, event the version of Apache, PHP and MySQL is lower than MS Windows.
Those bugs are :
- At Groups Management on Administrator Control Panel, when you do add / edit, it won’t include the last state from the display list (max column displayed). Maximum listed value is 10, I need to set the value to 50, so if I do some modifications (add/edit/delete) it will display all the list. I’m getting pissed off to click next-back just to make sure that every groups are listed and checked. Simple, one view, is better.
Solution :
- go to /administrator/components/com_docman/includes/groups.php
- go to line 116 [if you can’t find it, go to function showGroups ($option) ]
- find this syntax->
$limit = intval(mosGetParam($_POST, 'limit', 10));
- change those line into
$limit = intval(mosGetParam($_POST, 'limit', 50));
-
Fatal error: Cannot redeclare class dmparameters in C:\AppServ\www\beta\administrator\components\com_docman\classes\DOCMAN_params.class.php on line 220
I got this error message when submit new document from user page [not administration page]. This bug only appear on My Windows machine, I’ve put the same scripts and database on my Linux machine and nothing happen, things running smooth.
Solution :
- Go to ./components/com_docman/includes/documents.php
- go to function editDocuments($uid)
- find line with syntax
require_once ("components/com_docman/classes/DOCMAN_params.class.php")
- comment those line
- At submit new document area [user page, not administration page], step 1 of 3, HTMLArea is too wide. First thing, I thought it was cross browser problem, I’ve check it on Internet Explorer 7.0, Firefox 1.5.0.4, and Opera 8.51. The bug is still exists.
Solution :
- find /components/com_docman/includes_frontend/documents.html.php
- go to line 61 (function editDocumentForm), find this command,
form action="index.php" method="post" name="adminForm" onsubmit="javascript:setgood();" id="dm_frmedit" class="dm_form"
- delete this part from that line
class="dm_form"
Until this phase, the HTML Area is no longer wide, but the Layout will be messed up with some box line. To fixed this do these steps :
- find file components\com_docman\themes\default\css\theme.css
- add this syntax
#dm_frmedit fieldset { border: 0 none; margin: 0; padding: 0.5em;}
- The search form can’t return any results
Solution :
- Get file /administrator/components/com_docman/classes/DOCMAN_utils.class.php
- go to
function search(&$searchArray, $ordering = '', $cats = '', $columns = '', $options = array())
- comment this parts :
if (! $registered > 0) {
return array();
}
Anyway, I’m not a native english. Sorry if my English is bad
.
1 Comment »