[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Phpgroupware-users] pb with setup/index.php
From: |
Marc Lutolf |
Subject: |
RE: [Phpgroupware-users] pb with setup/index.php |
Date: |
Wed, 28 Aug 2002 11:07:25 +0200 |
Sorry if I'm butting in. Here's a hack that worked for me (from a previous
post):
Not sure this is a bug. Installing 9.14, I've noticed the following error
message when I attempt to edit the header.inc.php that I've uploaded via
Header Admin Login:
PHP Fatal error: Cannot redeclare perfgetmicrotime() (previously declared
in /home/tools/tools.netspan.ch/html/phpgroupware/header.inc.php:101) in
/home/tools/tools.netspan.ch/html/phpgroupware/header.inc.php on line 99
The code in question is:
function perfgetmicrotime()
{
list($usec, $sec) = explode(' ',microtime());
return ((float)$usec + (float)$sec);
}
if (DEBUG_TIMER)
{
$GLOBALS['debug_timer_start'] = perfgetmicrotime();
}
(it wasn't there in the release candidates)
The error can be avoided by moving the function definition to within the if
statement.
-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Jean Noel Chardron
Sent: 28 August 2002 10:53
To: address@hidden
Subject: [Phpgroupware-users] pb with setup/index.php
hi,
sorry but I don't understand what you are talking about performance timer,
and I didn't find in the mailing list the message you posted.
Can you give me the URL of your message or explain what I need to do.
thanks,
Chris Weiss wrote :
remove the performance timer hack I posted about, then try again.
>/
/>/When I log to the "header admin login" in the setup/index.php I have a
/>/trouble like this :
/>/
/>/Edit your existing header.inc.php
/>/
/>/Analysis :nalysis
/>/
/>/You appear to have MySQL support enabled
/>/You appear to have Postgres-DB support enabled
/>/You appear to have Microsoft SQL Server support enabled
/>/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
/>/*/web/htdocs/pages/interne/phpgroupware/header.inc.php* on line *99*
/>/
/>/if someone can tell me what to do it will be fine
/>/
/>/thanks,
/>/
/>/
/>
_______________________________________________
Phpgroupware-users mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/phpgroupware-users