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
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.

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.

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

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.

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.

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".


1. Make the corrections stated in the posts:

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!

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".


First make the corrections in the two posts:

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....

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

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
 ('webpages-panel','web pages','ico-webpages',1,'webpage','init','','',0,'system',6,0,4);

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.

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:
the error still occurs.

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 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 .

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

Feature requests / Re: Spreadsheets (Gelsheet) WHEN?
« on: December 26, 2012, 04:33:47 PM » 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 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 .

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>';

How To's / Re: Gelsheet?
« on: December 26, 2012, 02:54:38 PM »

The above provides for FO v1.7.2  only.

Does it work in FO v2.2.1?

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