[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [Bug #967] Supplied argument is not valid File-Ha
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [Bug #967] Supplied argument is not valid File-Handle resource in class.network.inc.php and additional text with idsociety |
Date: |
Wed, 21 Aug 2002 08:57:38 -0400 |
=================== BUG #967: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=967&group_id=509
Changes by: Chris Hendrickson <address@hidden>
Date: 2002-Aug-21 12:57 (GMT)
------------------ Additional Follow-up Comments ----------------------------
I was wrong, I was tricked because cache phpgwinfo array was enabled and it had
cached the previous stuff (see bug# 972).. I diable it and wham,. it all
reappears.
wait, I did not update from CVS yet... I will try that
ok, after updating from CVS, telling it to update the header, it blows up, upon
returning to the header config
"You appear to have MySQL support enabled
You appear to have Postgres-DB support enabled
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/phpgroupware/header.inc.php on line 99"
=================== BUG #967: FULL BUG SNAPSHOT ===================
Submitted by: Marauder Project: phpGroupWare
Submitted on: 2002-Aug-08 14:34
Category: API - phpGWapi Bug Group: 0.9.14 release
Severity: 5 - Major Priority: Normal
Resolution: None Assigned to: None
Status: Open Platform Version: Linux - Mandrake
Reproducibility: Every Time
Summary: Supplied argument is not valid File-Handle resource in
class.network.inc.php and additional text with idsociety
Original Submission: as mentioned in ID 905 and 922, I too recieve the error
message "Warning: Supplied argument is not a valid File-Handle resource in
/var/www/html/phpgroupware/phpgwapi/inc/class.network.inc.php on line 81"
However, on my system, when running with the idsociety interface template, it
is acompanied with
" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0"
rightmargin="0" leftmargin="0" border="0"
onLoad="MM_preloadImages('phpgwapi/templates/idsociety/images/nonav-over.png',
'addressbook/templates/idsociety/images/navbar-over.png',
'bookmarks/templates/idsociety/images/navbar-over.png',
'calendar/templates/idsociety/images/navbar-over.png',
'email/templates/idsociety/images/navbar-over.png',
'notes/templates/idsociety/images/navbar-over.png',
'projects/templates/idsociety/images/navbar-over.png',
'todo/templates/idsociety/images/navbar-over.png',
'phpgwapi/templates/idsociety/images/nonav-over.png',
'phpgwapi/templates/idsociety/images/nonav-over.png',
'phpgwapi/templates/idsociety/images/nonav-over.png',
'/phpgroupware/phpgwapi/templates/idsociety/images/log_out2_over.png',
'/phpgroupware/phpgwapi/templates/idsociety/images/preferences2_over.png',
'/phpgroupware/phpgwapi/templates/idsociety/images/question_mark2_over.png',
'/phpgroupware/phpgwapi/templates/idsociety/images/welcome2.png');"
background="/phpgroupware/phpgwapi/templates/idsociety/images/content_spacer_middle.png">
"
other interface themes have just the class.network.inc.php warning message,
only idsociety produces this extra text.
both of these problems are resolved by commenting out line 81 in
phpgwapi/inc/class.network.inc.php
(/*socket_set_timeout($this->socket,$timeout,0);*/)
The install is an upgrade from 0.9.14RC3 (I also tried creating a new directory
for phpgw, copying the old header.inc.php to ensure it was not an artifact of
being upgraded)
The above mentioned line of code is not in the older version of the file, but
was added between releases. Commenting out that line resolved both problems on
my install.
Follow-up Comments
*******************
-------------------------------------------------------
Date: 2002-Aug-21 12:57 By: Marauder
I was wrong, I was tricked because cache phpgwinfo array was enabled and it had
cached the previous stuff (see bug# 972).. I diable it and wham,. it all
reappears.
wait, I did not update from CVS yet... I will try that
ok, after updating from CVS, telling it to update the header, it blows up, upon
returning to the header config
"You appear to have MySQL support enabled
You appear to have Postgres-DB support enabled
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/phpgroupware/header.inc.php on line 99"
-------------------------------------------------------
Date: 2002-Aug-21 12:38 By: Marauder
interesting, it seems to work fine now when I uncomment the line.
Thanks, I've done a bunch since I commented the offending line out, including
making changes to the header, so it seems that may have corrected the setup on
my server. Still, I think this A) should be detected and handled better, and B)
discussed in a FAQ somewhere
-------------------------------------------------------
Date: 2002-Aug-21 07:08 By: skwashd
Hi Marauder,
A clean install is not required. Run a cvs update, go into your header and
simply regenerate it save it. Should work.
Let me know how you go.
Cheers
skwashd
-------------------------------------------------------
Date: 2002-Aug-20 06:56 By: None
do a clean install. fixed it for me.
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=967&group_id=509