Recent Posts

Pages: [1] 2 3 ... 10
1
How To's / Re: Select workspace at login
« Last post by ErwinVB on February 18, 2017, 06:01:44 AM »
No hints?
No ideas?
No tips?

Is there anybody with the same problem?

Where is the script located where the workspace-list displayed at the left-side of the screen is composed?

Thanx Erwin
2
Feng Office 3 / Re: Can not send emails
« Last post by umina on February 17, 2017, 09:48:20 PM »
If you are running your own server and it uses selinux you may try debuging by making selinux permissive.  In fact if its running selinux and you did not address the issue, that is probably your problem.

To test if selinux is the problem from root enter:

#setenforce permissive

Now try your email sending.  It will probably work.

There is a boolean to fix the problem of apache sending email, which makes the problem easy to address.

#setsebool -P httpd_can_sendmail 1

This sets a boolean which allows apache to send mail.  Its that simple.
Now turn selinux back on.

#setsebool enforcing

All should work fine now.  Beaware, that seting selinux to permissive  does not survive a reboot.  It will revert to enforcing.   To make it permanant accross reboots you must set the boolean.

/Len
3
How To's / Select workspace at login
« Last post by ErwinVB on February 12, 2017, 11:38:14 AM »
If a user has only access to one workspace that workspace is not automaticly selected at login.
The selection in de workspace-panel is at "View all".

If you than open the file-upload-panel without selecting the workspace you have to select the workspace by hand.
If you forget this the uploaded file will be viewable for every workspace in the system.

Isn't it possible to select the upmost workspace at login, instead of leaving it at "View all"?

Suggestions will be appreciated.

Thanx in advance

Erwin
4
Feng Office 3 / Re: Can not add or edit new workspace
« Last post by peteman52 on February 09, 2017, 09:14:53 AM »
Delete or rename file cache/log.php

In file config/config.php change  "define('DEBUG', false");" to "define('DEBUG', true);"

try to add or edit a workspace.

Then post the output of cache/log.ph
5
Feng Office 3 / Re: No mail notification 3.2.3
« Last post by peteman52 on February 09, 2017, 09:01:59 AM »
Do you use a Linux server or a Windows server?

If you do use a Linux server type in a terminal :  php -v

If you are not using PHP 7 in my opinion you may ignore these messages.

If you are using PHP 7 you should not have come as far as you obviously are.

If you use PHP 7, for the mysql-error see "http://usysto.net/php-7-mit-alten-mysql-funktionen_325"
Again, if you use PHP 7, for the preg-replace error see "http://php.net/manual/de/migration55.deprecated.php"

If you are using a Windows server in my opinion it should be similar.

I myself use a Linux server (Ubuntu 16.04.01 with Apache/2.4.18, feng office 3.4.4.1, PHP 7.0.13, mysql Ver 14.14 Distrib 5.7.17) and had to modify until now 256 files of 3048 php-files and one *.inc file for porting to PHP 7 and now at least feng office 3.4.4.1 runs smoothly. So good luck!


6
Feng Office 3 / Re: No mail notification 3.2.3
« Last post by winhex on February 09, 2017, 08:28:34 AM »
In file "/var/www/fominhextk/application/models/notifier/Notifier.class.php" change

line 1434: $mailer = self::getMailer();

to

                  $default_mailer = self::getMailer();
      $mailer         = $default_mailer;

Thank for your answer, Error 500 disappeared, and test messages are sent perfectly. But  I create a task, write a comment or do anything else - but no any notifications.
But I have another error in log.php
When I create new task:
Code: [Select]
Session "default" started at 2017-02-06T09:43:08+0000
#1 ERROR: Error: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in '/var/www/fominhextk/environment/library/database/adapters/MysqlDBAdapter.class.php' on line 28 (error code: 8192)
Time since start: 0.032985210418701 seconds
when I create comment in this task:
Code: [Select]
ERROR: Error: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in '/var/www/fominhextk/library/html2text/class.html2text.inc' on line 422 (error code: 8192)
In some of the latest versions don't have this problem?
7
Feng Office 3 / Re: No mail notification 3.2.3
« Last post by peteman52 on February 09, 2017, 12:33:45 AM »
In file "/var/www/fominhextk/application/models/notifier/Notifier.class.php" change

line 1434: $mailer = self::getMailer();

to

                  $default_mailer = self::getMailer();
      $mailer         = $default_mailer;
8
Feng Office 3 / Re: No mail notification 3.2.3
« Last post by winhex on February 08, 2017, 04:36:23 AM »
Any ideas?
9
Feng Office 3 / Re: No mail notification 3.2.3
« Last post by winhex on February 06, 2017, 09:44:32 AM »
Hello! I have a similar problem. No any e-mail notification in FO  3.4.4.1
I have my own mail server that works well with FO 2.2.2. FO 2.2.2 is installed on the same Web-server with FO 3.4.4.1
When I send a test message to the FO 3.4 I have a  Error 500: Internal Server Error. Mail Settings absolutely correct.
in the log.php, I found the following error:
Code: [Select]
Session "default" started at 2017-02-03T14:59:48+0000
#1 ERROR: Error: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in '/var/www/fengoffice/environment/library/database/adapters/MysqlDBAdapter.class.php' on line 28 (error code: 8192)
#2 ERROR: Error: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in '/var/www/fengoffice/application/functions.php' on line 36 (error code: 8192)
#3 ERROR: Error: Undefined variable: default_mailer in '/var/www/fominhextk/application/models/notifier/Notifier.class.php' on line 1479 (error code: 8)
Time since start: 0.36066293716431 seconds

How to resolve this problem?
10
Getting Started / Re: php 7.0
« Last post by peteman52 on February 04, 2017, 12:57:17 PM »
I ported fengoffice 3.4.4.1 to php 7.
At the moment it looks fine but it needs thoroughly testing.

My system:
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.1 LTS
Release:   16.04
Codename:   xenial
Linux 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

PHP
7.0.13-0ubuntu0.16.04.1 (cli) ( NTS )

mysql 
Ver 14.14 Distrib 5.7.17, for Linux (x86_64)

Apache Server version:
Apache/2.4.18 (Ubuntu)
2016-07-14T12:32:26

Anybody interested is free to contact me.
Pages: [1] 2 3 ... 10