Author Topic: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3  (Read 4617 times)

andrei.dumi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Hello,

I am running Feng office on 2 different servers.
On the first i am running Feng Office 3.0.6 - this is a production server with live user functionality and on the second server i am running the back-up version for the 3.0.6 and another instance of 3.1.3 for testing purposes.

On both of the servers i'm having trouble adding subscribers on already existing task templates.

After checking the log files on both servers i found that the error is the same.

"Session "default" started at 2015-04-13T12:39:11+0000
#1 ERROR: Error: Undefined variable: genid in '/home/*****/******/application/views/template_task/view.php' on line 29 (error code: 8)
Time since start: 0.31448817253113 seconds"

It would apear the the generating code is the following in sequence of code in view.php
"<input id="<?php echo $genid?>template_task" type="hidden" name="template_task" value="<?php echo array_var($_GET, 'template_task', false)?>" />"

On both servers i'm using Cent-OS Linux

1. the production server with 3.0.6 :
CentOS release 5.11 (Final)
PHP 5.3.29 (cli) (built: Feb 13 2015 01:40:51)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd.

2. the back-up and dev server :
CentOS release 6.6 (Final);
PHP 5.4.39 (cli) (built: Mar 19 2015 06:59:35)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

I searched about this situation on the forums and internet, to find out if this is a bug, or a local issue, and i found out that this indeed was a bug, but it would appear that this was resolved a wile back with the release of the 2.5.1.4
"     Since 2.5.1.4
   ----------------
   bugfix: Import companies from .csv file error
   bugfix: can't add subscribers in template task."

If the statement above is true then this is a local issue or a miss-configuration on my servers.

Can i please get some help or pointer in solving this issue because this is a critical functionality for my case.

Below i have attached a part of the config :
  define('DEFAULT_LOCALIZATION', 'en_us');
  define('COOKIE_PATH', '/');
  define('DEBUG', false);
  define('SEED', 'f5eebce9ec80ba38861af4d82b24f708');
  define('DB_CHARSET', 'utf8');
  define('PLUGIN_MANAGER', true);
  define('SAVE_PERMISSIONS_IN_BACKGROUND', true);



 

andrei.dumi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3
« Reply #1 on: April 15, 2015, 09:21:22 am »
UP !

andrei.dumi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3
« Reply #2 on: April 16, 2015, 08:11:43 pm »
Hello,

After further researching it will apear that i can only add super admin to the subscribers in the task template.

Can anyone pls help me ?

andrei.dumi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3
« Reply #3 on: April 16, 2015, 09:01:07 pm »
Hello,

It appers that it does not save any modification that i do to the task template.

Session "default" started at 2015-04-16T23:45:57+0000
#1 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 309 (error code: 8)
#2 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 310 (error code: 8)
#3 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 311 (error code: 8)
#4 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 309 (error code: 8)
#5 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 310 (error code: 8)
#6 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 311 (error code: 8)
#7 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 309 (error code: 8)
#8 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 310 (error code: 8)
#9 ERROR: Error: Undefined index: assigned_to_contact_id in '/home/******/public_html/application/controllers/TemplateController.class.php' on line 311 (error code: 8)
Time since start: 0.32900595664978 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-04-16T23:50:52+0000
#1 ERROR: Error: Undefined variable: genid in '/home/******/public_html/application/views/template_task/view.php' on line 29 (error code: 8)
Time since start: 0.30119800567627 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-04-16T23:50:59+0000
#1 ERROR: Error: Undefined variable: genid in '/home/*****/public_html/application/views/template_task/view.php' on line 29 (error code: 8)
Time since start: 0.34644603729248 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-04-16T23:51:24+0000
#1 ERROR: Error: Undefined variable: genid in '/home/******/public_html/application/views/template_task/view.php' on line 29 (error code: 8)
Time since start: 0.29389810562134 seconds
-------------------------------------------------------------------------------


Pls pls some help pointers here ...

andrei.dumi

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3
« Reply #4 on: April 26, 2015, 11:45:15 am »
Hello,

I was especting a more active comunity on this forum. Can the sisadministrators pls respond to the folowing question.
Is the problem an unresolved bug, or this problem localy, only on my sistem ?

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3
« Reply #5 on: May 19, 2015, 03:18:16 pm »
Hi there!

As far as I know this was supposed to work in the 3.1.3, but it has been a while already and I might be wrong.
Nonetheless, I can confirm 100% that at least in the 3.1.3.4 onwards, it is working correctly, and I can subscribe users that are not Admins but Executives.

Are you sure those users have enough permissions in the workpsace where you are setting the template?
Otherwise, it might be a server side issue.

Concerning the late reply on our behalf, as an official memeber of the Team, we have to deal with many different things, and even though we monitor the Forums, we may not reply just right away as we do not have as much time as we would like to to do so.

As for the Community, may be no one else experienced it and that is why there were no replies.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: can't add subscribers to task template in feng 3.0.6 nor in 3.1.3
« Reply #6 on: August 25, 2015, 03:43:01 pm »
I'm trying to add a subscriber and FO returns OK, but anything happens. So it's not possible on 3.2.3 to add a subscriber to a Task, for example.

User permissions: Executive
Workspace permissions: All (read, write... everything)

I think it's a BUG, isn't it?  ???