Making phpBB2 working with PHP5 PHP5の作業をメーカーphpbb2
Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5.公式には、 phpBBの2 (本稿執筆時点で、最大のバージョン2.0.17 )ではないのPHP 5をサポートします。 If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors:のPHP 5をインストールした場合に、それを使うことを実行するのphpBB 、あなたは次のような症状に遭遇するとエラー:
- 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.メッセージを投稿することはできません-新しいトピックを作成したいときやトピックに返信するには、あなたのメッセージを書き込んだ後、をクリックしたときに"送信"と、空白のページまたは画面またはエラーメッセージが表示さを示すアドレスバーに表示中p osting.phpのではなく、投稿の確認メッセージを表示します。
- 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.あなたを検索できませんでした-を検索したいときにあらをクリックして"検索" 、検索結果が返されたか、またはページまたは画面に黒いか、またはエラーメッセージが表示されます。
To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done.を有効にするPHP 5へのphpBBが正常に動作すると、 phpBBのソースコードのいくつかの変更を完了する必要があります。 Just follow steps as below:は、次の手順は以下の通りです:
OPEN開く
admin/admin_ug_auth.php管理者/ admin_ug_auth.phpFIND見つける
if( $forum_access[$i][$auth_field] == AUTH_ACL && isset($change_acl_list[$forum_id][$auth_field]) )もし( $ forum_access [ $私] [ $ auth_field ] == auth_acl & & isset ( $ change_acl_list [ $ forum_id ] [ $ auth_field ] ) )REPLACE WITH置き換える
if( $forum_access[$i][$auth_field] == AUTH_ACL && isset($change_acl_list[$forum_id]) )もし( $ forum_access [ $私] [ $ 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 ] ) & & !空( $ change_acl_list [ $ forum_id ] [ $ auth_field ] ) ) ) | |REPLACE WITH置き換える
( !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 [ $ 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:最後に、いくつかの変更が必要に応じて機能を得るために呼び出される関数をパラメータとしてはないと呼ばれる'を参照'を機能:
OPEN開く
includes/functions_post.php含まれて/ functions_post.phpFIND見つける
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)関数submit_post ( $モードでは、 & $ post_data 、 & $メッセージが表示さ、 & $メタ、 & $ 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置き換える
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)関数submit_post ( $モードでは、 & $ post_data 、 & $メッセージが表示さ、 & $メタ、 & $ 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含まれて/ functions_search.phpFIND見つける
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list)関数clean_words ( $モードでは、 & $エントリ、 & $ stopword_list 、 & $ synonym_list )REPLACE WITH置き換える
function clean_words($mode, $entry, &$stopword_list, &$synonym_list)関数clean_words ( $モードでは、 $エントリ、 & $ stopword_list 、 & $ synonym_list )FIND見つける
function split_words(&$entry, $mode = ‘post’)関数split_words ( & $エントリを、 $モード= '作成' )REPLACE WITH置き換える
function split_words($entry, $mode = ‘post’)関数split_words ( $エントリを、 $モード= '作成' )
For the above, the changes involved are some parameters have been stripped off the “&” sign.上記のため、関係はいくつかのパラメータの変更が取り除かれ、 " & "サインです。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。
Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 phpBBの2のインストールでは、 Windows XPで実行されるApacheの2 、 PHP 5へとMySQL 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 FreeBSDの6.0をインストールするWebサーバーのApache 2.2 、 MySQL 5.0以降およびPHP 5 -第5部
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3ウェブサーバーでは、 Windows XPをインストールするのApache2 、 PHP5とmysql4 -パート3
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1ウェブサーバーでは、 Windows XPをインストールするのApache2 、 PHP5とmysql4 -第1部
- Job Hunting - Working in Google or Microsoft就職活動-作業がG oogleまたはM icrosoft
- Using phpMyAdmin for Effective MySQL Management in Windows XP MySQLの管理を効果的に使用してphpMyAdminのでは、 Windows XP
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4ウェブサーバーでは、 Windows XPをインストールするのApache2 、 PHP5とmysql4 -パート4
- Google Browser Sync for Firefox Review by iTWire Firefox用のGoogleブラウザに同期した日をitwire
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2ウェブサーバーでは、 Windows XPをインストールするのApache2 、 PHP5とmysql4 -パート2
- No Drive Letter for USB or Firewire DriveいいえUSBまたはFireWireドライブのドライブ文字を













July 25th, 2006 03:15 2006年7月25日03:15
It doesn’t work.それは機能しません。 Shame.恥。
April 17th, 2007 16:03 2007年4月17日16:03
I think, that is interesting for all.私が思うに、すべてのことは興味深いです。
August 31st, 2007 07:26 2007年8月31日07:26
Helloこんにちは
G’nightお休みなさい
September 28th, 2007 02:40 2007年9月28日02:40
Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. amerikanische会社" ACGの物流" sucht nach mitarbeiter 、ヨーロッパfuer死ぬarbeitイムlogistikbereichです。 Interessanter Job mit guter Verdienstmoeglichkeit. mit guter verdienstmoeglichkeit interessanter仕事です。
[b]Schicken Sie bitte Ihre Bewerbung an B詳細] schicken sie bitte bewerbungするイーレ info@acglogistics.biz [/b] [ / b ]
November 15th, 2007 22:28 2007年11月15日22:28
download poker gratuito… ダウンロードポーカー無料…
Ogni software Poker casino poker… ogniソフトウェアポーカーカジノポーカー…
December 3rd, 2007 21:28 2007年12月3日21:28
try this for working phpbb2 with php5これを試しにPHP5の作業phpbb2
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それは今すぐ罰金をPHP5の作品のすべての…
July 15th, 2008 19:18 2008年7月15日19:18
Hi everybodyこんにちは皆
Just trapped on a little tool to slice website images.閉じ込められたのツールを少しだけスライスのウェブサイト上の画像です。
Quick in preparing ready html from simple single-image site design.クイックの準備の準備のHTMLサイトのデザインをよりシンプルなシングルのイメージです。
Program is rather crappy and cheap (especially comparing to similar function in PhotoShop).プログラムはかなりくだらない、格安(同様の機能を比較し、特にPhotoshopの)です。
But there is a trick!しかしには、トリック! Just look what books come as a bonus:どのような書籍を探す来るだけのボーナス:
Search Engine Optimization: An Hour a Day検索エンジン最適化:一日一時間
Web Design in a Nutshell, 3rd Editionウェブデザイン簡単に言えば、第3版
Webmaster in a Nutshell, 3rd Editionウェブマスター簡単に言えば、第3版
etc…モニュメント等…
I wonder how $270 priced books can be sold for just 20 dollars…書籍のかしらはどのよう$ 270価格はわずか20ドルで販売されて…
Anyway here’s link:とにかく、ここのリンク: http://www.sliceimage.com/
Hope these books will help you as well.これらの書籍の期待に役立つことができるでしょう。
Regards,よろしく、
Markマーク