Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - apmuthu

Pages: [1] 2
1
Installation problems / Differences between v2.2.1 and v2.2.2
« on: December 27, 2012, 02:26:54 PM »
The attachments to this forum's posts is broken / disabled - 500KB allowed it says, but even a small file is disregarded and states that the upload folder is full - The upload folder is full. Please try a smaller file and/or contact an administrator.

Differences between FO v2.2.1 and v2.2.2

Most of my patches have not been included and some have been differently done (mail plugin info, etc). Minor db schema changes are there.

There are
1. one new file in the webroot - rebuild_sharing_table.php
2. two new files in one new folder,
3. Needless one HTML folder with one ser file in it that are temporrary and get created when needed and hence should not be part of any distribution - please repack distribution without this.

apmuthu.com/bugfixes/FO_221_to_222_files.7z

2
Installation problems / Re: Solving Missing lang issue
« on: December 27, 2012, 01:19:22 PM »
Actually it would be nice to have the bug tracker in read only mode atleast, without having to login, just like how the forum is. Since the developer repo is not open to the public, there is no way to contribute in synch without having to fork it and that is too much a hassle.

Both the code and the db schema need a whole overhaul - 98 tables in v2.2.1 is way too much.

The forum seems to have all posts in centered format mode and we have to manually left align each post!

It would also be nice to allow the posting of URLs atleast for certain categories of members (include me there :) ).

Have provided a link to your hosted offering at the ProxmoxVE Project page along with a full disclosure so that there would be no appropriateness / legal issues.

pve.proxmox.com/wiki/FengOffice

This issue is not fixed even in v2.2.2 and this post is still valid.

3
Installation problems / Event Class function call error fix
« on: December 27, 2012, 07:04:01 AM »
Line 2867 in application/controllers/ContactController.class.php calls function evt_add without second parameter.

The second parameter can be null as seen in a call at line 797 in application/controllers/AdministrationController.class.php

Hence we solve it by making it an optional parameter with a default of null.

function evt_add is defined in environment/classes/event/event.php in line 9 as:
   function evt_add($name, $data) {
which is changed to:
   function evt_add($name, $data=null) {
thereby solving the issue.


4
Installation problems / ContactController Issue
« on: December 27, 2012, 06:56:53 AM »
FengOffice v2.2.1:

Insert at Line 2633 in file application/controllers/ContactController.class.php
         $country = "";
so that $company_data in line 2642 can succeed when there is no $address in line 2634 available.


5
Installation problems / Solving for Missing Lang issue
« on: December 27, 2012, 06:53:19 AM »
Feng Office v2.2.1

18 hours of searching for the elusive bug - Missing lang in tabs names - finally done.

Administrator -> Tabs -> Try saving any changes to to the ordering / enablement and the resulting page will have it's tab panels named "Missing lang".

Solution:

1. Make the corrections stated in the posts:
topic=15792.0
and
topic=15791.0

2. Spelling mistake in the field name conditions must be corrected in:
Line 11 of application/models/tab_panels/TabPanels.class.php
        return self::findAll(array("condtitions" => "`enabled` = 1"));
should be
        return self::findAll(array("conditions" => "`enabled` = 1"));

Viola! The Missing lang bug is gone!

6
Installation problems / Solving Missing lang issue
« on: December 27, 2012, 06:45:37 AM »
FengOffice v2.2.1 and v2.2.2:

If we try to go to Administrator -> Tabs and save any changes, the tab names become "Missing lang".

Solution:

First make the corrections in the two posts:
hxxp://forums.fengoffice.com/index.php?topic=15792.0
and
hxxp://forums.fengoffice.com/index.php?topic=15791.0

Then make the following correction - spelling mistake in the conditions field:
Line 11 of application/models/tab_panels/TabPanels.class.php
       return self::findAll(array("condtitions" => "`enabled` = 1"));
should be
       return self::findAll(array("conditions" => "`enabled` = 1"));

Viola! The error goes away! That was 18 hours of searching for a bug successfully....

7
Installation problems / Error in mysql_real_escape_string
« on: December 27, 2012, 06:38:20 AM »
Since there is no db connection in scope and the title field is not editable,
Line 805 in application/controllers/AdministrationController.class.php
         $title = (mysql_real_escape_string($tab['title']);
should be
         $title = trim($tab['title']) ;

Fix needs to be done for v2.2.1 and v2.2.2

8
Installation problems / tab_panels table corrections
« on: December 27, 2012, 06:35:08 AM »
Lines 301-310 of public/install/installation/templates/sql/mysql_initial_data.php have it's ordering field unique with:

INSERT INTO `<?php echo $table_prefix ?>tab_panels` (`id`,`title`,`icon_cls`,`refresh_on_context_change`,`default_controller`,`default_action`,`initial_controller`,`initial_action`,`enabled`,`type`,`ordering`,`plugin_id`,`object_type_id`) VALUES
 ('calendar-panel','calendar','ico-calendar',1,'event','view_calendar','','',0,'system',8,0,11),
 ('contacts-panel','contacts','ico-contacts',1,'contact','init','','',0,'system',5,0,16),
 ('documents-panel','documents','ico-documents',1,'files','init','','',1,'system',4,0,6),
 ('messages-panel','messages','ico-messages',1,'message','init','','',1,'system',0,0,3),
 ('overview-panel','overview','ico-overview',1,'dashboard','main_dashboard','dashboard','main_dashboard',1,'system',-100,0,0),
 ('reporting-panel','reporting','ico-reporting',1,'reporting','index','','',0,'system',9,0,12),
 ('tasks-panel','tasks','ico-tasks',1,'task','new_list_tasks','','',1,'system',2,0,5),
 ('time-panel','time','ico-time-layout',1,'time','index','','',0,'system',7,0,0),
 ('webpages-panel','web pages','ico-webpages',1,'webpage','init','','',0,'system',6,0,4);

9
Installation problems / Re: opengoo missing lang.js error
« on: December 26, 2012, 11:40:22 PM »
No use even in v2.2.1 - making all the files and folders chmod -R 755 /var/www/fengoffice also is useless.
There is some override of js path happening that does not show up in th ecache/log.php files either.

10
Installation problems / Re: help! missing lang.js
« on: December 26, 2012, 11:23:26 PM »
In the latest v2.2.1, all installs well and all the language strings show up too. After we upload the company logo, the "Missing lang" comes up only on the tab names. and permission listing page for the tab names.

en_us is used.

Tried to use the undocumented feature of DEBUG_DB = true and DEBUG_TIME = true in config/config.php to no avail.

lang.js is now loaded thru' app.js

even after making line 18 in public/assets/javascript/og/app.js as:
value=name;
the error still occurs.


11
Ideas / Re: Access to svn of development versions source and svn changelog
« on: December 26, 2012, 04:40:55 PM »
Yes, it was the last OpenGOO v1.6.4.2 unreleased code that got migrated to the FengOffice v1.6.2 as the first in their commercial licencing version where slowly the best plugins were made available to commercial users only.

Study the differences between the FO v1.7.2 and the same version released by the gelsheet.org team with the gelsheet plugin incorporated and we can see that the gelsheet in it's earlier version was commented out in the fengoffice release.

The difference set is available at:
www . apmuthu.com/bugfixes/fengoffice_v1.7.2_to_gelsheet_v1.0.3_diffs.zip

and available to anyone who wants to implement an open source gelsheet plugin for the community is welcome to do so.

12
Feature requests / Re: Spreadsheets (Gelsheet) WHEN?
« on: December 26, 2012, 04:33:47 PM »
opengoo.cvs.sourceforge.net has the last opengoo v1.6.4.2 that contains gelsheet which has been commented out in v1.7.2 (gelsheet v1.0.2) and then removed altogether from the community edition.

The gelsheet.org project released a v1.0.3 with FengOffice v1.7.2. The 24 files that were different in the gelsheet edition that enables FengOffice v1.7.2 to run correctly is at:

www . apmuthu.com/bugfixes/fengoffice_v1.7.2_to_gelsheet_v1.0.3_diffs.zip

13
How To's / Re: @back_color
« on: December 26, 2012, 03:17:55 PM »
Line 147 mut be taken out and modified and inserted between lines 143 and 144:

Lines 143-148:
if ($contact instanceof ApplicationDataObject) {
    echo '<div style="margin:20px 0;'.$back_color.'">';
    echo render_custom_properties($contact);
    echo '</div>';
    $back_color = $back_color == '' ? $bc : '';
}


should be:

if ($contact instanceof ApplicationDataObject) {
     $back_color = (!isset($back_color) || ($back_color == '')) ? $bc : '';
     echo '<div style="margin:20px 0;'.$back_color.'">';
     echo render_custom_properties($contact);
     echo '</div>';
}

14
How To's / Re: Gelsheet?
« on: December 26, 2012, 02:54:38 PM »
sourceforge.net/projects/gelsheet/files/latest/download

The above provides for FO v1.7.2  only.

Does it work in FO v2.2.1?

15
If Workspace A is under Workspace B, then any user with write permissions in Workspace B will have such rights in Workspace A and will override any inferior rights in Workspace A.

FengOffice follows a hierarchial permission system that gets inherited and overides permissions set in sub workspaces.

This is not like the true ACLs that permit the lowest object in the hierarchy to set fine grained permissions as seen in phpGACL and other projects.

Hence make the Workspace independant of Workspace B and use Tags to link objects between them and provide permissions on a need to use role basis across workspaces.


Pages: [1] 2
anything
anything