Avisos
Vaciar todo

Hosting WordPress 70% dto Dominios promo

Al guardar aparece error 500  

 
Jaume
 Jaume
Reputable Member

user:jaume
pd: tkhjc36e

Creas un post i te da error 500, pero si sales y entras te guarda el post.
Es muy raro.

Alguna propuesta?

URL del sitio: Contenido solo visible a usuarios registrados

Citar
Respondido : 03/10/2012 10:55 am
Pablo Velasco
 Pablo Velasco
Illustrious Member

Hola,

Revisa el archivo error_log que encontrarás en la raíz de tu web. En las últimas líneas tendría que venir información sobre el error.

Puede encontrar más información sobre la forma de localizar este tipo de errores en la siguiente entrada de nuestro blog:

https://www.webempresa.com/blog/que-es-un-error-500-y-como-localizarlo-en-nuestra-web.html

ResponderCitar
Respondido : 03/10/2012 11:43 am

Cursos Gratuitos WordPress

Jaume
 Jaume
Reputable Member

El fichero error_log me da estos errores:

[03-Oct-2012 11:46:21] PHP Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/home/eva/public_html/doula/logs/rokcommon.php) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 233
[03-Oct-2012 11:46:21] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/eva/public_html/doula) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 11:46:21] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/eva/public_html) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 11:46:21] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/eva) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 11:46:21] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 11:46:21] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 11:46:21] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 11:46:21] PHP Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/home/eva/public_html/doula/logs/rokcommon.php) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 248
[03-Oct-2012 11:46:21] PHP Warning: fopen(/home/eva/public_html/doula/logs/rokcommon.php) [function.fopen]: failed to open stream: Operation not permitted in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 248
[03-Oct-2012 11:46:21] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 254

ResponderCitar
Respondido : 03/10/2012 3:23 pm
Pablo Velasco
 Pablo Velasco
Illustrious Member

Hola,

Lo que has pegado no corresponden a errores, sino a alertas, ya que como verás pone PHP Warning. Tendrían que buscar alguno que ponga PHP Error.

Lo mejor es que provoques el error y luego revises el error_log.

Revisa también el enlace que te pasé antes porque verás más información.

ResponderCitar
Respondido : 03/10/2012 3:40 pm

Jaume
 Jaume
Reputable Member

He borrado error_log, he provocado el error y aqui copio el nuevo error_log, que solo tiene Warnings, no tiene errores:

[03-Oct-2012 16:47:59] PHP Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/home/eva/public_html/doula/logs/rokcommon.php) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 233
[03-Oct-2012 16:47:59] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/eva/public_html/doula) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 16:47:59] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/eva/public_html) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 16:47:59] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/eva) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 16:47:59] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 16:47:59] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 16:47:59] PHP Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/filesystem/folder.php on line 451
[03-Oct-2012 16:47:59] PHP Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/home/eva/public_html/doula/logs/rokcommon.php) is not within the allowed path(s): (/home/doulasco:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 248
[03-Oct-2012 16:47:59] PHP Warning: fopen(/home/eva/public_html/doula/logs/rokcommon.php) [function.fopen]: failed to open stream: Operation not permitted in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 248
[03-Oct-2012 16:47:59] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /home/doulasco/public_html/libraries/joomla/log/loggers/formattedtext.php on line 254

ResponderCitar
Respondido : 03/10/2012 3:50 pm
Pablo Velasco
 Pablo Velasco
Illustrious Member

Hola,

El error no debería estar provocado por ninguno de los warnings que se muestran, sino que la razón debería ser otra.

He probado el foro y veo que dejas agregar entradas a usuarios anónimos, lo cual no es conveniente si quieres evitar que te entre spam.

Comprueba que tienes la última versión del componente Kunena y de no ser así actualiza.

ResponderCitar
Respondido : 03/10/2012 4:05 pm

Gestor de Contraseñas - VPN Conexión Segura - Gestor 2FA (Segundo Factor de Autenticación

Jaume
 Jaume
Reputable Member

Buenas noches,

tengo la última versión del kunena y los anónimos ya no pueden agregar entradas. Pero sigue dando el mismo error.

Que puede ser?

ResponderCitar
Respondido : 03/10/2012 9:16 pm
Luis Mendez Alejo
 Luis Mendez Alejo
Miembro Admin

Hola Jaume,

La última versión de Kunena está, desde su liberación, causando problemas y no acaba de funcionar lo bien que funciona la 1.7.2 "estable" (para mi gusto).

¿Que versión dices tener actualmente?.

Saludos

ResponderCitar
Respondido : 03/10/2012 11:13 pm

optimiza-automaticamente-todas-las-imagenes-de-tu-wordpress

Jaume
 Jaume
Reputable Member

Era problemas de path de la carpeta log y tmp

ResponderCitar
Respondido : 04/10/2012 12:20 am