anpera.net https://anpera.homeip.net/phpbb3/ |
|
Zwei Fehler https://anpera.homeip.net/phpbb3/viewtopic.php?f=34&t=2888 |
Seite 1 von 1 |
Autor: | Kamui [ Sa 16 Sep, 2006 18:32 ] |
Betreff des Beitrags: | Zwei Fehler |
Hallo zusammen ich habe mal wieder ein Problem. erstens: Mein Server ist irrgendwie nur über Mozilla Firefox erreichbar und ich weiss nicht warum. ![]() Und zweitens: In meinem Profil hat sich das vergrösserte Textarray sehr lang gezogen aber ich habe nichts geändert bitte helft mir MFG Kamui |
Autor: | Darkness [ Sa 16 Sep, 2006 19:34 ] |
Betreff des Beitrags: | |
Also auf die Schnelle kann ich nur sagen, dass das Problem, dass es nur mit dem FF zu erreichen ist, whöchstwahrscheinlich im page_header oder page_footer liegt.. den die motd oder der source gehen mit dem IE einwandfrei... ich hab mich mal anmeldeldet um mir das mit der bio genauerer anzuschauen^^ EDIT: Deine Common.php ist gesperrt, das heißt ihc kann da cniht nachgucken also dir auch nicht helfen... Bei der Bio leigts wohl an der showform funktion (die auch in der common.php ist) aber ich kann dir sagen was ich vermute... der parameter nach textarea ist wohl 1000 oder? kann es sein, dass diese $maxbio der wert von "cols" in der textarea ist? wenn ja dann bedeutet dies eben, dass das Feld $maxbio zeicehn rbeit ist^^ |
Autor: | Kamui [ Sa 16 Sep, 2006 20:14 ] |
Betreff des Beitrags: | |
Ich stelle die common mal frei das du einsicht hast^^ EDIT: Die common ist nun einsehbar war nur geschlossen da ich die Gilden und Clans neu eingebaut habe und die beiden Fehler traten erst auf nachdem ich die eingebaut habe |
Autor: | Darkness [ Sa 16 Sep, 2006 20:56 ] |
Betreff des Beitrags: | |
Also das mit der Bio ist wie ich vermutet habe^^ [php] // Auszug aus common.php case "textarea": $output.="<textarea name='$key' class='input' cols='$info[2]' rows='$info[3]'>".HTMLEntities($row[$key])."</textarea>"; break; // Auszug aus Prefs.php "bio"=>"Beschreibung des Charakters (Unendlich viele Zeichen)`n`n`7Textformatierungen:`n n=Zeilenumbruch`n c=Zentriert`n b=Fettschrift`n i=Kursiv`n,textarea,$maxbio"[/php] Das heißt $info[2] ist bei dir anscheinend 1000... und bei deiner showform funktion ist $info[2] eben die ANzahl der Zeichen in einer Zeile (sprich die Breite)... und $info[2] ist nicht definiert... also ist das Feld 1000 zeicehn breit udn 1 zeile hoch^^ ich würde dir folgendes empfehlen... [php]// Suche: ,"bio"=>"Beschreibung des Charakters (Unendlich viele Zeichen)`n`n`7Textformatierungen:`n n=Zeilenumbruch`n c=Zentriert`n b=Fettschrift`n i=Kursiv`n,textarea,$maxbio" // Ersetze durch: ,"bio"=>"Beschreibung des Charakters (Unendlich viele Zeichen)`n`n`7Textformatierungen:`n n=Zeilenumbruch`n c=Zentriert`n b=Fettschrift`n i=Kursiv`n,textarea,50,5" [/php] Oder sowas in der Art^^ kannst du natürlich regeln wie du willst... Ich shcau dann mal im page_header und footer... aber cih denek nciht, dass mir da auf die schnelle irgendwas auffällt^^ |
Autor: | Kamui [ Sa 16 Sep, 2006 21:23 ] |
Betreff des Beitrags: | |
Ahh vielen dank das geht schonmal^^ So und zu dem anderen Problem ich glaube ich habe schon die lösung aber ich bin nicht gut im Übersetzten [quote=MightyE] A security issue was discovered against the Legend of the Green Dragon code base, and your email address is registered as an admin for a Legend of the Green Dragon server. It is imperative that you apply the below patch as soon as possible. The vulnerability permits masquerading as any user account. If you run the suipcontrol module, then your server will be protected against unwanted administrative changes, but users who are able to exploit this vulnerability will be able to masquerade as any user for any non-administrative purpose. Unfortunately this vulnerability was disclosed to the public before it was brought to our attention, so we were not able to issue a preemptive patch. The public disclosure was removed within an hour, but anyone who read it in the mean time may be able to figure out how to exploit this vulnerability. How to protect yourself against this exploit: Admins of the 1.0.6 version can find an updated version of "login.php" here: http://lotgd.net/updated_1.0.6_login.tar.gz Admins for the 1.1.0 Dragonprime Edition can visit Dragonprime.net to find an updated version of this file as soon as it is available. Anyone else may manually edit login.php and add this line of code immediately before the first $sql statement (typically around line 30): $password = addslashes($password); So typically this will look like: $password = addslashes($password); $sql = "SELECT * FROM " . db_prefix("accounts") . " WHERE login = '$name' AND password='$password' AND locked=0"; However it's possible that your $sql statement looks slightly different. Please contact me at MightyE@MightyE.org if you have questions on how to implement this on your server, and I will do my very best to help you out. As far as I know, this is the first security vulnerability discovered against the Legend of the Green Dragon core code base (meaning that it is not the result of a 3rd party module outside our control). -Eric "MightyE" Stevens [/quote] |
Autor: | Darkness [ Sa 16 Sep, 2006 21:24 ] |
Betreff des Beitrags: | |
Also eine Sache verwirrt mich da bei dir... [php]echo compress_out($output); echo $output;[/php] NOrmale steht nur eins von beiden da (je nachdem was bei dem Server funktinoiert) aber nie beides^^ nunja, ich weiß nich obs daran leigt, aber versuchs mal nur mit echo compress_out($output); und einmal nur mit echo $output; is auf jeden fall nen versuch wert^^ |
Autor: | Kamui [ Sa 16 Sep, 2006 22:01 ] |
Betreff des Beitrags: | |
In welcher Funktion page_header oder footer? EDIT: schon gut war footer und es geht wieder vielen dank das [php]echo $output;[/php] war zuviel klappt alles wieder korrekt ^^ |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |