bestlong 怕失憶論壇's Archiver

bestlong 發表於 2006-9-16 17:16

EGroupWare

http://www.egroupware.org/

台灣PHP聯盟[ Taiwan PHP User Group ] 討論區 - 應用程式 - 群組軟體 - egroupware
http://twpug.net/modules/newbb/viewforum.php?forum=3

bestlong 發表於 2006-10-9 13:15

EGroupWare 安裝環境設定

使用環境:EGroupWare 版本 1.2.105

安裝檢查若是出現下列訊息:
[quote]檢查php.ini: mbstring.func_overload = 7: ini_get('mbstring.func_overload')='0'
要完全支援萬國字元(UTF-8)或是其他雙位元組編碼,您必須設定mbstring.func_overload = 7
*** 請將您的php.ini做下面的修正 (/etc/php.ini): mbstring.func_overload = 7
*** 重新啟動您的網站伺服器來套用異動![/quote]
可以直接修改 php.ini 設定 mbstring.func_overload = 7 然後重新啟動 Apache 就可以解決了。[color=red]不過修改此一設定之後卻會導致 phpMyAdmin 無法登入[/color]。這個時候我們就可以利用 .htaccess 設定單獨在 EGroupWare 範圍內解決。實際上 EGroupWare 本身就附帶 .htaccess 檔案,已經設定好內容如下:
[code]#
# Set
#
# AllowOverride FileInfo
#
# to enable parsing off this file
#
php_value memory_limit 32M
php_value max_execution_time 60
php_flag register_globals Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
# settings for the file upload, you might increase them further
php_value upload_max_filesize 16M
# session handling: now the check for expired sessions is done on every 10th session creation
php_flag session.use_trans_sid Off
php_value session.gc_probability 1
php_value session.gc_divisor 10
# multibyte extension: needed for utf-8
php_value mbstring.func_overload 7[/code]

不過想要這個設定啟用,還必須在 Apache 的設定中是允許覆蓋設定。假設你的 EGroupWare 的安裝目錄是 /var/www/html/egroupware 則 Apache 的設定中就需要有:
[code]<Directory "/var/www/html/egroupware">
    AllowOverride All
</Directory>[/code]

bestlong 發表於 2006-10-9 15:48

EGroupWare 安裝環境設定

使用環境:EGroupWare 版本 1.2.105

安裝檢查若是出現下列訊息:
[quote]檢查 PEAR::Log 安裝狀態: 錯誤
SyncML需要PEAR::Log You can install it by running:* pear install Log[/quote]
這是 PHP 的 PEAR 套件庫安裝沒有安裝 PEAR::LOG 套件,無法滿足 EGroupWare 的運作需求,只要再補安裝就好。

直接在 Linux 命令列模式下執行:
[code][root@www.bestlong.idv.tw ~]# pear install Log
Did not download optional dependencies: pear/MDB2, use --alldeps to download automatically
pear/Log can optionally use package "pear/MDB2" (version >= 2.0.0RC1)
pear/Log can optionally use PHP extension "sqlite"
downloading Log-1.9.8.tgz ...
Starting to download Log-1.9.8.tgz (38,841 bytes)
..........done: 38,841 bytes
install ok: channel://pear.php.net/Log-1.9.8
[root@www.bestlong.idv.tw ~]#[/code]

bestlong 發表於 2006-10-9 15:57

如何新增工作流程

資料來源:http://twpug.net/modules/newbb/viewtopic.php?topic_id=1585&forum=3
作者:dllee

如何新增工作流程

我有作過工作流程,為了使流程圖可以出來,也花了一些時間,但最後發現,我不會 PHP 也不會 Template,只會畫流程圖是沒有用的。
先說流程圖的部分,必需先安裝 GraphViz 才能正確顯示:
http://www.graphviz.org/Download_windows.php
直接到 eGW 官網看範例:
http://www.egroupware.org/index.php?page_name=applications&wikipage=Workflow+CDLoan+example
還是不了解,可再上 Galaxia (eGroupWare 的 WorkFlow)官網看看
http://workflow.tikiwiki.org/tiki-index.php
借 CD 流程範例
http://workflow.tikiwiki.org/tiki-index.php?page=CDLoans
線上說明照作一次:
http://workflow.tikiwiki.org/tiki-index.php?page=GalaxiaManual

還是看不懂?! 沒關係,其實 eGW 本身就有提供範例,操作方法如下:(我使用1.2.1中文版作說明)
1. 先點 工作流程
2. 點左邊 管理處理過程
3. 在新網頁的下方可以看到 或是匯入處理過程
4. 按下 [瀏覽] 按鈕選\egroupware\workflow\doc\examples\TestJoin2.xml

\egroupware\workflow\doc\examples\testMail.xml
5. 按下 [上傳] 按鈕, 過一下下, 資料就匯入了。
6. 以 TestJoin2.xml 為例,應該會有以下訊息:
匯入成功
處理程序 TestJoin2 建立了
匯入處理程序 TestJoin2 1.7
角色 Role1 未對應
角色 Role3 未對應
角色 Role2 未對應
7. 按一下下方 處理程序 TestJoin2 的連結,會開啟 TestJoin2
8. 按一下 {圖形},如果有流程圖出來,就是 OK 了,沒有流程圖出來,也可能只是 GraphViz 沒裝好,按一下 {活動} 應該下方可以看到許多的活動列表。一個一個點進去看它如何設,把角色設一設,就可以啟用此工作流程。

一定要會 PHP 及 Template 設計才有辦法使用工作流程,如果像我一樣都不會,那是無法建立出想要的工作流程的。
頁: [1]

Powered by Discuz! X1.5 Archiver   © 2001-2010 Comsenz Inc.