anpera.net
https://anpera.homeip.net/phpbb3/

massives? xampp?-problem
https://anpera.homeip.net/phpbb3/viewtopic.php?f=25&t=5100
Seite 1 von 1

Autor:  drimatu [ Do 11 Feb, 2010 20:02 ]
Betreff des Beitrags:  massives? xampp?-problem

hallo, hab bisher
XAMPP für Windows Version 1.6.7
genutzt, und gestern auf
XAMPP 1.7.3
aktualisiert. schon im voraus: ich hab keine dateien verändert vom logd. beim aufruf von logd erschien nun folgendes:

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\games\standartlogd\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 C:\xampp\htdocs\games\standartlogd\common.php on line 1722

Warning: session_register() [
function.session-register]:
Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\games\standartlogd\dbwrapper.php:17) in C:\xampp\htdocs\games\standartlogd\common.php
on line 1722

Warning: session_register() [
function.session-register]:
Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\games\standartlogd\dbwrapper.php:17) in C:\xampp\htdocs\games\standartlogd\common.php
on line 1722

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\games\standartlogd\dbwrapper.php:17) in C:\xampp\htdocs\games\standartlogd\common.php
on line 1840

Deprecated: Function split() is deprecated in C:\xampp\htdocs\games\standartlogd\common.php on line 971

Fatal error: Call to undefined function translate() in C:\xampp\htdocs\games\standartlogd\common.php on line 37


wer kann helfen? mfg

Autor:  Patzue [ Do 11 Feb, 2010 20:26 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

Sufu

Auric beschreibt da, wie es weggehen müsste

Auric hat geschrieben:
Code:
error_reporting(E_ALL ^ E_NOTICE);

Diese änderst du nun in das Folgende ab:
Code:
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_USER_DEPRECATED);

Autor:  drimatu [ Do 11 Feb, 2010 20:49 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

also das einzige was nun weg ist ist die meldung:

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\games\standartlogd\dbwrapper.php on line 17

der ganze rest bleibt:

"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; } ?>
Warning: session_register() [
function.session-register]:
Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\games\standartlogd\translator.php:51) in C:\xampp\htdocs\games\standartlogd\common.php
on line 1605

Warning: session_register() [
function.session-register]:
Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\games\standartlogd\translator.php:51) in C:\xampp\htdocs\games\standartlogd\common.php
on line 1605

Fatal error: Call to undefined function translate() in C:\xampp\htdocs\games\standartlogd\common.php on line 37

Autor:  Harthas [ Fr 12 Feb, 2010 01:31 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

In einer der translator-Dateien ( translator.php, translator_de.php, translator_en.php oder so)
PHP:
<?

Durch
PHP:
<?php

ersetzen.
Normalerweise sieht es in etwa so aus, wenn die Datei nicht durch PHP geparst wird. Dies, weil short-tags deaktiviert sind.

Autor:  drimatu [ Fr 12 Feb, 2010 11:22 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

wieder mal toll geholfen. vielen dank.
mfg

Autor:  drimatu [ Fr 12 Feb, 2010 21:30 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

so, jetzt kommt zwar keine fehlermeldung mehr, jedenfalls nicht die schon geschriebene, aber wenn ich mich einloggen möchte kommt jedes mal der hinweis dass die login-daten falsch waren. allerdings werd ich bei der liste wer gerade online ist auch als online angezeigt.
neue user zu erstellen geht auch nicht, nach absenden der daten erscheint wieder das leere formular zur eingabe ohne fehlerhinweis.
wie kannein kleines update von xampp solche fehler auslösen?
mfg

Autor:  Eliwood [ Fr 12 Feb, 2010 23:01 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

Änderungen für PHP5 durchführen...

Autor:  Rikkarda [ Sa 13 Feb, 2010 00:47 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

drimatu hat geschrieben:
so, jetzt kommt zwar keine fehlermeldung mehr, jedenfalls nicht die schon geschriebene, aber wenn ich mich einloggen möchte kommt jedes mal der hinweis dass die login-daten falsch waren. allerdings werd ich bei der liste wer gerade online ist auch als online angezeigt.
neue user zu erstellen geht auch nicht, nach absenden der daten erscheint wieder das leere formular zur eingabe ohne fehlerhinweis.
wie kannein kleines update von xampp solche fehler auslösen?
mfg



php5.3 mag halt einiges nicht

Autor:  Harthas [ Sa 13 Feb, 2010 04:26 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

Rikkarda hat geschrieben:
php5.3 mag halt einiges nicht

Beziehungsweise war dies ja bereits mit PHP5 der Fall. Der Umstieg vom 5.2er-Zweig auf den 5.3er hat bei mir eigentlich gar keine Probleme bereitet. Wohl erst beim Wechsel auf PHP6 wirds wieder mühselig. Aber das kann noch etwas dauern.

Autor:  Rikkarda [ Sa 13 Feb, 2010 15:33 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

ich habs noch net gespürt, aber jenu hat sich gestern nen sili dump gezogen und sagte, dass er auch massive fehlermeldungen von meinem code hat (und sili läuft bereits auf php 5.2)

Autor:  Harthas [ Sa 13 Feb, 2010 15:36 ]
Betreff des Beitrags:  Re: massives? xampp?-problem

Was es wohl etwas öfters geben könnte sind E_DEPRECATED und E_USER_DEPRECATED.
Aber k.A. - Kann natürlich sein, dass man in Sili noch etwas mehr findet ;-)

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/