anpera.net https://anpera.homeip.net/phpbb3/ |
|
Einrichten logd https://anpera.homeip.net/phpbb3/viewtopic.php?f=25&t=5083 |
Seite 1 von 1 |
Autor: | Terxon [ Fr 29 Jan, 2010 11:21 ] |
Betreff des Beitrags: | Einrichten logd |
Guten Tag zusammen, wollte wieder einmal ein LOGD auf lokalem PC aufsetzen. Xampp und LoGD097extGER gezogen und beides installiert. Datenbank erstellt und connected. Dann jedoch beim Start von localhost/logd folgende Fehlermedung(en): Deprecated: Function set_magic_quotes_runtime() is deprecated in D:\Programme\xampp\htdocs\logd\dbwrapper.php on line 17 "To" translation combinations. Only one translation per output() or addnav() call will occur, so if you have multiple translations that have to occur on the same call, place them in to their own array as an element in the $replace array. This entire sub array will be replaced, and if any matches are found, further replacements will not be made. If you are replacing a single output() or addnav() call that uses variables in the middle, you will have to follow the above stated process for each piece of text between the variables. Example, output("MightyE rules`nOh yes he does`n"); output("MightyE is Awesome $i times a day, and Superawesome $j times a day."); you will need a replace array like this: $replace = array( "MightyE rules`nOh yes he does`n"=>"MightyE rulezors`nOh my yes`n" ,array( "MightyE is Awesome"=>"MightyE is Awesomezor" ,"times a day, and Superawesome"=>"timez a dayzor, and Superawesomezor" ,"times a day."=>"timez a dayzor." ) ); */ //output(output_array($session['user']['prefs'])); $language = $session['user']['prefs']['language']; if ($language=="") $language=$_COOKIE['language']; if ($language=="") $language=getsetting("defaultlanguage","en"); if (file_exists("translator_".$language.".php")){ require_once "translator_".$language.".php"; }else{ require_once "translator_en.php"; } function replacer($input,$replace){ $originput = $input; if (!is_array($replace)) return $input; while (list($s,$r)=each($replace)){ if (is_array($r)){ $input = str_replace(array_keys($r),array_values($r),$input); }else{ $input = str_replace($s,$r,$input); } if ($originput!=$input) return $input; } return $input; } ?> Deprecated: Function session_register() is deprecated in D:\Programme\xampp\htdocs\logd\common.php on line 1715 Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at D:\Programme\xampp\htdocs\logd\dbwrapper.php:17) in D:\Programme\xampp\htdocs\logd\common.php on line 1715 Warning: session_register() [function.session-register]: Cannot send session cache limiter - headers already sent (output started at D:\Programme\xampp\htdocs\logd\dbwrapper.php:17) in D:\Programme\xampp\htdocs\logd\common.php on line 1715 Warning: Cannot modify header information - headers already sent by (output started at D:\Programme\xampp\htdocs\logd\dbwrapper.php:17) in D:\Programme\xampp\htdocs\logd\common.php on line 1833 Deprecated: Function split() is deprecated in D:\Programme\xampp\htdocs\logd\common.php on line 964 Fatal error: Call to undefined function translate() in D:\Programme\xampp\htdocs\logd\common.php on line 37 Könnte es sein, daß ich etwas übersehen habe ? PHP4 / PHP5 ????? Wäre dankbar für einen Hinweis. Terxon |
Autor: | Rikkarda [ Fr 29 Jan, 2010 13:39 ] |
Betreff des Beitrags: | Re: Einrichten logd |
es ist schwer, die Suchenfunktion mal mit einer Fehlermeldung zu füttern? http://anpera.homeip.net/phpbb3/viewtopic.php?f=34&t=4989&hilit=Function+set_magic_quotes |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |