Making phpBB2 working with PHP5 Làm phpBB2 làm việc với PHP5

Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5. Chính thức, phpBB 2 (như các văn bản này, đến phiên bản 2.0.17) là không hỗ trợ PHP 5. If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors: Nếu bạn cài đặt PHP 5, và sử dụng nó để chạy phpBB, bạn sẽ gặp phải các triệu chứng và các lỗi sau đây:

  • 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. Bạn không thể đăng bài viết - Khi bạn muốn đăng chủ đề mới hoặc trả lời một chủ đề, sau khi viết tin nhắn của bạn, khi bạn bấm vào "Submit", một trang trống hoặc màn hình hoặc thông báo lỗi được hiển thị với thanh địa chỉ hiển thị posting.php, thay vì gửi thông báo xác nhận.
  • 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. Bạn không thể tìm kiếm - Khi bạn muốn tìm kiếm bằng cách nhấn vào oh "tìm kiếm", không có kết quả tìm kiếm được được trả lại, hoặc một trang đen hoặc màn hình, hoặc thông báo lỗi được hiển thị.

To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done. Để kích hoạt PHP 5 đến hoạt động đúng với phpBB, một số thay đổi mã nguồn phpBB cần phải được thực hiện. Just follow steps as below: Chỉ cần làm theo các bước như sau:

OPEN MỞ
admin/admin_ug_auth.php admin / admin_ug_auth.php

FIND TÌM
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 REPLACE VỚI
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 TÌM
( !isset($auth_access[$forum_id][$auth_field]) && !empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & & (có sản phẩm nào! Change_acl_list [$ forum_id] [$ auth_field]))) | |

REPLACE WITH REPLACE VỚI
( !isset($auth_access[$forum_id][$auth_field]) && empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & & (change_acl_list rỗng [$ 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: Cuối cùng, một số thay đổi là cần thiết để các chức năng mà có được gọi với chức năng như các thông số không được gọi là 'bằng cách tham khảo' với các chức năng:

OPEN MỞ
includes/functions_post.php bao gồm / functions_post.php

FIND TÌM
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) chức năng submit_post ($ mode, & $ post_data, & $ tin nhắn, & $ 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 REPLACE VỚI
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) chức năng submit_post ($ mode, & $ post_data, & $ tin nhắn, & $ 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, poll_options $ post_message, $ poll_title, & $, & $ poll_length)

OPEN MỞ
includes/functions_search.php bao gồm / functions_search.php

FIND TÌM
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list) chức năng clean_words ($ mode, & $ entry, & $ stopword_list, & $ synonym_list)

REPLACE WITH REPLACE VỚI
function clean_words($mode, $entry, &$stopword_list, &$synonym_list) chức năng clean_words ($ mode, $ entry, & $ stopword_list, & $ synonym_list)

FIND TÌM
function split_words(&$entry, $mode = 'post') chức năng split_words (& $ entry, $ mode = 'đăng bài')

REPLACE WITH REPLACE VỚI
function split_words($entry, $mode = 'post') chức năng split_words ($ entry, $ mode = 'đăng bài')

For the above, the changes involved are some parameters have been stripped off the “&” sign. Đối với ở trên, những thay đổi có liên quan là một số thông số đã bị tước khỏi "& đăng nhập".

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


13 Responses to “Making phpBB2 working with PHP5” 13 Responses to "Làm phpBB2 làm việc với PHP5"

  1. Amourotat Amourotat
    April 11th, 2009 14:01 11 tháng 4 năm 2009 14:01
    13 13

    I have been considering switching from TV to another service like satellite. Tôi đã được xem xét chuyển đổi từ truyền hình đến một dịch vụ như vệ tinh. I know there at a lot of options out there and wanted some advice on what I should look for or purchase. Tôi biết có lúc rất nhiều tuỳ chọn lên đó, và muốn có một số lời khuyên về những gì tôi nên tìm mua. It's sad, but I am spending about 125 dollars a month on my tv service and I am getting less than 70 channels. Nó buồn, nhưng tôi chi tiêu khoảng 125 đô la một tháng trên tv dịch vụ của tôi và tôi nhận được ít hơn 70 kênh. I would love more channels, hd television, and a tivo/tv recording box. Tôi rất thích các kênh khác, truyền hình hd, và TiVo một / hộp ghi âm tv. Any ideas or suggestions would be helpful. Bất cứ ý tưởng hoặc đề nghị sẽ là hữu ích.

  2. edressupgamers edressupgamers
    March 12th, 2009 03:16 Ngày 12 tháng 3 năm 2009 03:16
    12 12

    I'm new here! Tôi mới ở đây! looking forward to having a great time here! mong có một thời gian tuyệt vời tại đây!

  3. robbiVes robbiVes
    December 16th, 2008 17:59 Ngày 16 tháng 12 năm 2008 17:59
    11 11

    ehi! ehi!

    qualcuno di voi conosce un concorso online per qualcuno di voi conosce un concorso per trực tuyến
    diventare una modella? diventare una modella?

  4. PokerMosi PokerMosi
    December 3rd, 2008 09:20 Ngày 3 tháng 12 năm 2008 09:20
    10 10

    Hello everyone… Xin chào tất cả mọi người ...
    iam pretty new to poker, mostly playing at home with friends. iam khá mới để xi, chủ yếu là chơi ở nhà với bạn bè. now i also want to play online…so my question is. bây giờ tôi cũng muốn chơi trực tuyến ... để câu hỏi của tôi là. where do you play onlne? nơi nào bạn chơi onlne? any hints you got for me, what should i look for? bất cứ gợi ý bạn đã cho tôi, những gì tôi cần tìm?

    Greetings and thx to everyone… [img]http://www.einfachpokern.de/smile.gif[/img] Chúc mừng và thx cho tất cả mọi người ... [img] http://www.einfachpokern.de/smile.gif [/ img]

  5. rareenny rareenny
    December 2nd, 2008 12:15 Ngày 02 tháng 12 năm 2008 12:15
    9 9

    Hi. Chào. I on numerous occasions scan this forum. Tôi nhiều lần quét này diễn đàn. This is the head culture undisputed to ask a ridiculous. Đây là văn hóa đầu undisputed để yêu cầu một vô lý.
    How numberless in this forum are references progressive behind, knavish users? Làm thế nào vô số trong diễn đàn này là tài liệu tham khảo tiến bộ, đằng sau, người dùng hành vi bất lương?
    Can I bank all the advice that there is? Tôi có thể ngân hàng của tất cả các lời khuyên rằng có?

  6. eurolmece eurolmece
    October 5th, 2008 15:46 05 Tháng Mười 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. Tôi đã thoát khỏi kết nối cáp của tôi gần đây và đã đi "Internet chỉ" tôi. Biết về những nơi như Hulu và chương trình TV như vậy, nơi bạn có thể xem trước ghi lại. But I'm looking for a service where you can watch actual TV channels live as a replacement for cable. Nhưng tôi đang tìm một dịch vụ mà bạn có thể xem các kênh truyền hình thực tế sinh sống như là một thay thế cho cáp. You know, where you can flip through channels of the big broadcasters and see TV shows and sports games as they're broadcasted. Bạn đã biết, nơi bạn có thể lướt qua các kênh của đài phát thanh lớn và xem chương trình TV và trò chơi thể thao như họ đang phát sóng.

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

  7. spycrasher spycrasher
    July 15th, 2008 19:18 Tháng 7 15, 2008 19:18
    7 7

    Hi everybody Chào mọi người

    Just trapped on a little tool to slice website images. Chỉ cần mắc kẹt trên một công cụ nhỏ để cắt hình ảnh trang web.
    Quick in preparing ready html from simple single-image site design. Html nhanh trong việc chuẩn bị sẵn sàng từ thiết kế đơn giản đơn trang web hình ảnh.
    Program is rather crappy and cheap (especially comparing to similar function in PhotoShop). Chương trình khá crappy và rẻ (đặc biệt là so với chức năng tương tự như trong Photoshop).
    But there is a trick! Nhưng có một mẹo! Just look what books come as a bonus: Chỉ cần nhìn những gì sách đến như là một tiền thưởng:

    Search Engine Optimization: An Hour a Day Search Engine Optimization: An Hour a Day
    Web Design in a Nutshell, 3rd Edition Web Design in a Nutshell, 3rd Edition
    Webmaster in a Nutshell, 3rd Edition Webmaster in a Nutshell, 3rd Edition
    etc… vv ...

    I wonder how $270 priced books can be sold for just 20 dollars… Tôi tự hỏi làm thế nào sách có giá $ 270 có thể được bán với chỉ 20 đô la ...
    Anyway here's link: Dù sao đây là liên kết: http://www.sliceimage.com/ http://www.sliceimage.com/

    Hope these books will help you as well. Hy vọng những cuốn sách này sẽ giúp bạn là tốt.

    Regards, Kính trọng,
    Mark Mark

  8. rk rk
    December 3rd, 2007 21:28 03 tháng 12 2007 21:28
    6 6

    try this for working phpbb2 with php5 hãy thử làm việc này cho phpbb2 với php5
    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 đó là tất cả ... bây giờ làm việc tốt với php5

  9. free poker download free poker Việt poker download free poker
    November 15th, 2007 22:28 Ngày 15 Tháng Mười Một 2007 22:28
    5 5

    download poker gratuito… download poker gratuito ...

    Ogni software Poker casino poker… Ogni phần mềm Poker casino poker ...

  10. acghjwolhqa acghjwolhqa
    September 28th, 2007 02:40 28 tháng 9 năm 2007 02:40
    4 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 một info@acglogistics.biz info@acglogistics.biz [/b] [/ b]

  11. Test Kiểm tra
    August 31st, 2007 07:26 31 Tháng 8 2007 07:26
    3 3

    Hello Xin chào

    G'night G'night

  12. KenMarshall KenMarshall
    April 17th, 2007 16:03 17 Tháng Tư 2007 16:03
    2 2

    I think, that is interesting for all. Tôi nghĩ rằng, đó là thú vị cho tất cả.

  13. Alan Alan
    July 25th, 2006 03:15 25 tháng 7 năm 2006 03:15
    1 1

    It doesn't work. Nó không hoạt động. Shame. Xấu hổ.

Leave a Reply Để lại một trả lời

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> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

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 phim - -- shemales and women Shemales và phụ nữ - -- $HTTP_COOKIE_VARS php5 $ HTTP_COOKIE_VARS php5 - -- phpbb2 php5 problem blank page phpbb2 php5 vấn đề trống trang - -- phpbb2 php5 blank page phpbb2 php5 trống trang - -- php5 phpbb2 php5 phpbb2 - -- php5 phpbb2 blank page php5 phpbb2 trống trang - -- nude twinks nude Twinks - --