Making phpBB2 working with PHP5 Hacer phpBB2 trabajar con PHP5
Officially, phpBB 2 (as of this writing, up to version 2.0.17) is not supporting PHP 5. Oficialmente, phpBB 2 (a partir de este escrito, hasta la versión 2.0.17) no es apoyar a PHP 5. If you install PHP 5, and use it to run phpBB, you will encounter the following symptoms and errors: Si instala PHP 5, y el uso que se ejecute phpBB, te encontrarás los siguientes síntomas y errores:
- 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. No se puede publicar el mensaje - Cuando usted desea publicar nuevo tema o responder a un tema, después de escribir su mensaje, al hacer clic en "Enviar", una página en blanco o fondo de escritorio o mensaje de error se muestra con la barra de direcciones muestra posting.php, en lugar de desplazamiento mensaje de confirmació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. Usted no puede buscar - Cuando usted desea buscar oh, haga clic en "Buscar", no son los resultados de la búsqueda sido devueltos, negro o una página o pantalla, o mensaje de error se muestra.
To enable PHP 5 to work properly with phpBB, some changes to the phpBB source code needs to be done. Para habilitar PHP 5 para funcionar correctamente con phpBB, algunos cambios en el código fuente de phpBB que hay que hacer. Just follow steps as below: Siga los siguientes pasos que se indican más adelante:
OPEN
admin/admin_ug_auth.php admin / admin_ug_auth.phpFIND CONSULTE
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 Sustituir por
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 CONSULTE
( !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 Sustituir por
( !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: Por último, algunos cambios son necesarios a fin de que las funciones que se denomina con funciones como parámetros no son llamados "de referencia" con funciones:
OPEN
includes/functions_post.php includes / functions_post.phpFIND CONSULTE
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) función submit_post ($ mode, $ post_data &, & $ mensaje, & $ 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 Sustituir por
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) función submit_post ($ mode, $ post_data &, & $ mensaje, & $ 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 CONSULTE
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list) función clean_words ($ mode, & $ entrada, $ stopword_list &, & $ synonym_list)REPLACE WITH Sustituir por
function clean_words($mode, $entry, &$stopword_list, &$synonym_list) función clean_words ($ modo, $ entrada, $ stopword_list &, & $ synonym_list)FIND CONSULTE
function split_words(&$entry, $mode = ‘post’) función split_words (& $ entrada, $ mode = "post")REPLACE WITH Sustituir por
function split_words($entry, $mode = ‘post’) función split_words ($ entrada, $ mode = "post")
For the above, the changes involved are some parameters have been stripped off the “&” sign. Por lo anterior, los cambios en cuestión son algunos parámetros se han desnudado frente a las "&" signo.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Instalar phpBB 2 de Windows XP corriendo en Apache 2, PHP 5 y MySQL 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 Instalación de Web Server en FreeBSD 6,0 con Apache 2,2, 5,0 MySQL y PHP 5 - Parte 5
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3 Instalar Web Server en Windows XP con Apache 2, PHP5 y MySQL4 - Parte 3
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1 Instalar Web Server en Windows XP con Apache 2, PHP5 y MySQL4 - Parte 1
- Job Hunting - Working in Google or Microsoft La búsqueda de trabajo - Trabajo en Google o Microsoft
- Using phpMyAdmin for Effective MySQL Management in Windows XP El uso de phpMyAdmin para una eficaz gestión de MySQL en Windows XP
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 Instalar Web Server en Windows XP con Apache 2, PHP5 y MySQL4 - Parte 4
- Google Browser Sync for Firefox Review by iTWire Google Browser Sync para Firefox Examen de iTWire
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2 Instalar Web Server en Windows XP con Apache 2, PHP5 y MySQL4 - Parte 2
- No Drive Letter for USB or Firewire Drive No letra de unidad para USB o Firewire Drive
















July 25th, 2006 03:15 25 de julio, 2006 03:15
It doesn’t work. No funciona. Shame. Vergüenza.
April 17th, 2007 16:03 17 de abril de 2007 16:03
I think, that is interesting for all. Creo que es interesante para todos.
August 31st, 2007 07:26 31 de agosto de 2007 07:26
Hello Hola
G’night G'night
September 28th, 2007 02:40 28 de Septiembre de 2007 02:40
Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Amerikanische Firma "ACG Logística" sucht nach Mitarbeiter en Europa fuer die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit. Interessanter Empleo 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 de noviembre de 2007 22:28
download poker gratuito… descargar poker gratuito…
Ogni software Poker casino poker… Ogni software de Poker casino poker…
December 3rd, 2007 21:28 3 de diciembre de 2007 21:28
try this for working phpbb2 with php5 para intentar este trabajo phpbb2 con 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 eso es todo… ahora funciona correctamente con php5
July 15th, 2008 19:18 15 de Julio, 2008 19:18
Hi everybody Hola a todos
Just trapped on a little tool to slice website images. Just atrapados en una pequeña herramienta para el tramo sitio web las imágenes.
Quick in preparing ready html from simple single-image site design. Rápido en la preparación de listas html desde la simple imagen de un solo diseño del sitio.
Program is rather crappy and cheap (especially comparing to similar function in PhotoShop). Programa es bastante crappy y barato (especialmente en comparación con similar función en PhotoShop).
But there is a trick! Pero hay un truco! Just look what books come as a bonus: Miren lo que libros como premio:
Search Engine Optimization: An Hour a Day Optimización de motores de búsqueda: una hora al día
Web Design in a Nutshell, 3rd Edition Diseño Web en pocas palabras, 3 ª Edición
Webmaster in a Nutshell, 3rd Edition Webmaster en pocas palabras, 3 ª Edición
etc…
I wonder how $270 priced books can be sold for just 20 dollars… Me pregunto cómo $ 270 libros a precios pueden venderse por sólo 20 dólares…
Anyway here’s link: De todas formas aquí el link: http://www.sliceimage.com/
Hope these books will help you as well. Esperamos que estos libros le ayudará también.
Regards, Recuerdos,
Mark