It’s 1097 which gives out the navigation bar.
Just… what the hell is causing that to be triggered before
class.idots_framework.inc.php? And why do I get kind of an endless loop
just because of an “echo”? Is there JavaScript in that HTML-Part?
Somehow that header-line causes the whole html-header to be loaded again
and again and again. The document goes from:
to
Then comes the Warning and it starts again at the DOCTYPE-directive.
What could cause the navbar to be such a desaster? Encoding-errors or
corrupt data in the database? Missing files in the file-directories
(which I did not yet fully recover!)?
Regards
Peter
Peter Guhl schrieb:
Uhm… thanks… what I have there is:
if (!$GLOBALS[‘egw_info’][‘flags’][‘nonavbar’])
Yeah… PHP seems to have problems to count.
The whole funktion is this one:
function egw_header()
{
echo $GLOBALS[‘egw’]->framework->header();
if (!$GLOBALS['egw_info']['flags']['nonavbar'])
{
echo $GLOBALS['egw']->framework->navbar();
}
}
I removed the whole source code and replaced it again with the original
code from 1.4.004. Same behaviour
Regards
Peter
Ralf Becker schrieb:
You need to look at
/usr/www/users/egrouy/phpgwapi/inc/class.common.inc.php:1095
That’s were the output started.
Ralf
Peter Guhl schrieb:
Hello all
I get constantly:
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/www/users/egrouy/phpgwapi/inc/class.common.inc.php:1095) in
/usr/www/users/egrouy/phpgwapi/templates/idots/class.idots_framework.inc.php
on line *85
*That line in class.idots_framework is:
// add a content-type header to overwrite an existing default charset in
apache (AddDefaultCharset directiv)
header(‘Content-type: text/html;
charset=’.$GLOBALS[‘egw’]->translation->charset());
Well, that seems to be a not-that-unusual thing? But how comes that
"headers already sent …"?
Besides that I get an endless loop and stupid error messages about not
finding ajax even though it’s there. So… of course I admit that this
installation is not in a good shape in general.
Regards
Peter
–
mit freundlichen Grüssen
Peter Guhl
Win-Lux GmbH
Obere Schöntalstrasse 22
CH - 8406 Winterthur
Telefon: +41 (0)81 330 51 51
Mobil +41 (0)76 437 03 09
Fax: +41 (0)81 332 44 58
Mail: peter.guhl@win-lux.ch
Skype: p_guhl
Web: http://www.win-lux.ch
******************* Vertraulichkeitserklärung ***********************
Diese Mitteilung resp. deren Beilagen können vertrauliche und/oder
persönliche Informationen enthalten, die einzig für den adressierten
Empfänger bestimmt sind. Jegliche Kenntnisnahme oder Weiterleitung durch
oder an Dritte ist untersagt. Wenn Sie nicht der adressierte Empfänger sind,
nehmen Sie bitte Kontakt mit dem Absender der Nachricht auf und löschen
Sie alle Kopien. Vielen Dank.
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers