34 Mensajes
12
Avatar Image
Usuario Novato
Usuario Novato

Ara me sale esto:

Unable to upload file

DEBUG MODE

Line : 240
File : usercp_avatar.php

Me ha salido al remplazar:

if ($avatar_mode == 'local') {
move_uploaded_file($avatar_filename,'/home/webcindario/Beti-Stadio/phpBB2'.$avatar_filename);
$avatar_filename = '/home/webcindario/Beti-Stadio/phpBB2'.$avatar_filename;
}
$tmp_path = '/home/webcindario/Beti-Stadio/phpBB2/tmp';

por....

if ($avatar_mode == 'local') {move_uploaded_file($avatar_filename,'/home/webcindario/beti-stadio/phpBB2/'.$avatar_filename);
$avatar_filename = '/home/webcindario/beti-stadio/phpBB2/'.$avatar_filename;}$tmp_path = '/home/webcindario/beti-stadio/phpBB2/tmp';

Aparentemente son iguales, no se en que cambian y porque me sigue saliendo el error

rafael.gutierrez
Usuario Novato
Usuario Novato

Tengo el mismo problema con los avatars. he hecho los cambios en el fichero pero me salen los siguientes errores:
Warning: move_uploaded_file(/foro-masterC:\WINDOWS\TEMP\php120.tmp): failed to open stream: Invalid argument in C:\inetpub\wwwroot\foro-master\includes\usercp_avatar.php on line 119

Warning: move_uploaded_file(): Unable to move 'C:\WINDOWS\TEMP\php120.tmp' to '/foro-masterC:\WINDOWS\TEMP\php120.tmp' in C:\inetpub\wwwroot\foro-master\includes\usercp_avatar.php on line 119

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\foro-master\includes\usercp_avatar.php:119) in C:\inetpub\wwwroot\foro-master\includes\page_header.php on line 573

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\foro-master\includes\usercp_avatar.php:119) in C:\inetpub\wwwroot\foro-master\includes\page_header.php on line 575

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\foro-master\includes\usercp_avatar.php:119) in C:\inetpub\wwwroot\foro-master\includes\page_header.php on line 576

necesito ayuda, gracias....

saso80
Usuario Novato
Usuario Novato

Hola quiero agregar un poco de informacion que a mi me sirvió mucho

si al hacer esto para poder subir el avatar nos da un error de Bug hacer lo sig


Buscar este codigo:

if (!is_uploaded_file($avatar_filename))
{
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
}

Y lo deshabilitarlo, cosa que queda asi. (NO SE OLVIDEN DE LOAS * ANTES Y DESPUES DE CADA /)

/*if (!is_uploaded_file($avatar_filename))
{
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
}*/

Con esto ya podemos subir nuestro avatar, salu2 desde AR

Divertido

Avatar Image
Usuario habitual
Usuario habitual

Hola tengo estos errores:


Warning: move_uploaded_file(/home/webcindario/ttcat//tmp/phpvuEneq): failed to open stream: No such file or directory in /home/webcindario/ttcat/includes/usercp_avatar.php on line 105


Warning: move_uploaded_file(): Unable to move '/tmp/phpvuEneq' to '/home/webcindario/ttcat//tmp/phpvuEneq' in /home/webcindario/ttcat/includes/usercp_avatar.php on line 105


Alguien tiene idea sobre esto??

Gracias de todos modos

34 Mensajes
12
ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 06/Sep/2003, 08:58
loreienjacme Dzacab creatormix2931Sep/03
Por: , el 21/Mar/2006, 21:01
FOROS_LC User 74154612kMar/06
Por: , el 14/Dic/2010, 01:42
al3m4n02kDec/10
Por: , el 08/Ene/2007, 13:14
sergi_v NoSetup.org12kJan/07
Por: , el 14/Feb/2006, 02:30
MaLaTiTo NoSetup.org12kFeb/06