Making phpBB2 working with PHP5 Створення phpBB2 працюючи з PHP5
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. Ви не можете надсилати повідомлення - Якщо ви хочете розмістити нову тему або відповісти на тему, чи після написання повідомлення, при натисканні кнопки "Відправити", порожні сторінки або екран або повідомлення про помилку відображається в адресному рядку Показані posting.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 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]) ) If ($ forum_access [$ i] [$ auth_field] == AUTH_ACL & & Ісеть ($ change_acl_list [$ forum_id] [$ auth_field]))REPLACE WITH REPLACE WITH
if( $forum_access[$i][$auth_field] == AUTH_ACL && isset($change_acl_list[$forum_id]) ) If ($ forum_access [$ i] [$ auth_field] == AUTH_ACL & & Ісеть ($ change_acl_list [$ forum_id]))FIND ЗНАЙТИ
( !isset($auth_access[$forum_id][$auth_field]) && !empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Ісеть ($ auth_access [$ forum_id] [$ auth_field]) & &! Порожньо ($ change_acl_list [$ forum_id] [$ auth_field]))) | |REPLACE WITH REPLACE WITH
( !isset($auth_access[$forum_id][$auth_field]) && empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Ісеть ($ 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 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 & $, & $ повідомленні, & $ 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 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 & $, & $ повідомленні, & $ 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 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 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 (& $ вступ, $ Mode = 'POST')REPLACE WITH REPLACE WITH
function split_words($entry, $mode = 'post') Функція split_words ($ вступ, $ Mode = 'POST')
For the above, the changes involved are some parameters have been stripped off the “&” sign. За вказаними вище, зміни беруть участь деякі параметри були зняв "&" знак.
IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.
Related Articles Статті за Темі
- 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 2 Встановити веб-сервер в Windows XP з Apache2, PHP5 і MySQL4 - Частина 2
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 1 Встановити веб-сервер в Windows XP з Apache2, PHP5 і MySQL4 - Частина 1
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Посторінковий або Спліт WordPress Розміщувати або сторінка з СледующаяСтраніца У WordPress не працює
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 4 Встановити веб-сервер в Windows XP з Apache2, PHP5 і MySQL4 - Частина 4
- ControlPad – Making use of Numeric Keypad to Execute Windows Commands ControlPad - використання цифрової клавіатури Виконання команд Windows
- Google Phone (or GPhone) in the Making? Google Phone (чи GPhone) в Making?
- Fix Windows Vista Search Indexer Has Stopped Working with KB952093 Fix Windows Vista Search Indexer перестала працювати з KB952093
- Making Easy Money While Surfing the Net Легкий внесення грошей під час серфінгу нетто
- AutoPlay/AutoRun Not Working or Missing Not Open in Windows Vista AutoPlay / Ручний кулемет Чи не Робота чи зниклих без вести не відкрито в Windows Vista










































November 13th, 2009 00:04 13 листопада 2009 00:04
im too hustling to discarded to the gym, anyone advance where i can purchase a excercise bike so i can work at home. їм занадто метушитися, щоб відкидаються в спортзал, будь-який заздалегідь, де я можу придбати велосипед фізичні вправи, щоб я міг працювати на дому. As this is the worst product to purchase as it train all the body. Оскільки це найгірший продукт для покупки, як це потяг всього тіла.
April 11th, 2009 14:01 11 квітня 2009 14:01
I have been considering switching from TV to another service like satellite. Я розглядав перехід від телевізора на іншу службу, як супутник. I know there at a lot of options out there and wanted some advice on what I should look for or purchase. Я знаю, там багато варіантів, там і хотіли декілька порад про те, що я повинен знайти або придбати. It's sad, but I am spending about 125 dollars a month on my tv service and I am getting less than 70 channels. Це сумно, але я витратила близько 125 доларів на місяць, на мій телевізор обслуговування і я отримую менше, ніж 70 каналів. I would love more channels, hd television, and a tivo/tv recording box. Я б більше каналів, HD телебачення і TiVo / коробка запис з телевізора. Any ideas or suggestions would be helpful. Будь-які ідеї або пропозиції будуть корисними.
March 12th, 2009 03:16 12 березня 2009 03:16
I'm new here! Я новачок! looking forward to having a great time here! нетерпінням чекаємо з великим часом тут!
December 16th, 2008 17:59 16 грудня 2008 17:59
ehi! EHI!
qualcuno di voi conosce un concorso online per Qualcuno DI VOI conosce ООН Concorso в онлайн
diventare una modella? diventare Modella Una?
December 3rd, 2008 09:20 3 грудня 2008 09:20
Hello everyone… Привіт усім ...
iam pretty new to poker, mostly playing at home with friends. IAM досить новими для покеру, в основному грав удома з друзями. now i also want to play online…so my question is. тепер я хочу грати в онлайн ... Так що моє запитання. where do you play onlne? де Ви граєте onlne? any hints you got for me, what should i look for? будь-які натяки вас є для мене, що я маю шукати?
Greetings and thx to everyone… [img]http://www.einfachpokern.de/smile.gif[/img] Поздоровлення і Thx для всіх ... [IMG] http://www.einfachpokern.de/smile.gif [/ IMG]
December 2nd, 2008 12:15 2 грудня 2008 12:15
Hi. Привіт. I on numerous occasions scan this forum. Я багато разів просканувати цей форум. This is the head culture undisputed to ask a ridiculous. Це безперечний культуру голову запитати смішно.
How numberless in this forum are references progressive behind, knavish users? Яким незліченними на цьому форумі посилання прогресивної позаду, шахрайські користувачі?
Can I bank all the advice that there is? Чи можна банк всі поради, які є?
October 5th, 2008 15:46 5 жовтня 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. Я позбулася мого кабелю зв'язку останнім часом і пішов "тільки в Інтернеті." Я знаю про цих місцях, як Hulu і такі, де ви можете подивитися заздалегідь записані телепередачі. But I'm looking for a service where you can watch actual TV channels live as a replacement for cable. Але я шукаю служби, де можна дивитися телеканали фактичної жити як заміну для кабелю. You know, where you can flip through channels of the big broadcasters and see TV shows and sports games as they're broadcasted. Ви знаєте, де ви можете перегортати каналах радіо та телебачення і великий побачити телевізійні шоу та спортивних ігор, як вони транслюються.
What do you guys think? Як ви думаєте, хлопці?
July 15th, 2008 19:18 15 липня 2008 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). Програма досить Crappy і дешево (особливо в порівнянні з аналогічною функції в Photoshop).
But there is a trick! Але є хитрість! Just look what books come as a bonus: Подивіться, які книги приходять як бонус:
Search Engine Optimization: An Hour a Day Search Engine Optimization: Час дня
Web Design in a Nutshell, 3rd Edition Веб-дизайн в двох словах, 3rd Edition
Webmaster in a Nutshell, 3rd Edition Webmaster в двох словах, 3rd Edition
etc… і т.д. ...
I wonder how $270 priced books can be sold for just 20 dollars… Цікаво, як $ 270 ціну книги можуть бути продані всього за 20 доларів ...
Anyway here's link: У всякому разі ось посилання: http://www.sliceimage.com/ http://www.sliceimage.com/
Hope these books will help you as well. Сподіваюся, що ці книги допоможуть вам.
Regards, Привіт,
Mark Марка
December 3rd, 2007 21:28 3 грудня 2007 21:28
try this for working phpbb2 with php5 Try This phpbb2 для роботи з 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 От і все ... працює зараз штраф з php5
November 15th, 2007 22:28 15 листопада 2007 22:28
download poker gratuito… Безкоштовно завантажити покер ...
Ogni software Poker casino poker… Вогні програмне забезпечення покер казино покер ...
September 28th, 2007 02:40 28 Вересня 2007 02:40
Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Amerikanische Фірма "АКГ" Логістика "Sucht Nach співробітників у Європі Fuer Die Arbeit Logistikbereich ім. Interessanter Job mit guter Verdienstmoeglichkeit. Interessanter роботи MIT Verdienstmoeglichkeit Guter.
[b]Schicken Sie bitte Ihre Bewerbung an [B] всім користувачам Bitte Sie Ihre Bewerbung info@acglogistics.biz info@acglogistics.biz [/b] [/ B]
August 31st, 2007 07:26 31 серпня 2007 07:26
Hello Привіт
G'night G'night
April 17th, 2007 16:03 17 квітня 2007 16:03
I think, that is interesting for all. Я думаю, що це цікаво для всіх.
July 25th, 2006 03:15 25 липня 2006 03:15
It doesn't work. Вона не працює. Shame. Сором.