• ¡Bienvenido a XenFácil!

    Estás viendo el sitio como Invitado. Para poder participar en este sitio

    y obtendrás privilegios adicionales, acceso a otras áreas y mucho mas.

    ¡Es gratis!


    ¿Ya eres miembro? Inicia sesión

Solucionado Instalación error en .htaccess

Estado
Cerrado para nuevas respuestas

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Buenas tardes señores!!

Estoy intentando instalar xenforo nuevamente en un nuevo proyecto y no me deja, tengo un error que jamás vi, y creo yo que es el .htaccess, no sé pues ya verán ustedes a ver que me dicen, les dejo mi .htaccess:

PHP:
#    Mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default

<IfModule mod_rewrite.c>
    RewriteEngine On

    #    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo

    #    This line may be needed to enable WebDAV editing with PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
</IfModule>

El problema es que al entrar a mi sitio, me redirige de la siguiente forma:

http://www.misitio.comhttp//www.misitio.com/install/index.php?install/


Estoy desde hace días con el problema y no le encuentro la vuelta, hice la prueba y el hosting tiene todo lo necesario para hostear a XenForo, incluso he utilizado antes el Xenforo en éste hosting.

Les agradezco las respuestas!!
 
Última edición por un moderador:

lms

Administrador
Mensajes
7.741
Puntuación de reacciones
2.163
Puntos
2.613
Sitio web
xenfacil.com
País
España
Versión de XenForo
2.1.x
PayPal
Donar dinero a este usuario
Página web
Web
Prueba con esto:
PHP:
#    Mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default

<IfModule mod_rewrite.c>
    RewriteEngine On

    #    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo

    #    This line may be needed to enable WebDAV editing with PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
</IfModule>
Me dices.

Salud2
 

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Gracias por la respuesta @lms!! Pero no veo diferencias con el que he colocado, así y todo he probado con el que me escribiste, y sigue pasando lo mismo...
 

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Epa, vamos avanzando!!

Pero ahora me tira el siguiente error en página blanca:

An exception occurred: Mysqli prepare error: Table 'XXXXXXX.xf_data_registry' doesn't exist in /home/XXXXXXXX/public_html/library/Zend/Db/Statement/Mysqli.php on line 77

  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 808
  5. Zend_Db_Adapter_Abstract->fetchPairs() in XenForo/Model/DataRegistry.php at line 144
  6. XenForo_Model_DataRegistry->_getMultiFromDb() in XenForo/Model/DataRegistry.php at line 97
  7. XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 147
  8. XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127
  9. XenForo_FrontController->run() in /home/XXXXXXXX/public_html/index.php at line 13

Cabe aclarar que quiero instalarlo en el primer directorio de public_html...
 

lms

Administrador
Mensajes
7.741
Puntuación de reacciones
2.163
Puntos
2.613
Sitio web
xenfacil.com
País
España
Versión de XenForo
2.1.x
PayPal
Donar dinero a este usuario
Página web
Web
Yo reiniciaría la instalación, subiendo todos los archivos de nuevo. El error te dice que le faltan tablas a la base de datos.

Salud2
 

lms

Administrador
Mensajes
7.741
Puntuación de reacciones
2.163
Puntos
2.613
Sitio web
xenfacil.com
País
España
Versión de XenForo
2.1.x
PayPal
Donar dinero a este usuario
Página web
Web
¿Y has puesto el nombre, puerto, user y pass de la base de datos?.

Salud2
 

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Mientras tanto metí de nuevo todos los archivos, limpios sin modificaciones, coloqué todos los datos de db/users/pass, y puse nuevamente en CHMOD777 las carpetas de internal_data y data, y sigue generando el error de las tablas, no puedo entender cual es el problema ::arghh::
 

lms

Administrador
Mensajes
7.741
Puntuación de reacciones
2.163
Puntos
2.613
Sitio web
xenfacil.com
País
España
Versión de XenForo
2.1.x
PayPal
Donar dinero a este usuario
Página web
Web
O tienes un problema de bases de datosm (proveedor de host) o no es lógico lo que te pasa. Yo preguntaría al host.

Salud2
 

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6

nextgen

XenForoUser
Mensajes
87
Puntuación de reacciones
34
Puntos
18
Sitio web
xenhispano.net
País
Guatemala
Versión de XenForo
2.1.x
¿Cuál es la URL del sitio donde lo queres instalar?, verifica en tu cpanel que no tengas algúna redirección.
 

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Pues no hay redirecciones, puede ser algún problema de DNS? Pregunté para saber la versión de MySQL que utiliza el servidor y es mysql Ver 14.14 Distrib 5.6.27 y está activada la versión 5.6 de PHP, y puedo bajarla a la 5.5 o 5.4, pero lo he hecho en las 3 versiones y me sigue tirando ese maldito error :(
 

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Además hábilita el modo debug.

La URL es la que he colocado mas arriba, la quiero en el primer directorio del public_html y el modo debug no lo puedo habilitar, pues no tengo el XenForo instalado como para habilitarlo... Justamente no puedo instalarlo...

Lo de la Base de datos ya está, quedó solucionado, fue un error mío, el problema ahora está en el auto-redireccionamiento, desde el Panel de Control de Hosting no tengo nada de nada habilitado, el .htaccess es el que puse en el primer post, así como está (Tal cual viene en el paquete) y suponiendo que voy a la carpeta directamente /install/ me tira lo siguiente al darle BEGIN INSTALLATION:

http://www.misitio.com/public_html/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/index.php



PD: Si algún admin puede que me cambie el Género que no lo encontré para modificarlo en el perfil del foro.
 
Última edición por un moderador:

Page404

Miembro
Mensajes
50
Puntuación de reacciones
0
Puntos
6
Agradezco el cambio @lms y sí, es tal cual lo que hago, lo que me describes... Sin embargo, al darle click al "Begin Installation" me tira esto:

http://www.misitio.com/public_html/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/install/index.php

Tal cuál esa cantidad, no la estoy exagerando, juro que no encuentro el porqué, desde el hosting no me hacen caso, "todo está bien" según ellos, pero que no pueden hacerse cargo de algo que está mal en lo que yo quiero instalar....
 
Última edición por un moderador:
Estado
Cerrado para nuevas respuestas
Arriba