Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support

Actron

Mitglied
  • Content count

    86
  • Joined

  • Last visited

Posts posted by Actron


  1. Stringliterals sollten bei Array-Assignments immer in Quotes gesetzt werden, s.a.

    http://de3.php.net/manual/en/language.types.array.php

    -> Array do's and don'ts, Why is $foo[bar] wrong?

    This is what happened to u:

    So why is it bad then?

    At some point in the future, the PHP team might want to add another constant or keyword, or you may introduce another constant into your application, and then you get in trouble. For example, you already cannot use the words empty and default this way, since they are special reserved keywords.

    Dein Server wurd ueber Nacht auf PHP5 umgestellt, T_TRY isn Tokenizer der Zend Engine und try das entsp. keyword. Eigentlich musstest du alle Array Indices in Quotes (except Constantes + Variablen) setzen für ein sichere Zukunft mit PHP5.

    //EDIT:

    Jetzt besteht nur noch der Fehler im ACP.

    Scroll weiter runter in http://www.ipbsupport.de/board/index.php?s...amp;#entry29058


  2. hallo!

    hab im ipb 1.3 nen bug gefunden wenn man polls erstellt. man kann immer eine antwort mehr angeben als im adminbereich eingestekkt und im postformular angezeigt wird. habe im code auch die stelle gefunden wo

    if ($this->poll_count > $ibforums->vars['max_poll_choices'])
    in
    if ($this->poll_count + 1 > $ibforums->vars['max_poll_choices'])

    geändert werden muss. in post_poll.php für neue polls und in post_poll_after.php wenn man nachträglich eine umfrage eröffnet. gibts da noch weitere stellen als die zei? (poll editiern oder so?) und ist die behebung so db-technisch okay?

    cu

    Bernd


  3. Hallo!

    Auf meine Startseitre (IPDynamic Lite) zeige ich so kurze Teile von Threads, und wenn da in den ersten Zeilen ein url-Tag drin ist wird das fehlerhaft angezeigt:

    124 mal gelesen - schreibe einen Kommentar

    So halt nicht als Text, aber alles als kaputter Link. Wie als ob das alles verschmelzt würde und dann kommt immer nur eine Fehlerseite. Ist da ein Bug im Script?? Weil so Links müssten doch abgeschnitten werden. Wisst ihr was ich mein? Gibts da nen Patch oder so?

    Tnx!!!

    Bernd

×