Wohnort: |
Weidenbach |
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Call-trace:
- /www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/src/bbcode.php in line 160
[ Function: preg_replace() ]
0155 }
0156
0157 // we have to replace the link-class in every case because we may need to replace it in
0158 // emails or links which were not inserted with BBCode
0159 $this->_text = str_replace('<!--LC-->',$this->_link_class,$this->_text);
0160 $this->_text = preg_replace('/<!--L\[(.*?)\]-->/e','$LANG["\\1"]',$this->_text);
0161
0162 // replace smiley-paths
0163 if($this->_enable_smileys)
0164 $this->_text = str_replace('<!--EMP-->',$this->_smiley_path.'images/smileys/',$this->_text);
0165
0166 return $this->_text;
- /www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/src/functions.php in line 1054
[ Method: BS_BBCode::get_message_for_output() ]
1049 {
1050 global $CFG,$DB,$SESS,$TMP;
1051 include_once(ROOT_PATH.'src/bbcode.php');
1052 $bbcode = new BS_BBCode($data['entry_text'],$link_class,false,$CFG['entry_enable_bbcode'],
1053 $CFG['entry_enable_smileys']);
1054 $text = $bbcode->get_message_for_output();
1055
1056 if($data['comment_num'] > 0)
1057 {
1058 $TMP->initialize('comment.htm',0);
1059 $text .= $TMP->parse_template();
1060
- /www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/modules/entries.php in line 125
[ Function: BS_get_entry_text() ]
0120 echo $TMP->parse_template();
0121 }
0122 }
0123 }
0124
0125 $text = BS_get_entry_text($data,'gs_entry','',$ccache);
0126
0127 $TMP->initialize('entries.htm',5);
0128 $TMP->add_variables(array(
0129 'entry_text' => $text
0130 ));
0131 echo $TMP->parse_template();
- /www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/index.php in line 165
[ Method: GS_Module_entries::run() ]
0160 BS_show_status_message($msg,'','','','',false);
0161 }
0162 else if(BS_is_banned('ip',$SESS->user_ip))
0163 BS_show_status_message($LANG['ip_banned'],'','','','',false);
0164 else
0165 $MODULE->run();
0166 }
0167
0168 // show the footer
0169 $TMP->initialize('footer.htm',0);
0170 echo $TMP->parse_template(false);
0171
Show BBCode for the error-message (to post somewhere)
[u][b][color=#FF0000]preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead[/color][/b][/u]
[b]Call-trace:[/b]
[list]
[*]/www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/src/[b]bbcode.php[/b] in line [b]160[/b]
[ Function: [b]preg_replace()[/b] ]
[code]0155 }
0156
0157 // we have to replace the link-class in every case because we may need to replace it in
0158 // emails or links which were not inserted with BBCode
0159 $this->_text = str_replace('<!--LC-->',$this->_link_class,$this->_text);
0160 $this->_text = preg_replace('/<!--L\[(.*?)\]-->/e','$LANG["\\1"]',$this->_text);
0161
0162 // replace smiley-paths
0163 if($this->_enable_smileys)
0164 $this->_text = str_replace('<!--EMP-->',$this->_smiley_path.'images/smileys/',$this->_text);
0165
0166 return $this->_text;
[/code]
[*]/www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/src/[b]functions.php[/b] in line [b]1054[/b]
[ Method: [b]BS_BBCode::get_message_for_output()[/b] ]
[code]1049 {
1050 global $CFG,$DB,$SESS,$TMP;
1051 include_once(ROOT_PATH.'src/bbcode.php');
1052 $bbcode = new BS_BBCode($data['entry_text'],$link_class,false,$CFG['entry_enable_bbcode'],
1053 $CFG['entry_enable_smileys']);
1054 $text = $bbcode->get_message_for_output();
1055
1056 if($data['comment_num'] > 0)
1057 {
1058 $TMP->initialize('comment.htm',0);
1059 $text .= $TMP->parse_template();
1060
[/code]
[*]/www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/modules/[b]entries.php[/b] in line [b]125[/b]
[ Function: [b]BS_get_entry_text()[/b] ]
[code]0120 echo $TMP->parse_template();
0121 }
0122 }
0123 }
0124
0125 $text = BS_get_entry_text($data,'gs_entry','',$ccache);
0126
0127 $TMP->initialize('entries.htm',5);
0128 $TMP->add_variables(array(
0129 'entry_text' => $text
0130 ));
0131 echo $TMP->parse_template();
[/code]
[*]/www/htdocs/w008505a/der-kleine-turnierplaner/gb_neu/[b]index.php[/b] in line [b]165[/b]
[ Method: [b]GS_Module_entries::run()[/b] ]
[code]0160 BS_show_status_message($msg,'','','','',false);
0161 }
0162 else if(BS_is_banned('ip',$SESS->user_ip))
0163 BS_show_status_message($LANG['ip_banned'],'','','','',false);
0164 else
0165 $MODULE->run();
0166 }
0167
0168 // show the footer
0169 $TMP->initialize('footer.htm',0);
0170 echo $TMP->parse_template(false);
0171
[/code]
[/list]
|
Hallo Bernhard,
kein Turnier ohne deinen Turnierplaner. Die anderen Mannschaften sind immer ganz hin und weg, wenn ich die Ergebnisse im Laptop eintrage. Denen schick ich alle den Link zu deinem Programm. An dieser Stelle ein herzliches Dankeschön für Deine Arbeit und die Zeit. Damit hilfst Du kleinen Vereinen sehr. Bitte mach weiter so!
Gruß aus Mittelfranken!
Oli |