Avisos
Vaciar todo

Al guardar aparece error 500

9 Respuestas
3 Usuarios
0 Reactions
2,324 Visitas
Jaume
Respuestas: 260
Reputable Member
Topic starter
 

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


 
Respondido : 03/10/2012 9:55 am
Pablo Velasco
Respuestas: 20382
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


 
Respondido : 03/10/2012 10:43 am
Jaume
Respuestas: 260
Reputable Member
Topic starter
 

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


 
Respondido : 03/10/2012 2:23 pm
Pablo Velasco
Respuestas: 20382
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.


 
Respondido : 03/10/2012 2:40 pm
Jaume
Respuestas: 260
Reputable Member
Topic starter
 

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


 
Respondido : 03/10/2012 2:50 pm
Pablo Velasco
Respuestas: 20382
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.


 
Respondido : 03/10/2012 3:05 pm
Jaume
Respuestas: 260
Reputable Member
Topic starter
 

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?


 
Respondido : 03/10/2012 8:16 pm
Luis Mendez Alejo
Respuestas: 23273
Illustrious Member
 

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


 
Respondido : 03/10/2012 10:13 pm
Jaume
Respuestas: 260
Reputable Member
Topic starter
 

Era problemas de path de la carpeta log y tmp


 
Respondido : 03/10/2012 11:20 pm