Ok, obviously people can't read the forums because I continually answer the same questions over and over and I simply don't have the time to develop the bridge AND answer the same questions repeatedly.
* -Wolverine stops complaining
I will try to add known problems and fixes here and update as frequently as possible. If you know a known problem and fix please pm so that I can add it here. If you would like to help your fellow JoomlaHackers by translating some of this topic into other languages please pm me, I am happy to post the translations also! Thanks!
Japanese Translation (Thanks Yu Tang!!) Spanish Translation(included below) (Thanks videoed!!)
Notes
J! or simply J = Joomla
SMF = Simple Machines Forum
JSMF = Our Joomla-SMF Forum Bridge
KNOWN PROBLEMS AND SOLUTIONS
After SMF registration SMF login fails
This is due to the fact that because of the way SMF handles variables we can't synchronize immediately. You must first login through a Joomla based login(JSMF login, CB login(with plugin), or default Joomla login) or login twice. Why twice? After the first failure we are able to trigger a synchronization event so the second login should succeed.
Registration and/or Newsletter emails sent from SMF fail (Fatal error: sendmail(): Failed opening required '/administrator/components/com_smf/config.smf.php' or similar)
This problem has been reported multiple times. It seems the JSMF patch in 1.1 works for some and not others. I have identified a better way but have not implemented it yet. It is scheduled for JSMF 1.2. You can read about some workarounds that have worked for others in this thread: http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,1471.msg6853#msg6853
This problem occurs for unknown reasons at this point. Essentially a login or logout link takes the user to a blank screen. If error logging is enabled in php you will see an error message similar to Fatal error: Cannot redeclare db_query() (previously declared in... and then several files listed. You can read more about this problem, possible resolutions, and the investigation at this thread: http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,1410.msg6481#msg6481
Blank screen on frontend after patching Joomla index.php
I encountered this problem recently on one of my clients and found that it is due to SSI which calls session_start(). This call to session_start() was failing due to the fact that the session.save_path PHP configuration variable was not set. Check if your PHP configuration has this set, and if not then request it be set.
If that doesn't solve the problem add a call to session_start() in your J! index.php just before the require($smf_path.'/SSI.php');
Username instead of Real Name displayed after user synchronization
This feature was added as of 1.1.4
Unable to load the 'main' template error when saving admin configurations
This problem remains unresolved however accessing the administration directly will allow you to save without this error message.
After some investigation I have found that the fetching preview problem and return to this topic problem appear to be due to a malformed URL. I believe this URL only occurs in sites not using SEF. If anyone can report a site running SEF having these issues please let me know. A fix is forthcoming.
More to come
The next part is my attempt to share the configurations that appear to be optimal in SMF for using the bridge. This list is categorized by the area where you find the setting followed by an subarea and then the setting itself. For example the setting Forum URL would be: Server Settings->Core Configuration->Forum URL.
SMF Forum Admin Configurations
Server Settings
Core Configuration
Forum URL
This setting SHOULD NOT, I repeat, SHOULD NOT be set to a Joomla URL. This setting should be set to the URL of teh SMF forums if you accessed the forums outside of Joomla. For example:
This value will show you your table prefix if you are unsure. The table prefix is the string value after the period. WARNING:Do not modify this value!
Use Persistent Connection
Although not required, it is recommended that you enable perisistet connection to the database.
Feature Configuration
Enable local storage of cookies
This variable MUST be off for your forum to operate properly with the bridge. Make sure the value is unchecked.
Use subdomain independent cookies
It is recommended that this variable be disabled as well. I don't have specific evidence but wehn enabled it appears to mess up session lengths when using the bridge.
Use database driven sessions
This is a setting I use on my site. Not required, but does work well.
Default login cookies length (in minutes)
This value is the session lifetime if a user does not select remember me.
Feature and Options
Basic Features
Search engine friendly URLs
This feature should be off always if using the bridge. If you want SEF links turn them on in Joomla and allow the bridge and Joomla to make the SEF.
Disable administration security
If you would like for the forum admin to ALWAYS be wrapped or inside Joomla you can disable this feature. Essentially there is no way to wrap the triggered event of prompting an admin to re-enter their password(aka administration security). That is why the bridge comes unwrapped.
If you have found other settings that are optimal for the bridge please pm me with the settings.
Thanks to anyone who helps to contribute to this list and who helps their fellow JoomlaHackers to solve problems. Community is what it is all about!
Spanish Translation (gracias a videoed!!) --------------------------------------------------------------------------- PROBLEMAS CONOCIDOS Y SUS SOLUCIONES
Inmediatamente tras el registro la identificación en SMF falla
Esto es debido a que el modo en que SMF maneja las variables hace imposible que las bases de datos se sincronicen de modo inmediato. Es necesario identificarse primero en el módulo de identificación de Joomla (JSMF login, CB login(con el plugin), o el módulo por defecto de Joomla login), o bien indentificarse dos veces. ¿Por qué dos veces? Tras el primer fallo se produce la sincronización, luego el segundo ya es correcto
Los mensajes de error de SMF producen gran cantidad de texto ininteligible
Este fallo se presenta con Joomla-SMF 1.1 donde accidentalmente eliminamos todo el html de los mensajes de error de SMF (toda la página). Está corregido en el parche para JSMF 1.1, JSMF 1.1.01, que puede descargarse de este hilo. Los detalles con el proceso de investigación están en este hilo: http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,1488.msg6924#msg6924
La opción de esconder el correo en JSMF no funciona
Los correos de Registro y/o los Correos de Noticas (Newsletter) enviados desde SMF fallan (Fatal error: sendmail(): Failed opening required '/administrator/components/com_smf/config.smf.php' o similar)
Este problema ha sido reportado en múltiples ocasiones. Al parecer el parche para la versión JSMF 1.1 no siempre funciona. He identificado una solución mejor, pero todavía no la he implementado. Está programada para JSMF 1.2. Puedes leer cómo algunos usuarios han solucionado ese problema en este hilo: http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,1471.msg6853#msg6853
Pantalla en blanco al Indentificarse/SalirLogin/Logout y/o Fatal Error: Cannot redeclare db_query()
Todavía no conocemos la causa de este problema. Esencialmente consiste en que los enlaces a la Identificación o Salida dirigen al usuario hacia una pantalla en balnco. Si el registro de errores está activado en php se puede leer un mensaje similar a Fatal error: Cannot redeclare db_query() (previously declared in... y otros archivos listados. Puedes leer más acerca de este problema, posibles soluciones e investigación en este hilo: http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,1410.msg6481#msg6481
Próximamente más...
El siguiente apartado es un intento de compartir las configuraciones que parecer ser las óptimas cuando se usa el Bridge para SMF. Esta lista está organizada por el área donde puedes encontrar el ajuste seguido por un subapartado y, finalmente, el ajuste. Por ejemplo, para el ajuste de la URL del Foro se indicaría de la siguiente forma: Configuración del servidor->Core Configuration->URL del foro.
Configuraciones de Administración del foro SMF
Configuración del servidor
Core Configuration
RL del foro
Este ajuste NO DEBE repito, NO DEBE ajustarse a la URL de Joomla. Aquí debe indicarse la URL de SMF desde fuera de Joomla Por ejemplo:
Este valor te mostrará el prefijo de las tablas de SMF en tu base de datos, de modo que lo podrás consultar en caso de duda. El prefijo de la tabla es el valor que aparezca a continuación del punto. AVISO: ¡No cambies este valor!Por ejemplo:
`videoed_joomla`.smf_
Aquí el prefijo sería smf_
Usar una conexiones persistente
unque no es estrictamente necesario, es recomendable usar conexiones persistentes con la base de datos
Feature Configuration
Activar el almacenamiento local de cookies
Este variable DEBE estar desactivada para que el bridge opere correctamente. Asegúrate que tienes esta casilla desmarcada.
¿Usar cookies independientes de subdominio?
También es recomendable desactivar esta variable. A pesar de no tener pruebas fehacientes, parece ser que cuando se activa altera las longitudes de la sesión cuando se usa el puente
Usar sesiones almacenadas en la base de datos
Este es el ajuste que yo uso en mi página. No es necesario, pero funciona bien
Segundos para que expire una sesión no utilizada
ste es el valor de la duración de las sesiones cuando los usuarios no marcan la casilla "Recordarme"
Feature and Options
Basic Features
Mostrar URLs sin ?s
Esta opción siempre debería estar desactivada al usar el bridge. Si quieres usar enlaces SEF links actívalos en Joomla y permite que el bridge y Joomla generen SEF.
¿Desactivar la seguridad en la administración?
Si deseas que los administradores del foro estén SIEMPRE integrados dentro de Joomla puedes desactivar esta opción. Básicamente no hay forma de volver a solicitar la contraseña a un administrador. Por ese motivo el bridge no funciona integrado
Si tienes cualquier otro ajuste que mejoran el funcionamiento del bridge, por favor, envíame un privado con esos ajustes.
Gracias a todos los que ayuden a esta lista y los que ayuden a los compañeros de JoomlaHackers a resolver sus problemas. A fin de cuentas... ¡todo esto es por y para la Comunidad!
« Last Edit: July 28, 2006, 09:46:14 AM by -Wolverine »
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use