Página 1 de 1

Upload Avatar

Publicado: 26 Ago 2004, 21:37
por GuruTlaloc
Hola de Nuevo *o* !

No se porque me genero este error se es parte del sistema de foro, no deberí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a tener error o.í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³ porque no le hecho mod ni nada por el estilo. El caso es que habilití?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© la carga de avatars desde la Pc y creo que por ahi dos o tres usuarios ya la habí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a usado, y sin querer la desactiví?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© y cuando quise volver a usarla. Pues ya no pude activarla nuevamente y me sale este error que posteriorme se reemplaza por el index.

Código: Seleccionar todo

Warning: copy(./images/avatars/1040515249412e34cc88b97.jpg): failed to open stream: Permission denied in /home/tlaloc/public_html/guruforo/includes/usercp_avatar.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/tlaloc/public_html/guruforo/includes/usercp_avatar.php:227) in /home/tlaloc/public_html/guruforo/includes/page_header.php on line 474

Warning: Cannot modify header information - headers already sent by (output started at /home/tlaloc/public_html/guruforo/includes/usercp_avatar.php:227) in /home/tlaloc/public_html/guruforo/includes/page_header.php on line 476

Warning: Cannot modify header information - headers already sent by (output started at /home/tlaloc/public_html/guruforo/includes/usercp_avatar.php:227) in /home/tlaloc/public_html/guruforo/includes/page_header.php on line 477
Revise el usercp_avatar.php en la linea 227 y esto es lo que tiene:

Código: Seleccionar todo

$move_file($avatar_filename, './' . $board_config['avatar_path'] . "/$new_filename");
y las tres lineas de page_header.php dicen esto:

Código: Seleccionar todo

header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
Espero que alguien me pueda orientar sobre qe hacer o.o

Quizas si borro los avatars de los usuarios que piden archivos al foro y luego habilito nuevamente. Para tratar de algo asi como de reiniciar o.o?

De antemano muchas gracias por la ayuda *-*

Publicado: 27 Ago 2004, 01:14
por tole
Revisa los permisos donde se alojan los avatares /images/avatars/ q deben de estar fijado con chmod 777

Salu2.

Publicado: 27 Ago 2004, 08:20
por GuruTlaloc
A caray, explicame por favor eso de CHMODs de hecho me va a servir mucho porque estoy queriendo ponerle un MOD de Panel de Control a mi foro aunque es ver. 2.0.8 a ver como funciona; y estaba leyendo un poco antes de intentarlo y tope con la siguiente instruccií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n que corresponde en parte a lo que me dices pero, no le entiendo bien o.o

Código: Seleccionar todo

##	  / \
##	 / ! \	The next CHMODs are required to allow the editing of the mentioned files by the ACP tools
##	/_____\
##
##
##	CHMOD 666 to apply :
##
##		profilcp/def/def_userfields.php
##		profilcp/def/def_usermaps.php
##
##	COPY to each of your language installed directories (ie: languages/lang_english/) and
##	CHMOD 666 those files :
##		COPY mod-lang_settings/lang_extend.php TO language/lang_*/lang_extend.php
Y por cierto, como le hizo Kuka para ponerle la banderita a cada post del foro. Esta gení?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­al eso *-*^
no hay un MOD para ponerlo *-*?

Publicado: 27 Ago 2004, 13:46
por ThE KuKa
Haz una busqueda poniendo "CHMOD" y otra con "Country Flags" y encontraras lo que buscas...

S@lu2

Re: Upload Avatar

Publicado: 29 Ago 2004, 07:50
por GuruTlaloc
oh, muchas gracias por toda la ayuda *-*^

Irí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© de inmediato a buscar esa informacií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n *í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¬*

wow al fin comprendo, no era tan dificil, veamos si mi versií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n del WS tiene esas opciones :D