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.phpFIND 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.phpFIND 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.phpFIND 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 .
Related Articles Articoli correlati
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Installare phpBB 2 in Windows XP in esecuzione su Apache 2, PHP 5 e MySQL 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 L'installazione di server Web in FreeBSD 6,0 con Apache 2,2, 5,0 MySQL e PHP 5 - Parte 5
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3 Installare server Web in Windows XP con Apache2, PHP5 e MySQL4 - Parte 3
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1 Installare server Web in Windows XP con Apache2, PHP5 e MySQL4 - Parte 1
- Job Hunting - Working in Google or Microsoft Caccia di posti di lavoro - Lavorare in Google o Microsoft
- Using phpMyAdmin for Effective MySQL Management in Windows XP Utilizzando phpMyAdmin per un'efficace gestione di MySQL in Windows XP
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 Installare server Web in Windows XP con Apache2, PHP5 e MySQL4 - Parte 4
- Google Browser Sync for Firefox Review by iTWire Google Browser Sync per Firefox modifica di iTWire
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2 Installare server Web in Windows XP con Apache2, PHP5 e MySQL4 - Parte 2
- No Drive Letter for USB or Firewire Drive N. lettera di unità USB o Firewire Drive
















July 25th, 2006 03:15 25 luglio 2006 03:15
It doesn’t work. Non funziona. Shame. Vergogna.
April 17th, 2007 16:03 17 aprile 2007 16:03
I think, that is interesting for all. Credo, che è interessante per tutti.
August 31st, 2007 07:26 31 agosto 2007 07:26
Hello Ciao
G’night G'night
September 28th, 2007 02:40 Settembre 28, 2007 02:40
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]
November 15th, 2007 22:28 15 novembre 2007 22:28
download poker gratuito… download poker gratuito…
Ogni software Poker casino poker… Ogni software Casinò Poker Poker…
December 3rd, 2007 21:28 3 dicembre 2007 21:28
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
July 15th, 2008 19:18 15 luglio 2008 19:18
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