Making phpBB2 working with PHP5 Faire phpBB2 de travail avec PHP5
Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5. Officiellement, phpBB 2 (au moment de l'écriture, jusqu'à la version 2.0.17) ne soutient pas PHP 5. If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors: Si vous installez PHP 5, et l'utiliser pour exécuter phpBB, vous rencontrerez les symptômes suivants et les erreurs:
- 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. Vous ne pouvez pas envoyer de message - Si vous voulez poster de nouveaux thème ou une réponse à une question, après avoir écrit votre message, lorsque vous cliquez sur "Soumettre", une page blanche ou un écran ou message d'erreur s'affiche avec barre d'adresse montre posting.php, au lieu de affichage message de confirmation.
- 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. Vous incapable de recherche - Lorsque vous souhaitez faire une recherche en cliquant sur oh "Recherche", aucun résultat de recherche sont en cours de retour, ou une page noir ou un écran, ou message d'erreur s'affiche.
To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done. Pour activer PHP 5 pour fonctionner correctement avec phpBB, certaines modifications au code source de phpBB doit être fait. Just follow steps as below: Suivez simplement les étapes ci-dessous:
OPEN
admin/admin_ug_auth.php admin / admin_ug_auth.phpFIND TROUVEZ
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 REMPLACER AVEC
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 TROUVEZ
( !isset($auth_access[$forum_id][$auth_field]) && !empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & &! Empty ($ change_acl_list [$ forum_id] [$ auth_field]))) | |REPLACE WITH REMPLACER AVEC
( !isset($auth_access[$forum_id][$auth_field]) && empty($change_acl_list[$forum_id][$auth_field]) ) ) || (! Isset ($ auth_access [$ forum_id] [$ auth_field]) & & empty ($ 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: Enfin, certains changements sont nécessaires pour que les fonctions qui sont appelées avec des fonctions comme paramètres ne sont pas appelés "par référence" avec des fonctions:
OPEN
includes/functions_post.php includes / functions_post.phpFIND TROUVEZ
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) fonction 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)REPLACE WITH REMPLACER AVEC
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) fonction 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)OPEN
includes/functions_search.php includes / functions_search.phpFIND TROUVEZ
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list) fonction clean_words ($ mode, & $ entry, stopword_list & $, & $ synonym_list)REPLACE WITH REMPLACER AVEC
function clean_words($mode, $entry, &$stopword_list, &$synonym_list) fonction clean_words ($ mode, $ entry, stopword_list & $, & $ synonym_list)FIND TROUVEZ
function split_words(&$entry, $mode = ‘post’) fonction split_words (& $ entry, $ mode = 'post')REPLACE WITH REMPLACER AVEC
function split_words($entry, $mode = ‘post’) fonction split_words ($ article, $ mode = 'post')
For the above, the changes involved are some parameters have been stripped off the “&” sign. Pour ce qui précède, les changements sont certains paramètres ont été enlevée le "&".
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANT: Il s'agit d'une machine qui traduit la page est fourni «tel quel», sans garantie. Machine translation may be difficult to understand. La traduction automatique mai être difficile à comprendre. Please refer to S’il vous plaît se référer à original English article l'article original en anglais whenever possible. chaque fois que possible.
Share and contribute or get technical support and help at Partagez et contribuer ou obtenir de l'aide technique et l'aide à My Digital Life Forums Ma vie numérique forums .
Related Articles Articles connexes
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Installer phpBB 2 sous Windows XP fonctionne sur Apache 2, PHP 5 et MySQL 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 Installation du serveur Web dans FreeBSD 6,0 avec Apache 2,2, 5,0 MySQL et PHP 5 - Partie 5
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3 L'installation de Web Server sous Windows XP avec Apache2, MySQL4 et PHP5 - Partie 3
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1 L'installation de Web Server sous Windows XP avec Apache2, MySQL4 et PHP5 - Partie 1
- Using phpMyAdmin for Effective MySQL Management in Windows XP Utilisation de phpMyAdmin pour MySQL efficace de gestion sous Windows XP
- Job Hunting - Working in Google or Microsoft Job Hunting - Groupe de travail sur Google ou Microsoft
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 L'installation de Web Server sous Windows XP avec Apache2, MySQL4 et PHP5 - Partie 4
- Google Browser Sync for Firefox Review by iTWire Google Browser Sync pour Firefox Examen par iTWire
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2 L'installation de Web Server sous Windows XP avec Apache2, MySQL4 et PHP5 - Partie 2
- No Drive Letter for USB or Firewire Drive Pas de lettre pour le lecteur USB ou FireWire Drive







July 25th, 2006 03:15 Juillet 25th, 2006 03:15
It doesn’t work. Il ne fonctionne pas. Shame. Honte.
April 17th, 2007 16:03 Avril 17th, 2007 16:03
I think, that is interesting for all. Je pense, qui est intéressante pour tous.
August 31st, 2007 07:26 31 août 2007 07:26
Hello Bonjour
G’night G'night
September 28th, 2007 02:40 Septembre 28th, 2007 02:40
Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Amerikanische Firma "ACG logistique" sucht nach Mitarbeiter in Europa für die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit. Job intéressant mit guter Verdienstmoeglichkeit.
[b]Schicken Sie bitte Ihre Bewerbung an [b] schicken Sie bitte Ihre Bewerbung un info@acglogistics.biz [/b] [/ b]
November 15th, 2007 22:28 15ème Novembre, 2007 22:28
download poker gratuito… téléchargement gratuit de poker…
Ogni software Poker casino poker… Ogni logiciel Poker Casino Poker…
December 3rd, 2007 21:28 Décembre 3rd, 2007 21:28
try this for working phpbb2 with php5 pour essayer de travail phpbb2 avec 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 c'est tout… fonctionne maintenant très bien avec php5
July 15th, 2008 19:18 Juillet 15e, 2008 19:18
Hi everybody Salut tout le monde
Just trapped on a little tool to slice website images. Il suffit de piéger sur un petit outil de tranche site images.
Quick in preparing ready html from simple single-image site design. Rapide dans la préparation du HTML unique de la simple image de la conception du site.
Program is rather crappy and cheap (especially comparing to similar function in PhotoShop). Programme est assez affreux et bon marché (en particulier par rapport à une fonction similaire dans Photoshop).
But there is a trick! Mais il ya un truc! Just look what books come as a bonus: Il suffit de voir ce que les livres sont un bonus:
Search Engine Optimization: An Hour a Day Optimisation du moteur de recherche: une heure par jour
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…
I wonder how $270 priced books can be sold for just 20 dollars… Je me demande comment $ 270 livres à prix peut être vendu pour seulement 20 dollars…
Anyway here’s link: Quoi qu'il en soit, voici le lien: http://www.sliceimage.com/
Hope these books will help you as well. Espérons que ces livres vous aideront ainsi.
Regards, Observe,
Mark