Making phpBB2 working with PHP5 PhpBB2 fare lavorare con PHP5

Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5. Ufficialmente, phpBB 2 (come del documento, fino alla versione 2.0.17) non è a sostegno di PHP 5. If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors: Se si installa PHP 5, e utilizzarlo per eseguire phpBB, si incontrano i seguenti sintomi e gli errori:

  • 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. Non puoi inserire messaggio - Quando si desidera pubblicare nuove argomento o rispondere a un argomento, dopo aver scritto il tuo messaggio, quando fai clic su "Invia", una pagina vuota o schermo o messaggio di errore viene mostrato con barra degli indirizzi mostrando posting.php, invece di distacco messaggio di conferma.
  • 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. Si incapace di ricerca - Quando si desidera effettuare la ricerca facendo clic oh "Cerca", i risultati della ricerca non sono stati restituiti, o di una pagina o nero schermo, o messaggio di errore viene mostrato.

To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done. Per consentire PHP 5 per funzionare correttamente con phpBB, alcune modifiche del phpBB codice sorgente deve essere fatto. Just follow steps as below: Segui i passaggi come qui di seguito:

OPEN
admin/admin_ug_auth.php admin / admin_ug_auth.php

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

REPLACE WITH Sostituisci con
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 TROVA
( !isset($auth_access[$forum_id][$auth_field]) && !empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & &! Vuoto ($ change_acl_list [$ forum_id] [$ auth_field]))) | |

REPLACE WITH Sostituisci con
( !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: Infine, alcune modifiche sono necessarie in modo che funzioni che vengono chiamati a funzioni come parametri non sono chiamati 'di riferimento' con funzioni:

OPEN
includes/functions_post.php includes / functions_post.php

FIND TROVA
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) funzione submit_post ($ mode, & $ post_data, & $ messaggio, $ & 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 Sostituisci con
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) funzione submit_post ($ mode, & $ post_data, & $ messaggio, $ & 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
includes/functions_search.php includes / functions_search.php

FIND TROVA
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list) funzione clean_words ($ mode, & $ entry, stopword_list & $, & $ synonym_list)

REPLACE WITH Sostituisci con
function clean_words($mode, $entry, &$stopword_list, &$synonym_list) funzione clean_words ($ mode, $ entry, stopword_list & $, & $ synonym_list)

FIND TROVA
function split_words(&$entry, $mode = ‘post’) split_words funzione (& $ entry, $ mode = 'post')

REPLACE WITH Sostituisci con
function split_words($entry, $mode = ‘post’) funzione split_words ($ entry, $ mode = 'post')

For the above, the changes involved are some parameters have been stripped off the “&” sign. Per quanto sopra, le modifiche sono coinvolti alcuni parametri sono stati spogliati al largo della "&" segno.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



7 Responses to “Making phpBB2 working with PHP5” 7 risposte al "Making phpBB2 lavorare con PHP5"

  1. Alan
    July 25th, 2006 03:15 25 luglio 2006 03:15
    1

    It doesn’t work. Non funziona. Shame. Vergogna.

  2. KenMarshall
    April 17th, 2007 16:03 17 aprile 2007 16:03
    2

    I think, that is interesting for all. Credo, che è interessante per tutti.

  3. Test Verifica
    August 31st, 2007 07:26 31 agosto 2007 07:26
    3

    Hello Ciao

    G’night G'night

  4. acghjwolhqa
    September 28th, 2007 02:40 Settembre 28, 2007 02:40
    4

    Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Amerikanische ditta "ACG Logistica" sucht nach collaboratori in Europa fuer die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit. Lavoro interessante mit guter Verdienstmoeglichkeit.

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

  5. free poker download free poker libero scaricare gratuitamente poker poker
    November 15th, 2007 22:28 15 novembre 2007 22:28
    5

    download poker gratuito… download poker gratuito…

    Ogni software Poker casino poker… Ogni software Casinò Poker Poker…

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

    try this for working phpbb2 with php5 questo per tentare di lavoro phpbb2 con php5
    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 questo è tutto… ora funziona bene con php5

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

    Hi everybody Ciao a tutti

    Just trapped on a little tool to slice website images. Appena catturati su una piccola fetta strumento per sito web immagini.
    Quick in preparing ready html from simple single-image site design. Veloce nella preparazione di pronto html semplice da singolo-immagine design del sito.
    Program is rather crappy and cheap (especially comparing to similar function in PhotoShop). Programma è piuttosto crappy e poco costosi (in particolare rispetto a analoghe in Photoshop).
    But there is a trick! Ma c'è un trucco! Just look what books come as a bonus: Basta guardare ciò che libri come bonus:

    Search Engine Optimization: An Hour a Day Ottimizzazione dei motori di ricerca: un'ora al giorno
    Web Design in a Nutshell, 3rd Edition Web Design in a Nutshell, 3rd Edition
    Webmaster in a Nutshell, 3rd Edition Webmaster In poche parole, 3rd Edition
    etc…

    I wonder how $270 priced books can be sold for just 20 dollars… Mi chiedo come $ 270 a prezzi libri possono essere venduti per soli 20 dollari…
    Anyway here’s link: Comunque ecco link: http://www.sliceimage.com/

    Hope these books will help you as well. Speranza questi libri vi aiuterà pure.

    Regards, Saluti,
    Mark Marchio

Leave a Reply Lasciare una risposta

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> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

tvants porn tvants porno - -- phpBB2 php5 phpBB2 PHP5 - -- phpbb php5 phpBB PHP5 - -- tvants porno tvants porno - -- phpbb and php5 phpBB e PHP5 - -- phpbb 2 php 5 phpBB 2 PHP 5 - -- Porn on TV ANTS Porno in TV formiche - -- phpbb 2 php5 phpBB 2 PHP5 - -- tv ants porn TV formiche porno - -- php5 phpbb2 PHP5 phpbb2 - -- porn tvants porno tvants - -- phpbb submit_post phpBB submit_post - -- phpbb blank page phpBB pagina vuota - -- phpbb blank page php5 phpBB pagina vuota PHP5 - -- phpbb Porn phpBB Porno - -- porn on tvants porno a tvants - -- tvants server porn tvants server porno - -- phpbb2 and php5 phpbb2 e PHP5 - -- phpbb and php 5 phpBB e PHP 5 - -- phpbb2 with php5 phpbb2 con PHP5 - -- phpbb with php5 phpBB con PHP5 - -- porn servers for tvants porno server per tvants - -- "tvants server" porn "tvants server" porno - -- phpbb2 phpbb2 - -- P2P.Porno P2P.Porno - -- blank page PHPBB2 pagina vuota PHPBB2 - -- apache2 php5 empty page phpbb2 apache2 PHP5 pagina vuota phpbb2 - -- phpbb+php5 phpBB + PHP5 - -- phpbb2 turk phpbb2 Turk - -- tvants server porno tvants server porno - -- "tvants" +porn "tvants" + porno - -- php5 phpbb PHP5 phpBB - -- phpbb2 php5 hack phpbb2 PHP5 hack - -- phpbb submit_post function phpBB submit_post funzione - -- porn tv ants porno TV formiche - -- running phpbb2 with PHP5 esecuzione phpbb2 con PHP5 - -- phpbb na php5 phpBB na PHP5 - -- phpbb 2. phpBB 2. .22 on php 5 .22 A PHP 5 - -- phpbb2. phpbb2. php 5 PHP 5 - -- php5 work with chinese PHP5 lavorare con cinese - -- phpbb2 php 5 phpbb2 PHP 5 - -- porn servers on tvants porno server su tvants - -- $HTTP_POST_VARS php5 convert to $_POST $ HTTP_POST_VARS php5 convertire a $ _POST - -- phpbb2 search not working phpbb2 ricerca non funziona - -- porn phpbb porno phpBB - -- tvants porno tvants porno - -- phpbb2 php5 blank screen phpbb2 PHP5 schermo vuoto - -- phpbb2 + php5 phpbb2 + PHP5 - -- phpbb blank phpBB vuoto - -- site not working with php5 sito non funziona con PHP5 - --