Seite 1 von 1

Hilfe Fehler

Verfasst: 16.09.2003 12:23
von jörg gierth
Wer kann mir hier helfen :

Code: Alles auswählen

Warning: Empty regular expression in
/usr/local/apache/www/web34/html/phpBB2/common.php3 on line 149

Warning: Empty regular expression in
/usr/local/apache/www/web34/html/phpBB2/common.php3 on line 149

Warning: Cannot modify header information - headers already sent by (output
started at usrlocal/apache/www/web34/html/phpBB2/common.php3:149) in
/usr/local/apache/www/web34/html/phpBB2/includes/sessions.php3 on line 182

Warning: Cannot modify header information - headers already sent by (output
started at usrlocal/apache/www/web34/html/phpBB2/common.php3:149) in
/usr/local/apache/www/web34/html/phpBB2/includes/sessions.php3 on line 183

Warning: Cannot modify header information - headers already sent by (output
started at usrlocal/apache/www/web34/html/phpBB2/common.php3:149) in
/usr/local/apache/www/web34/html/phpBB2/includes/page_header.php3 on line
744

Warning: Cannot modify header information - headers already sent by (output
started at usrlocal/apache/www/web34/html/phpBB2/common.php3:149) in
/usr/local/apache/www/web34/html/phpBB2/includes/page_header.php3 on line
746

Warning: Cannot modify header information - headers already sent by (output
started at usrlocal/apache/www/web34/html/phpBB2/common.php3:149) in
/usr/local/apache/www/web34/html/phpBB2/includes/page_header.php3 on line
747
<!--
/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com /> NOTE: These CSS definitions are stored within the main page body so that
you can use the phpBB2
theme administration centre. When you have finalised your style you could
cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color: #FFFFFF;
scrollbar-face-color: #DEE3E7;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #D1D7DC;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #EFEFEF;
scrollbar-darkshadow-color: #98AAB1;
}
/* General font families for common tags */
font, th, td, p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link, a:active, a:visited { color : #000000; }
a:hover { text-decoration: underline; color : #DD6900; }
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
/* This is the border line & background colour round the entire page */
.bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; }
/* This is the outline round the main forum tables */
.forumline { background-color: #FFFFFF; border: 2px #006699 solid; }
/* Main table cell colours and backgrounds */
td.row1 { background-color: #EFEFEF; }
td.row2 { background-color: #DEE3E7; }
td.row3 { background-color: #D1D7DC; }
/*
This is for the table cell above the Topics, Post & Last posts on the
index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: #FFFFFF;
background-image: url(templates/subSilver/images/cellpic2.gif);
background-repeat: repeat-y;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
color: #000000; font-size: 11px; font-weight : bold;
background-color: #000000; height: 25px;
background-image: url(templates/subSilver/images/cellpic3.gif);
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url('templates/subSilver/images/cellpic1.jpg');
background-color:#D1D7DC; border: #F0F0f0; border-style: solid; height:
28px;
}
/*-- mod : hiérarchie des rubriques */
td.catRupt {
background-image: url('templates/subSilver/images/cellpic4.gif');
background-color:#D1D7DC; border: #F0F0f0; border-style: solid; height:
28px;
}
/*-- fin mod : hiérarchie des rubriques */
/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
height: 29px;
border-width: 0px 0px 0px 0px;
}
th.thHead, th.thSides, th.thTop, th.thLeft, th.thRight, th.thBottom,
th.thCornerL, th.thCornerR {
font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
background-color: #D1D7DC; border: #F0F0f0; border-style: solid;
}
th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; }
th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; }
th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; }
th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; }
th.thTop { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 22px; font-family: "T_FONTFACE2"};
text-decoration: none; line-height : 120%; color : #444444;
}
/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #444444; }
a.gen, a.genmed, a.gensmall { color: #000000; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900;
text-decoration: underline; }
/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 11px; color : #444444 }
a.mainmenu { text-decoration: none; color : #000000; }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }
/* Forum category titles */
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color
: #000000}
a.cattitle { text-decoration: none; color : #000000; }
a.cattitle:hover{ text-decoration: underline; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 12px; color : #000000; }
a.forumlink { text-decoration: none; color : #000000; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar
when in a forum */
.nav { font-weight: bold; font-size: 11px; color : #444444;}
a.nav { text-decoration: none; color : #000000; }
a.nav:hover { text-decoration: underline; }
/* titles for the topics: could specify viewed link colour too */
.topictitle, h1, h2 { font-weight: bold; font-size: 11px; color : #444444; }
a.topictitle:link { text-decoration: none; color : #000000; }
a.topictitle:visited { text-decoration: none; color : #5493B4; }
a.topictitle:hover { text-decoration: underline; color : #DD6900; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 11px; color : #444444;}
/* Location, number of posts, post date etc */
.postdetails { font-size : 10px; color : #444444; }
/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link { text-decoration: none; color : #000000 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}
/*status */
.table1 {
BORDER-RIGHT: #000000 1px dashed;
BORDER-TOP: #000000 1px dashed;
FONT-SIZE: 11px;
BORDER-LEFT: #000000 1px dashed;
COLOR: #000000;
LINE-HEIGHT: 125%;
BORDER-BOTTOM: #000000 1px dashed;
FONT-FAMILY: Verdana, Arial;
BACKGROUND-COLOR: #efefef
}
/* Quote & Code blocks */
.code {
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color:
#006600;
background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;
border-bottom-width: 1px
}
.quote {
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:
#444444; line-height: 125%;
background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;
border-bottom-width: 1px
}
/* Copyright and bottom info */
.copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica,
sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright { color: #444444; text-decoration: none;}
a.copyright:hover { color: #444444; text-decoration: underline;}
/* Form elements */
input,textarea, select {
color : #444444;
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
border-color : #444444;
}
/* The text input fields background colour */
input.post, textarea.post, select {
background-color : #FFFFFF;
}
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
background-color : #EFEFEF;
color : #444444;
font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}
/* The main submit button option */
input.mainoption {
background-color : #FAFAFA;
font-weight : bold;
}
/* None-bold submit button */
input.liteoption {
background-color : #FAFAFA;
font-weight : normal;
}
/* This is the line in the posting page which shows the rollover
help line. This is actually a text box, but if set to be the same
colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }
/*-- mod : profile cp --*/
.admincolor, a.admincolor, a.admincolor:link, a.admincolor:active,
a.admincolor:visited {
color: #000000;
font-weight: bold;
}
a.admincolor:hover {
color: #DD6900;
text-decoration: underline;
}
.supermodcolor, a.supermodcolor, a.supermodcolor:link,
a.supermodcolor:active, a.supermodcolor:visited {
color: #006600;
font-weight: bold;
}
a.supermodcolor:hover {
color: #DD6900;
text-decoration: underline;
}
.modcolor, a.modcolor, a.modcolor:link, a.modcolor:active,
a.modcolor:visited {
color: #006600;
font-weight: bold;
}
a.modcolor:hover {
color: #DD6900;
text-decoration: underline;
}
.usercolor, a.usercolor, a.usercolor:link, a.usercolor:active,
a.usercolor:visited {
color : #000000;
}
a.usercolor:hover {
color: #DD6900;
text-decoration: underline;
}
/*-- fin mod : profile cp --*/
/* Import the fancy styles for IE only (NS4.x doesn't use the @import
function) */
@import url("templates/subSilver/formIE.css");
-->{ } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { }
{ } { } { } { } { } { } { } { } { } { } { } { } { } { } { }
Das Problem haben nur 2 User im Moment!

gruß Jörg

Re: Hilfe Fehler

Verfasst: 17.09.2003 01:06
von D@ve
jörg gierth hat geschrieben:Wer kann mir hier helfen :
Vermutlich keiner, wenn Du nicht mal mit ein paar Details rausrückst, wie wo und wann der Fehlker aufgetreten ist. Poste bitte die Zeilen 129-154 Deiner common.php

Frag die beiden User mal ob sie auf irgendeine Art und weise ihre IP-Adresse verschleiern, der Fehler kommt nämlich nur, wenn keine IP vorhanden ist und die Variable im regulären Ausdruck (hier preg_replace) leer ist...

Gruß, Dave

Verfasst: 17.09.2003 07:52
von jörg gierth
Hier die Zeilen aus der Common.php:

Code: Alles auswählen

// Obtain and encode users IP
//
if( getenv('HTTP_X_FORWARDED_FOR') != '' )
{
   $client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );

   $entries = explode(',', getenv('HTTP_X_FORWARDED_FOR'));
   reset($entries);
   while (list(, $entry) = each($entries)) 
   {
      $entry = trim($entry);
      if ( preg_match("/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/", $entry, $ip_list) )
      {
         $private_ip = array('/^0\./', '/^127\.0\.0\.1/', '/^192\.168\..*/', '/^172\.((1[6-9])|(2[0-9])|(3[0-1]))\..*/', '/^10\..*/', '/^224\..*/', '/^240\..*/');
         $found_ip = preg_replace($private_ip, $client_ip, $ip_list[1]);

         if ($client_ip != $found_ip)
         {
            $client_ip = $found_ip;
            break;
         }
      }

		$client_ip = preg_replace($private_ip, $client_ip, $ip_list[1]);
	}
}
else
{
	$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );
}
$user_ip = encode_ip($client_ip);
Nach eigenen aussagen wurde an den Netzwerken der User auf Arbeit nichts verändert!


Gruß Jörg

Verfasst: 22.09.2003 12:20
von jörg gierth
Kann mir denn keiner Helfen???????

Den wie es immer so ist, die schlimsten User bekommen die Fehler.

Wenn der User sich z.B. Daheim einloggt dann bekommt er keinerlei Fehler, bloß wenn er wieder im Büro sich einloggt dann erhält er die Fehler.

:oops: Wäre net wenn man mir hier helfen würde.


Gruß Jörg