Making phpBB2 working with PHP5 Padaryti phpBB2 darbo su PHP5

Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5. Oficialiai phpBB 2 (kaip šio raštu, iki version 2.0.17) ne palaiko PHP 5. If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors: Jei turite įdiegti PHP 5, ir naudoti jį paleisti phpBB jums susidurti su šių simptomų ir klaidos:

  • You cannot post message – When you want to post new topic or reply to a topic, after writing your message, when you click “Submit”, a blank page or screen or error message is shown with address bar showing posting.php, instead of posting confirmation message. Jūs negalite rašyti laišką - kai norite pateikti naują temą arba atsakyti į temą, po to rašyti pranešimą, kai paspaudžiate mygtuką "Patvirtinti", tuščias puslapis ar ekranas arba klaidos pranešimas yra rodomas su adreso laukelį, kuriame posting.php vietoj komandiravimo patvirtinimo laišką.
  • You unable to search – When you want to search by clicking oh “Search”, no search results are been returned, or a black page or screen, or error message is shown. Jūs negalite paieška - Jei norite ieškoti paspaudę Oh "Paieška", ne paieškos rezultatai buvo grąžinti, arba juoda puslapį arba ekrane, arba klaidos pranešimas yra rodomas.

To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done. Norėdami įjungti PHP 5 tinkamai veiktų su phpBB, kai pakeitimai phpBB kodą reikia padaryti. Just follow steps as below: Tiesiog atlikite veiksmus, kaip nurodyta toliau:

OPEN OPEN
admin/admin_ug_auth.php admin / admin_ug_auth.php

FIND RASTI
if( $forum_access[$i][$auth_field] == AUTH_ACL && isset($change_acl_list[$forum_id][$auth_field]) ) jei ($ forum_access [$ i] [$ auth_field] == AUTH_ACL & & isset ($ change_acl_list [$ forum_id] [$ auth_field]))

REPLACE WITH Pakeisti
if( $forum_access[$i][$auth_field] == AUTH_ACL && isset($change_acl_list[$forum_id]) ) if ($ forum_access [$ i] [$ auth_field] == AUTH_ACL & & isset ($ change_acl_list [$ forum_id]))

FIND RASTI
( !isset($auth_access[$forum_id][$auth_field]) && !empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & &! Tuščia ($ change_acl_list [$ forum_id] [$ auth_field]))) | |

REPLACE WITH Pakeisti
( !isset($auth_access[$forum_id][$auth_field]) && empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & & empty ($ change_acl_list [$ forum_id] [$ auth_field]))) | |

Finally, some changes are needed so that functions that get called with functions as parameters are not called 'by reference' with functions: Galiausiai, kai kurie pakeitimai yra reikalingi tam, kad funkcijas, gauti vadinami funkcijoms kaip kriterijai nėra vadinama "nuoroda" su funkcijomis:

OPEN OPEN
includes/functions_post.php includes / functions_post.php

FIND RASTI
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length) funkcija submit_post ($ imu, & $ post_data, & $ message, $ & meta, & $ forum_id, & $ topic_id, & $ post_id, & $ poll_id, & $ topic_type, & $ bbcode_on, & $ html_on, & $ smilies_on, & $ attach_sig, & $ bbcode_uid, & $ post_username, & $ post_subject, & $ post_message, & $ poll_title, & $ poll_options, & $ poll_length)

REPLACE WITH Pakeisti
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, $post_username, $post_subject, $post_message, $poll_title, &$poll_options, &$poll_length) funkcija submit_post ($ imu, & $ post_data, & $ message, $ & meta, & $ forum_id, & $ topic_id, & $ post_id, & $ poll_id, & $ topic_type, & $ bbcode_on, & $ html_on, & $ smilies_on, & $ attach_sig, & $ bbcode_uid, $ post_username, $ post_subject, $ post_message, $ poll_title, & $ poll_options, & $ poll_length)

OPEN OPEN
includes/functions_search.php includes / functions_search.php

FIND RASTI
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list) funkcija clean_words ($ imu, & $ įrašą, & $ stopword_list, & $ synonym_list)

REPLACE WITH Pakeisti
function clean_words($mode, $entry, &$stopword_list, &$synonym_list) funkcija clean_words ($ imu, $ entry, & $ stopword_list, & $ synonym_list)

FIND RASTI
function split_words(&$entry, $mode = 'post') funkcija split_words (& $ entry, $ mode = 'post')

REPLACE WITH Pakeisti
function split_words($entry, $mode = 'post') funkcija split_words ($ entry, $ mode = 'post')

For the above, the changes involved are some parameters have been stripped off the “&” sign. Dėl pirmiau, pakeitimai yra įtraukti kai kuriuos parametrus, buvo atskirtas ne "&" ženklu.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


13 Responses to “Making phpBB2 working with PHP5” 13 Responses to "Making phpBB2 darbo su PHP5"

  1. Amourotat Amourotat
    April 11th, 2009 14:01 11 balandis 2009 14:01
    13 13

    I have been considering switching from TV to another service like satellite. Aš svarsto perjungimas iš televizijos į kitą, pavyzdžiui, palydovinio ryšio paslaugas. I know there at a lot of options out there and wanted some advice on what I should look for or purchase. Žinau, ten galimybių atlikti daug ten ir norėjau šiek tiek ką reikėtų ieškoti arba pirkti patarimo. It's sad, but I am spending about 125 dollars a month on my tv service and I am getting less than 70 channels. Tai liūdna, tačiau aš esu išleidžiama apie 125 dolerių per mėnesį, mano TV paslaugą ir gaunu mažiau kaip 70 kanalų. I would love more channels, hd television, and a tivo/tv recording box. Aš norėčiau daugiau kanalų, HD televizijos ir TiVo / Televizija įrašymo lange. Any ideas or suggestions would be helpful. Bet kokias idėjas ir pasiūlymus, būtų naudinga.

  2. edressupgamers edressupgamers
    March 12th, 2009 03:16 Kovas 12, 2009 03:16
    12 12

    I'm new here! I'm new here! looking forward to having a great time here! laukiu having a great time here!

  3. robbiVes robbiVes
    December 16th, 2008 17:59 16 gruodis 2008 17:59
    11 11

    ehi! EHI!

    qualcuno di voi conosce un concorso online per Qualcuno di voi conosce un concorso internete už
    diventare una modella? Narystė una modella?

  4. PokerMosi PokerMosi
    December 3rd, 2008 09:20 3 gruodis 2008 09:20
    10 10

    Hello everyone… Hello everyone ...
    iam pretty new to poker, mostly playing at home with friends. Iam gana nauja pokerio, dažniausiai žaidžia namuose su draugais. now i also want to play online…so my question is. Dabar aš taip pat norime žaisti internete ... taigi mano klausimas yra. where do you play onlne? Where do you play onlne? any hints you got for me, what should i look for? jokių užuominų, jūs turite man, ką turėčiau ieškoti?

    Greetings and thx to everyone… [img]http://www.einfachpokern.de/smile.gif[/img] Sveikinimai ir thx visiems ... [img] http://www.einfachpokern.de/smile.gif [/ img]

  5. rareenny rareenny
    December 2nd, 2008 12:15 2 gruodis 2008 12:15
    9 9

    Hi. Labas. I on numerous occasions scan this forum. Aš daug kartų ieškoti šiame forume. This is the head culture undisputed to ask a ridiculous. Tai pagrindinė kultūra neginčijama paklausti juokinga.
    How numberless in this forum are references progressive behind, knavish users? Kaip nesuskaičiuojamas šiame forume yra nuorodos progressive atsilieka, suktas vartotojams?
    Can I bank all the advice that there is? Galiu banko visus patarimus, kad yra?

  6. eurolmece eurolmece
    October 5th, 2008 15:46 5 spalis 2008 15:46
    8 8

    I got rid of my cable connection recently and went “internet only.” I know about those places like Hulu and such where you can watch pre-recorded TV shows. I got rid of my kabeliu neseniai ir atėjo "Internet only." Žinau apie tuos, kaip Hulu ir tokių, kur Jūs galite stebėti iš anksto įrašyta TV laidos vietose. But I'm looking for a service where you can watch actual TV channels live as a replacement for cable. Bet aš ieškau paslauga, kai galima žiūrėti televizijos kanalus tikrasis gyventi kaip kabelio pakeitimas. You know, where you can flip through channels of the big broadcasters and see TV shows and sports games as they're broadcasted. Jūs žinote, kur Jūs galite vartyti kanalų Big transliuotojų ir rodyti televizijos laidas ir sporto žaidimus kaip jie transliuojami.

    What do you guys think? What do you guys think?

  7. spycrasher spycrasher
    July 15th, 2008 19:18 15 liepa 2008 19:18
    7 7

    Hi everybody Hi everybody

    Just trapped on a little tool to slice website images. Tiesiog spąstais dėl mažai įrankiu dalyti svetainėje vaizdus.
    Quick in preparing ready html from simple single-image site design. Glausta html pasiruošę rengti paprastą vieno vaizdas svetainės dizainas.
    Program is rather crappy and cheap (especially comparing to similar function in PhotoShop). Programa yra gana crappy ir pigūs (ypač lyginant su panašias funkcijas Photoshop).
    But there is a trick! Bet yra apgauti! Just look what books come as a bonus: Tik pažiūrėkite, kas ateis, kaip knygos premiją

    Search Engine Optimization: An Hour a Day Search Engine Optimization: An Hour diena
    Web Design in a Nutshell, 3rd Edition Web dizainas trumpai, 3rd Edition
    Webmaster in a Nutshell, 3rd Edition Webmaster Trumpai tariant, 3rd Edition
    etc… etc ...

    I wonder how $270 priced books can be sold for just 20 dollars… Įdomu, kaip $ 270 kaina knygų gali būti parduotas tik už 20 dolerių ...
    Anyway here's link: Bet kokiu atveju čia nuoroda: http://www.sliceimage.com/ http://www.sliceimage.com/

    Hope these books will help you as well. Tikimės, kad šios knygos padės Jums taip pat.

    Regards, Linkėjimai,
    Mark Pažymėti

  8. rk RK
    December 3rd, 2007 21:28 3 gruodis 2007 21:28
    6 6

    try this for working phpbb2 with php5 Išbandykite šį su php5 phpbb2 darbo
    extension.inc extension.inc
    $HTTP_GET_VARS=$_GET; $ HTTP_GET_VARS = $ _GET;
    $HTTP_POST_VARS=$_POST; $ HTTP_POST_VARS = $ _POST;
    $HTTP_COOKIE_VARS=$_COOKIE; $ HTTP_COOKIE_VARS = $ _COOKIE;
    that's all… works now fine with php5 That's all ... veikia dabar gerai su PHP5

  9. free poker download free poker free poker download free poker
    November 15th, 2007 22:28 15 lapkritis 2007 22:28
    5 5

    download poker gratuito… download poker gratuito ...

    Ogni software Poker casino poker… Ogni įranga Poker pokerio ...

  10. acghjwolhqa acghjwolhqa
    September 28th, 2007 02:40 28 rugsėjis 2007 02:40
    4 4

    Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Amerikanische Firma "ACG logistika" sucht nach Mitarbeiter in Europa für die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit. Interessanter Darbo mit guter Verdienstmoeglichkeit.

    [b]Schicken Sie bitte Ihre Bewerbung an [b] Schicken Sie bitte Ihre Bewerbung info@acglogistics.biz info@acglogistics.biz [/b] [/ b]

  11. Test Tikrinti
    August 31st, 2007 07:26 31 rugpjūtis 2007 07:26
    3 3

    Hello Labas

    G'night G'night

  12. KenMarshall KenMarshall
    April 17th, 2007 16:03 17 balandis 2007 16:03
    2 2

    I think, that is interesting for all. Manau, kad yra įdomus visiems.

  13. Alan Alan
    July 25th, 2006 03:15 25 liepa 2006 03:15
    1 1

    It doesn't work. Neveikia. Shame. Gėda.

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

php5 HTTP_GET_VARS php5 HTTP_GET_VARS - -- phpbb2 php5 phpbb2 php5 - -- http_get_vars php5 http_get_vars php5 - -- hostingdiscounter phpbb 2 php5 hostingdiscounter phpBB 2 php5 - -- shemales movies Shemales movies - -- shemales and women shemales ir moterims - -- $HTTP_COOKIE_VARS php5 $ HTTP_COOKIE_VARS php5 - -- phpbb2 php5 problem blank page phpbb2 problemos su php5 tuščią puslapį - -- phpbb2 php5 blank page phpbb2 php5 tuščią puslapį - -- php5 phpbb2 php5 phpbb2 - -- php5 phpbb2 blank page php5 phpbb2 tuščią puslapį - -- nude twinks Nude Twinks - --