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.phpFIND 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.phpFIND 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.phpFIND 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ể.
Related Articles Bài viết liên quan
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 3 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 3
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 2 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 2
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 1 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 1
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating hoặc Split WordPress Đăng hoặc Trang với NextPage trong WordPress Không phải làm việc
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 4 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 4
- ControlPad – Making use of Numeric Keypad to Execute Windows Commands ControlPad - Làm việc sử dụng Numeric Bàn phím để Execute Windows Commands
- Google Phone (or GPhone) in the Making? Điện thoại của Google (hay Gphone) trong Making?
- Fix Windows Vista Search Indexer Has Stopped Working with KB952093 Fix Windows Vista Tìm kiếm Indexer Has Stopped Làm việc với KB952093
- Making Easy Money While Surfing the Net Making Money Easy Trong khi lướt Net
- AutoPlay/AutoRun Not Working or Missing Not Open in Windows Vista AutoPlay / AutoRun Không phải làm việc hoặc bị thiếu Không phải mở trong Windows Vista










































April 11th, 2009 14:01 11 tháng 4 năm 2009 14:01
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.
March 12th, 2009 03:16 Ngày 12 tháng 3 năm 2009 03:16
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!
December 16th, 2008 17:59 Ngày 16 tháng 12 năm 2008 17:59
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?
December 3rd, 2008 09:20 Ngày 3 tháng 12 năm 2008 09:20
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]
December 2nd, 2008 12:15 Ngày 02 tháng 12 năm 2008 12:15
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ó?
October 5th, 2008 15:46 05 Tháng Mười 2008 15:46
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?
July 15th, 2008 19:18 Tháng 7 15, 2008 19:18
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
December 3rd, 2007 21:28 03 tháng 12 2007 21:28
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
November 15th, 2007 22:28 Ngày 15 Tháng Mười Một 2007 22:28
download poker gratuito… download poker gratuito ...
Ogni software Poker casino poker… Ogni phần mềm Poker casino poker ...
September 28th, 2007 02:40 28 tháng 9 năm 2007 02:40
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]
August 31st, 2007 07:26 31 Tháng 8 2007 07:26
Hello Xin chào
G'night G'night
April 17th, 2007 16:03 17 Tháng Tư 2007 16:03
I think, that is interesting for all. Tôi nghĩ rằng, đó là thú vị cho tất cả.
July 25th, 2006 03:15 25 tháng 7 năm 2006 03:15
It doesn't work. Nó không hoạt động. Shame. Xấu hổ.