phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #1105] Header.ini.php setup error


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1105] Header.ini.php setup error
Date: Fri, 30 Aug 2002 18:50:41 -0400

=================== BUG #1105: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1105&group_id=509

Changes by: Dan Kuykendall <address@hidden>
Date: 2002-Aug-30 15:50 (US/Pacific)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | seek3r


------------------ Additional Follow-up Comments ----------------------------
Line 99 of the header.inc.php(and .template) files need to have that function 
wrapped in an if statement like this:

if (!function_exists('perfgetmicrotime'))
{
  function perfgetmicrotime()
  {
    list($usec, $sec) = explode(' ',microtime());
    return ((float)$usec + (float)$sec);
  }
}



=================== BUG #1105: FULL BUG SNAPSHOT ===================


Submitted by: pktorney                  Project: phpGroupWare                   
Submitted on: 2002-Aug-30 08:24
Category:  API - Setup                  Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  None                       Assigned to:  seek3r                    
Status:  Open                           Platform Version:  Linux - RedHat       
Reproducibility:  Every Time            

Summary:  Header.ini.php setup error

Original Submission:  When I log into the header setup, I get the error below 
the analysis text. Any guidance would be most welcomed. Thanks.

===

 phpGroupWare version 0.9.14.000 Setup III 
Edit your existing header.inc.php
Analysis  
You appear to have MySQL support enabled
No Postgres-DB support found. Disabling
No Microsoft SQL Server support found. Disabling
No Oracle-DB support found. Disabling
You appear to be using PHP4. Enabling PHP4 sessions support
Found existing configuration file. Loading settings from the file...

Fatal error: Cannot redeclare perfgetmicrotime() in 
/var/www/html/header.inc.php on line 99
 
===

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Aug-30 15:50             By: seek3r
Line 99 of the header.inc.php(and .template) files need to have that function 
wrapped in an if statement like this:

if (!function_exists('perfgetmicrotime'))
{
  function perfgetmicrotime()
  {
    list($usec, $sec) = explode(' ',microtime());
    return ((float)$usec + (float)$sec);
  }
}

-------------------------------------------------------
Date: 2002-Aug-30 15:20             By: None
Hey Pat,

did you add the chris weiss time tracking patch??  If so you have to take this 
out before re running header admin.  The perfgetmicrotime() function is now 
declared earlier and that causes this problem.

Cheers

skwashd




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1105&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]