Simple Machines Community Forum

SMF Support => Language Specific Support => Español (Spanish) => Topic started by: CaLy on February 19, 2015, 02:36:19 PM

Title: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: CaLy on February 19, 2015, 02:36:19 PM
Hola que tal...
Ayer descargue la última version del SMF, desde esta misma web, mas el lenguaje español latin utf-8.
Hasta ahí vamos bien. Luego instalé el simpleportal+su idioma en español.
OK , perfecto.
Anduvo e instaló bien, y es mas, hasta pude hacer algunos threads...
El problema es el siguiente:

Antes tenía el foro en un subdirectorio, y el error era siempre este mismo que ahora tengo (yo pensaba que el error era por el wwwRedirect y porque estaba en un subdirectorio, y que si lo ponía en el main de /www no iba a tener mas ese error)... pero aparentemente no era ese el problema.
Porque ahora mismo entro en mi web y tengo el problema este:

Pongo www.farandulero.org y me tira el error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Y notese que el url se convirtió en

http://www.farandulero.org/index.php?PHPSESSID=e02a794e7b312f618c2547acfc9c93e8;wwwRedirect

Lo que pasa despues es que si borro toda esa url larga y poneo www.farandulero.org directamente sí anda bien.

Mi pregunta entonces es:
el problema es mío? vale decir... es algo que YO instalé mal?
O es algo relativo , referente a mi hosting?

Si es del hosting... entonces no se qué hacer luego...
Este es el screenshot del mail enviado y recibido ayer:

http://snag.gy/T5isS.jpg


Muchas gracias, y espero no haber sido extenuante.
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: franklinrony on February 19, 2015, 06:12:28 PM
la ultima solucion que sale en la wiki te podria servir
http://wiki.simplemachines.org/smf/WwwRedirect
hacer la redireccion de la version sin www a la con www via htaccess, asi siempre seria transparente para el usuario y smf no haria eso,
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: CaLy on February 19, 2015, 06:50:14 PM
Gracias por tu respuesta Frony ... intenté tal y como me dijiste. Pero siguió igual, a pesar de haber borrado los caches del navegador y del foro (no se si tenia algo que ver o no, pero igual lo hice).
En mi host no tenia ningún .htaccess en el /www so entonces lo creé y le puse

//Rewrite to www
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^farandulero.org[nc]
RewriteRule ^(.*)$ http://www.farandulero.org/$1 [r=301,nc]

pero seguía igual.

Bue, entonces borré el .htaccess creado, y volví a eliminar ambas cachés (por las dudas)...
Corrí el repair settings, me habia salido uno que no tenía ningun valor , le puse el valor recomendado, guardé, pero igual no anda y da el mismo error...

Entonces, que m. hago?
Porque la verdad si los del hosting me contestaron asi, que miercole, no tienen idea , o que ?
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: franklinrony on February 19, 2015, 07:27:17 PM
Y no tienes acceso al log de errores del server? usualmente estan en la carpeta etc o logs en los shared hosting, a mi se me hace que es un error de configuracion del servidor,pero quiza viendo algun log podamos salir de la duda
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: franklinrony on February 19, 2015, 07:32:13 PM
pues sip,es algo con el host y aqui explican algo de lo que te dijeron los de soporte

OK, so let's back up a minute.

1) semicolon is totally valid in URLs.
2) semicolon is used throughout SMF for several reasons, most importantly to avoid having so many issues with using & which for validation reasons must always be written as a full entity (which includes the semicolon anyway)
3) this isn't going to change in 2.1, it will change in 3.0
4) SMF has always done this, it's been doing it for 10 years
5) if the server is giving you trouble, it's an over-active mod_security rule

http://www.simplemachines.org/community/index.php?topic=433250.20

es mejor que lso del host te cambien los : por el & ya que eso va dentro del codigo de smf y tendrias que editar muchos archivos para resolver ese error,aun que me extrana que con el htaccess no te hiciera a redireccion
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: franklinrony on February 19, 2015, 07:33:36 PM
prueba esta regla haber que tal

RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]                   
                   
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: CaLy on February 20, 2015, 06:15:46 AM
Quote from: frony on February 19, 2015, 07:27:17 PM
Y no tienes acceso al log de errores del server? usualmente estan en la carpeta etc o logs en los shared hosting, a mi se me hace que es un error de configuracion del servidor,pero quiza viendo algun log podamos salir de la duda

Si tengo acceso, pero no tira ningún error, eso es lo extraño.
Checa en http://prntscr.com/67hj38

Ire a hacer eso del .htaccess que me indicas a ver qué onda. Luego te cuento!
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: CaLy on February 20, 2015, 06:18:50 AM
El archivo .htaccess puede ser generado desde el filemanager del cpanel , y directamente sin ningun chmod especial ni nada no?
Porque acabo de hacerlo asi ,  o sea generarlo con el filemanager y editor del cpanel, lo subí, pero el error sigue siendo el mismo :(
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: franklinrony on February 20, 2015, 05:48:07 PM
creo que permisos 666 son mas que suficientes...seria quiza mejor que lso del host te editen el php.ini.mira aqui haye algo

Set this option globally inside the php.ini file:

arg_separator.input = ";"
or locally for your current script execution with ini_set:

ini_set('arg_separator.input', ';');
From the docs:

arg_separator.input string

List of separator(s) used by PHP to parse input URLs into variables.
The option can receive a character set of possible separators, so if you need to make PHP parsing arguments both with semicolon and ampersand as a separator, set it equal to ;&.

Additionally arg_separator.output can be used to separate arguments in PHP generated URLs.

REF: http://www.php.net/manual/en/ini.core.php#ini.arg-separator.input

en esta linea arg_separator.input = "&"
pero debe hacerce en el php.ini
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: CaLy on February 20, 2015, 06:39:46 PM
Listo Frony gracias por tu respuesta, ya les he mandado mail al soporte del hosting.
La última captura, de hace escasos 3 minutos fue esta > http://snag.gy/3L3Pn.jpg

Después de tomar esa captura envié el mail a soporte. Esperemos a ver qué onda!
Title: Re: Necesito ayuda con el error 500, a ver si me pueden ayudar por aqui.
Post by: franklinrony on February 20, 2015, 07:00:55 PM
Pues es lo mejor,ya que smf no parece que lo reporte como un bug,y no piensan quitarlo para amntener la retrocompatibilidad con versiones anteriores de versiones antiguas de php