[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[phpGroupWare-users] Re: Where is Files?
From: |
Gennady |
Subject: |
[phpGroupWare-users] Re: Where is Files? |
Date: |
Thu, 1 Nov 2007 21:03:49 -0700 (MST) |
It seems that there's a bug in the code. I have managed to find and fix it.
Here is the fix:
In file phpgwapi/inc/class.vfs_sql.inc.php around line 125 find the following
line:
$docroots =
array(PHPGW_SERVER_ROOT,$GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']);
and change it to:
$docroots =
array(PHPGW_SERVER_ROOT,$_SERVER['DOCUMENT_ROOT']);
This has finally let me use the trouble ticket system and shows a form when I
do new ticket.
While I am at it here is another small change that removed a warning during
installation (diff -u format):
--- phpgwapi/inc/class.setup.inc.php 5 Oct 2005 12:37:20 -0000
1.15.2.19
+++ phpgwapi/inc/class.setup.inc.php 2 Nov 2007 03:37:10 -0000
@@ -772,7 +772,7 @@
function get_hooks_table_name()
{
-
if($this->alessthanb($GLOBALS['setup_info']['phpgwapi']['currentver'],'0.9.8pre5')
&& ($GLOBALS['setup_info']['phpgwapi']['currentver'] != ''))
+
if($this->alessthanb($GLOBALS['setup_info']['phpgwapi']['version'],'0.9.8pre5')
&& ($GLOBALS['setup_info']['phpgwapi']['version'] != ''))
{
/* No phpgw_hooks table yet. */
return False;
Basically changed the line from currentver to version.
Gena01Sent from the phpGroupWare forums @ http://forums.phpGroupWare.org
- [phpGroupWare-users] Re: Where is Files?,
Gennady <=