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.

Topics - kils

Pages: [1]
How To's / Export report to PDF Cyrillic
« on: January 27, 2015, 10:14:13 am »
Hi all,
i have problem (and FO Demo have this problem), when i export PDF from report for my users with cyrillic letters i have unreadable text in document.

How To's / sys_get_temp_dir() always /tmp
« on: December 09, 2014, 07:20:21 am »
Hi i change my hosting and now i use the ispmanager for manage my server and sites.
And i have problem with "sys_get_temp_dir" function. It always show me "/tmp" but in virtualhost my panel automatically create this rows:
Code: [Select]
php_admin_value upload_tmp_dir "/var/www/office/data/mod-tmp"
php_admin_value session.save_path "/var/www/office/data/mod-tmp"
php_admin_value open_basedir "/var/www/office/data:."

And i have errors in log that my open_basedir prevent access to any directory upper than "/var/www/office/data/"   now i add to open_basedir path to /tmp but it's not very good ignoring "upload_tmp_dir" i think.
Maybe you have some solution of this problem?

How To's / can't see button "add" on workspaces, tags, peoples
« on: December 05, 2014, 05:20:05 am »
i can't see on the left panel ADD buttons for all lists..... i look in permissions, but super administrator also can't see it.
I try to restore some changes in code, but maybe FO have any option for displaing this buttons?

How To's / user can't see some users contacts when created email
« on: December 04, 2014, 05:27:03 am »
Today i try send a message to FO user and i not see him contact in TO field. We have different groups, but i see users from other groups.

How To's / How to disable brand colors?
« on: November 26, 2014, 11:55:08 am »
I working on my custom theme  and my styles was rewriten by brand colors. How i can disable brand colors function?

How To's / Google Chrome freezing on creating event in calendar
« on: October 10, 2014, 07:48:33 am »
Hi, my chrome (38.0.2125.101 m) freezing if i try to create a new event, i know that it happens with next code:
Code: [Select]
og.EventPopUp = function (data, config) {
    if (!config) {
        config = {};
    }, Ext.apply(config, {
        y: 220,
        width: 350,
        height: 230,
        id: 'add-event',
        layout: 'border',
        modal: true,
        resizable: false,
        closeAction: 'hide',
        iconCls: 'ico-calendar',
        title: data.title,
        border: false,
        focus : function() {
            buttons: [{
                text: lang('add event'),
                handler: this.accept,
                scope: this
                text: lang('cancel'),
                handler: this.cancel,
                scope: this
            items: [
                    region: 'center',
                    layout: 'fit',
                    items: [
                        this.form = new Ext.FormPanel({
                            id: data.genid + '-ev_popup_form',
                            labelWidth: 75, // label settings here cascade unless overridden
                            height: 140,
                            url: '',
                            bodyStyle:'padding:20px 20px 0',
                            defaultType: 'textfield',
                            bodyBorder: false,
                            items: [
                                    fieldLabel: lang('name'),
                                    name: 'event[name]',
                                    id: 'name',
                                    enableKeyEvents: true,
                                    style: {width: '200px'},
                                    blankText: lang('this field is required'),
                                    listeners: {specialkey: function(field, ev){
                                        if (ev.getKey() == ev.ENTER) Ext.getCmp('add-event').accept();
                                    name: 'event[start_time]',
                                    id: 'start_time',
                                    xtype: 'timefield',
                                    width: 80,
                                    fieldLabel: lang('event start time'),
                                    format: data.time_format,
                                    editable: false,
                                    value: data.start_time
                                    name: 'event[duration]',
                                    id: 'duration',
                                    xtype: 'timefield',
                                    width: 60,
                                    fieldLabel: lang('duration'),
                                    format: 'G:i',
                                    editable: false,
                                    value: data.durationhour + ':' + (data.durationmin < 10 ? '0':'') + data.durationmin
                                    xtype: 'checkbox',
                                    name: 'event[all_day_event]',
                                    id: 'all_day_event',
                                    fieldLabel: lang('all day event'),
                                    value: (data.type_id == 2)
                                    xtype: 'hidden',
                                    name: 'members',
                                    cls: 'ev_popup_members',
                                    id: data.genid + 'ev_popup_members',
                                    value: ''
                                    xtype: 'hidden',
                                    name: 'event[start_day]',
                                    id: 'day',
                                    xtype: 'hidden',
                                    name: 'event[start_month]',
                                    id: 'month',
                                    value: data.month
                                    xtype: 'hidden',
                                    name: 'event[start_year]',
                                    id: 'year',
                                    value: data.year
                                    xtype: 'hidden',
                                    name: 'event[hour]',
                                    id: 'hour',
                                    value: data.hour
                                    xtype: 'hidden',
                                    name: 'event[minute]',
                                    id: 'min',
                                    value: data.minute
                                    xtype: 'hidden',
                                    name: 'event[type_id]',
                                    id: 'type_id',
                                    value: data.type_id
                                    xtype: 'hidden',
                                    name: 'event[durationhour]',
                                    id: 'durationhour',
                                    value: data.durationhour
                                    xtype: 'hidden',
                                    name: 'event[durationmin]',
                                    id: 'durationmin',
                                    value: data.durationmin
                                    xtype: 'hidden',
                                    name: 'event[start_value]',
                                    id: 'start_value',
                                    value: data.start_value
                                    xtype: 'hidden',
                                    id: 'hide_calendar_toolbar',
                                    value: data.hide_calendar_toolbar
                                    xtype: 'hidden',
                                    name: 'view',
                                    id: 'view',
                                    value: data.view
                    region: 'south',
                    height: 20,
                    html:"<div style='width:100%; text-align:right; padding-right:8px'><a href='#' onclick=\"og.EventPopUp.goToEdit()\">" + lang('edit event details') + "</a></div>"

i try input console.log() into this code and it works if  it before
i swich off all my plugins and nothing happens

How To's / FIXED: deleting cyrillic filenames from forwarded emails
« on: September 22, 2014, 05:37:32 am »
hi i have this trouble and i fix it by change some rows in \plugins\mail\application\controllers\MailController.class.php

in my 2.6.1 FO first row 2386
Code: [Select]
//$fName = iconv_mime_decode($att["FileName"], 0, "UTF-8");
//$fName = str_replace(':', ' ', $fName);
$fName = $att["FileName"]; //new line without decode

How To's / Where i can downolad Community edition
« on: September 11, 2014, 07:29:17 am »
Hi i have fengoffice CE and want upgrade to 2.6.0 and later, but i can't see on sourceforge.....
Can i upgrade directly to 2.6 ?? Or where i can download release?

How To's / Required fileds when creating milestones
« on: June 18, 2014, 02:48:23 am »
When i create milestone i see that due date is required field, but when i click save button i see error with milestone name only and if i leave due date field is blank my milestone will be succesfully created

i fined this code in \application\models\project_milestones\ProjectMilestone.class.php
Code: [Select]
function validate(&$errors) {
if(!$this->getObject()->validatePresenceOf('name')) $errors[] = lang('milestone name required');
if(!$this->validatePresenceOf('due_date')) $errors[] = lang('milestone due date required');
} // validate

maybe this option can be activated in admininstration panel?

Installation problems / ugrading to 2.6.1
« on: June 16, 2014, 03:25:13 am »
hi i try upgrade my FO and have next error:
Code: [Select]
Failed to execute DB schema transformations. MySQL said: Duplicate entry 'milestone_selector_filter' for key 'name'i open all files with 'milestone_selector_filter' and all looks ok.....

ohhh. second upgrading is ok, but page have only top and bottom toolbar and Chrome show me - "Cannot read property 'rememberGUIState' of undefined" (/public/assets/javascript/og/layout.js?rev=1:16)

How To's / Custom field in tasks
« on: May 19, 2014, 10:22:10 am »
I need to create some fields in tasks (example Full_Description field same as Description with text editor) i create new column in database but what files need to change for right work new field?

How To's / Where data of the list of tasks are stored
« on: April 21, 2014, 09:02:19 am »
i try to add some function in fengoffice, and i want update/delete/create new tasks in independent layer and i know how to add all data(start_date, end_date, description, etc.) to database. but i want online updating (same as creating or editing task from task-tab) content then i switch my layer to classic task layer and back.
I really can't see any JSON or some else store.

How To's / Access to tasks fields
« on: April 15, 2014, 09:38:59 am »
hi all,
i try to make some plugin for view tasks more comfortable for me and i don't know:
1) where i can take values for existing fields
2) how i can deliver values from my fields to database same way as it doing tasks form (if i create task i see this task online without update the page)


How To's / Can't add image in ckeditor
« on: April 08, 2014, 07:50:30 am »
in all my feng office installations i see this problem:
1 - i click on Image icon
2 - choose upload tab
3 - choose my file from PC
4 - click Upload and nothing to happen ((
in chrome and firebug i see this error:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) - /public/assets/javascript/ckeditor/ck_upload_handler.php?CKEditor=og_1396953210_113106ckeditor&CKEditorFuncNum=227&langCode=ru

Php error have this:
Warning: require_once(/config/config.php): failed to open stream: No such file or directory in /home/websites/w_dev/ on line 15

Fatal error: require_once(): Failed opening required '/config/config.php' (include_path='.:/opt/php/5.3.13-gd-wuimap-o1/lib/php') in /home/websites/w_dev/ on line 15

i try change rules to config.php on 777, but it's not work to this error.
replace this code in \public\assets\javascript\ckeditor\ck_upload_handler.php:
define('APP_ROOT', realpath(dirname(__FILE__) . "/../../../../../$iname"));
to this:

and all work ok))

How To's / Reports show "null" then description have an HTML code
« on: April 04, 2014, 04:33:28 am »
today I saw in my reports in place of report -> null
This error not display in log file of feng office (i have enabled debug mode) and apache.

When i create new report from tasks with Description field and after i use it report - i have the NULL result if any filtered task have description with HTML tags (it may be text-color, bold or other formatting)

this code have error(copy from mysql):
<div>   hgdfghghd<span style="background-color:#daa520;">gkjh kghdjk</span>dfh<strong> gdhfdkfgh&nbsp;</strong></div>

P.S. - code above also have A tags but i can't add this and CODE too - external link error

Pages: [1]