Making phpBB2 working with PHP5 Fazendo phpBB2 trabalhar com PHP5

Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5. Oficialmente, phpBB 2 (a partir deste escrito, até a versão 2.0.17) não está apoiando PHP 5. If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors: Se você instalar o PHP 5, e usá-lo para executar phpBB, você irá encontrar os seguintes sintomas e erros:

  • 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. Você não pode postar mensagem - Quando você quiser postar novo tópico ou responder a um tópico, depois de escrever a mensagem, quando você clica em "Enviar", uma página em branco ou tela ou mensagem de erro é mostrado com a barra de endereço mostrando posting.php, em vez de postando mensagem de confirmação.
  • 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. É incapaz de pesquisa - Quando você deseja pesquisar clicando oh "Pesquisar", não são os resultados da pesquisa foram devolvidos, ou uma página ou tela preta, ou mensagem de erro é mostrado.

To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done. Para ativar PHP 5 para funcionar corretamente com o phpBB, algumas alterações ao phpBB código fonte precisa ser feito. Just follow steps as below: Basta seguir os passos conforme abaixo:

OPEN
admin/admin_ug_auth.php admin / admin_ug_auth.php

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

REPLACE WITH WITH REPLACE
( !isset($auth_access[$forum_id][$auth_field]) && empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & & vazio ($ 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: Finalmente, algumas mudanças são necessárias para que as funções que buscar chamado com funções como parâmetros não são chamados "pela referência" com funções:

OPEN
includes/functions_post.php includes / functions_post.php

FIND
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) função submit_post ($ modo, & $ post_data, & $ mensagem, & $ 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 WITH REPLACE
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) função submit_post ($ modo, & $ post_data, & $ mensagem, & $ 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
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list) função clean_words ($ modo, & $ entrada, & $ stopword_list, & $ synonym_list)

REPLACE WITH WITH REPLACE
function clean_words($mode, $entry, &$stopword_list, &$synonym_list) função clean_words ($ modo, $ entrada, & $ stopword_list, & $ synonym_list)

FIND
function split_words(&$entry, $mode = ‘post’) função split_words (& $ entrada, $ mode = 'post')

REPLACE WITH WITH REPLACE
function split_words($entry, $mode = ‘post’) função split_words ($ entrada, $ mode = 'post')

For the above, the changes involved are some parameters have been stripped off the “&” sign. Para o acima exposto, as mudanças estão envolvidos alguns parâmetros foram despojados fora do "&" sinal.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma máquina página traduzida que é fornecido "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de entender. Please refer to Por favor referir-se original English article artigo original Inglês whenever possible. quando possível.

Share and contribute or get technical support and help at Compartilhe e contribuir ou obter assistência técnica e ajudar a My Digital Life Forums Minha vida digital Fóruns .



8 Responses to “Making phpBB2 working with PHP5” 8 Responses to "Fazendo phpBB2 trabalhar com PHP5"

  1. Alan
    July 25th, 2006 03:15 25 de julho de 2006 03:15
    1

    It doesn’t work. Não funciona. Shame. Vergonha.

  2. KenMarshall
    April 17th, 2007 16:03 17 de abril de 2007 16:03
    2

    I think, that is interesting for all. Eu acho, que é interessante para todos.

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

    Hello Olá

    G’night G'night

  4. acghjwolhqa
    September 28th, 2007 02:40 28 de setembro de 2007 02:40
    4

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

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

  5. free poker download free poker download gratuito poker poker grátis
    November 15th, 2007 22:28 15 de novembro de 2007 22:28
    5

    download poker gratuito… download gratuito poker ...

    Ogni software Poker casino poker… Ogni software Poker casino poker ...

  6. rk
    December 3rd, 2007 21:28 3 de dezembro de 2007 21:28
    6

    try this for working phpbb2 with php5 tente isto para trabalhar phpbb2 com 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 isso é tudo ... agora funciona muito bem com o PHP5

  7. spycrasher
    July 15th, 2008 19:18 15 de julho de 2008 19:18
    7

    Hi everybody Oi todo mundo

    Just trapped on a little tool to slice website images. Basta aprisionado em uma ferramenta pequena fatia para website imagens.
    Quick in preparing ready html from simple single-image site design. Rápido na preparação html pronto desde a simples imagem única de design do site.
    Program is rather crappy and cheap (especially comparing to similar function in PhotoShop). Programa é bastante crappy e barato (especialmente comparando com função semelhante no PhotoShop).
    But there is a trick! Mas existe um truque! Just look what books come as a bonus: Basta ver que livros vêm com um bônus:

    Search Engine Optimization: An Hour a Day Search Engine Optimization: uma hora por dia
    Web Design in a Nutshell, 3rd Edition Web Design em um Nutshell, 3 ª edição
    Webmaster in a Nutshell, 3rd Edition Webmaster em um Nutshell, 3 ª edição
    etc… etc ...

    I wonder how $270 priced books can be sold for just 20 dollars… Pergunto-me como livros priced $ 270 pode ser vendido por apenas 20 dólares ...
    Anyway here’s link: Enfim aqui vai link: http://www.sliceimage.com/

    Hope these books will help you as well. Esperamos esses livros irão ajudá-lo tão bem.

    Regards, Atenciosamente,
    Mark Marcar

  8. eurolmece
    October 5th, 2008 15:46 5 Oct, 2008 15:46
    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. Tenho de me livrar de ligação por cabo recentemente e saiu "apenas Internet". Eu sei sobre esses lugares como esses Hulu e onde você pode assistir a um pré-gravados programas de TV. But I’m looking for a service where you can watch actual TV channels live as a replacement for cable. Mas estou à procura de um serviço onde você pode assistir a um verdadeiro canais de TV ao vivo como um substituto para o cabo. You know, where you can flip through channels of the big broadcasters and see TV shows and sports games as they’re broadcasted. Sabe, quando você pode virar através de canais de radiodifusão e de ver os grandes programas de TV e jogos esportivos à medida que forem difundidas.

    What do you guys think? O que é que vocês pensam?

Leave a Reply Deixe uma Resposta

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> Você pode usar estas tags: <a href="" title="Avião"> <abbr title="Avião"> <acronym title="Avião"> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Subscrever sem comentar


Custom Search

New Articles Novos artigos

Incoming Search Terms for the Article Incoming Pesquisa Termos para o artigo

phpbb2 php5 phpbb2 PHP5 - -- phpbb php5 phpbb PHP5 - -- php5 phpbb2 PHP5 phpbb2 - -- phpBB and php5 phpBB e PHP5 - -- tvants porn tvants pornô - -- porn on tv ants pornô na tv formigas - -- phpbb submit blank screen phpbb apresentar tela em branco - -- phpbb 2 php5 phpbb 2 PHP5 - -- tvants porn servers tvants servidores pornô - -- phpbb blank page submit phpbb página em branco apresentará - -- how to get phpbb2 working como receber o trabalho phpbb2 - -- phpbb converter extension.inc source phpbb conversor extension.inc fonte - -- php5和phpbb2 PHP5和phpbb2 - -- phpbb for php5 phpbb para PHP5 - -- porn servers on tvants pornô servidores em tvants - -- phpbb2 with php5 phpbb2 com PHP5 - -- working with php5 trabalhando com o PHP5 - -- "I got rid of my cable connection recently" "Tenho de me livrar de ligação por cabo recentemente" - -- can i use php 5 with phpbb Posso usar o php 5 com phpbb - -- can i run phpbb with php 5 Posso correr com php phpbb 5 - -- phpbb php5 phpbb PHP5 - -- mailing is not working with phpbb mailing não está trabalhando com phpbb - -- phpbb document the source code phpbb documento, o código fonte - -- phpbb v2 php5 phpbb v2 PHP5 - -- phpbb2 php5 empty forum phpbb2 PHP5 vazio fórum - -- phpbb "php 5" phpbb "php 5" - -- U3 firefox français 2.0.17 U3 firefox français 2.0.17 - -- make phpbb2 to work with php5 phpbb2 fazer para trabalhar com PHP5 - -- make phpbb2 work with php5 phpbb2 fazer funcionar com o PHP5 - -- sluggish phpbb2 on php5 lerdo phpbb2 sobre PHP5 - -- tvants servers porn tvants servidores pornô - -- phpbb2 + php5 phpbb2 + PHP5 - --