Página 1 de 1
error al subir adjuntos
Publicado: 19 Abr 2011, 08:15
por vanessagil
pues eso... creo que hay mas errores, pero de momento he puesto este y sobre la marcha seguro que descubris que hay mas errores....
cuando subo un adjunto me lo carga pero se queda la pantalla en blanco y nada.... no va...
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 11:38
por angelismo
Prueba a
Habilitar el modo DEBUG ,a ver si te salen errores al subir el adjunto.
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 11:55
por vanessagil
ok, voy alla!
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 12:00
por vanessagil
me salen errores, tanto cuando estoy en el index, como cuando respondo, etc....
este es el que sale cuando adjunto algo...
se queda la pantalla en blanco y dice:
[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1547: Undefined variable: form_name
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 12:12
por leviatan21
vanessagil escribió:[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1547: Undefined variable: form_name
El error puede provenir de ese mismo archivo o del
raíz/posting.php, ya que en un foro nuevo en esa linea no se solicita la variable
form_name
Por favor comprime esos dos archivos y adjuntalos en un mensaje

Re: error al subir adjuntos
Publicado: 19 Abr 2011, 12:21
por vanessagil
ok, aqui estan!
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 12:31
por leviatan21
He encontrado el error, no se quien o que hizo el cambio, pero está mal, para corregirlo realiza estos pasos :
Abrir :
raíz/posting.php
Buscar :
Código: Seleccionar todo
// Parse Attachments - before checksum is calculated
foreach ($_FILES as $form_name => $value)
{
$message_parser->parse_attachments($form_name, $mode, $forum_id, $submit, $preview, $refresh);
}
Reemplazar, por :
Código: Seleccionar todo
// Parse Attachments - before checksum is calculated
$message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh);
Guardar los cambios, subir el archivo al servidor vía FTP y probar, luego me cuentas si funciona y sube los adjuntos

Re: error al subir adjuntos
Publicado: 19 Abr 2011, 12:41
por vanessagil
mientras subia el adjunto decia esto arriba del todo:
[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1547: Undefined variable: form_name
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4572: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4574: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4575: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4576: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
y finalmente,:
[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1547: Undefined variable: form_name
Re: error al subir adjuntos Tema Solucionado
Publicado: 19 Abr 2011, 13:16
por leviatan21
Perdón la demora, estaba mirando el archivo y cuando viene a responderte leí que tienes instalado el
MOD Mutiple File Upload, en el cual tienes dos falos en la instalación.
Primero, deshace el cambio que te indique anteriormente y luego sigue estas instrucciones :
Abrir :
raíz/includes/message_parser.php
Buscar :
Código: Seleccionar todo
// First of all adjust comments if changed
$comment_list = str_replace('fileupload', 'comment_list', $form_name);
$actual_comment_list = utf8_normalize_nfc(request_var($comment_list, array(''), true)); foreach ($actual_comment_list as $comment_key => $comment)
Reemplazar, por :
Código: Seleccionar todo
// First of all adjust comments if changed
$comment_list = str_replace('fileupload', 'comment_list', $form_name);
$actual_comment_list = utf8_normalize_nfc(request_var($comment_list, array(''), true));
foreach ($actual_comment_list as $comment_key => $comment)
Buscar :
Código: Seleccionar todo
$filecomment = str_replace('fileupload', 'filecomment', $form_name);
$this->filename_data['filecomment'] = utf8_normalize_nfc(request_var($filecomment, '', true));
$attachment_data = (isset($_POST['attachment_data'])) ? $_POST['attachment_data'] : array();
$this->attachment_data = array();
Reemplazar, por :
Código: Seleccionar todo
$this->filename_data['filecomment'] = utf8_normalize_nfc(request_var('filecomment', '', true));
$attachment_data = (isset($_POST['attachment_data'])) ? $_POST['attachment_data'] : array();
Con eso debería resolverse el problema
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 13:25
por vanessagil
ainsss nooo, disculpas ninguna!!! gracias a vosotros tengo mi foro!!!
pues veras, debe de estar el error ahi, porque no aparece lo me tu me pides.... te adjunto el functions!
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 13:34
por leviatan21
vanessagil escribió:ainsss nooo, disculpas ninguna!!! gracias a vosotros tengo mi foro!!!
pues veras, debe de estar el error ahi, porque no aparece lo me tu me pides.... te adjunto el functions!
Error mío ( deben ser las 36hs sin dormir ), el archivo a corregir es el
raíz/includes/message_parser.php
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 14:02
por vanessagil
geniallllllllllll!!!! ya esta arreglado! he hecho lo que me dijiste y lo he probado y genial!!!!
ahora en el index me sale esto:
[phpBB Debug] PHP Notice: in file /index.php on line 246: Undefined variable: bbcode_bitfield
[phpBB Debug] PHP Notice: in file /index.php on line 246: Undefined variable: bbcode_bitfield
[phpBB Debug] PHP Notice: in file /index.php on line 246: Undefined variable: bbcode_bitfield
[phpBB Debug] PHP Notice: in file /index.php on line 246: Undefined variable: bbcode_bitfield
[phpBB Debug] PHP Notice: in file /index.php on line 246: Undefined variable: bbcode_bitfield
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4572: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4574: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4575: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4576: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
lo podriamos ver aqui o abro un tema nuevo?
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 14:06
por vanessagil
me imagino que sera por ese error el que algunas letras se vean con simbolos.... porque yo lo hago todo con el notepad++
Re: error al subir adjuntos
Publicado: 19 Abr 2011, 14:06
por leviatan21
vanessagil escribió:lo podriamos ver aqui o abro un tema nuevo?
Marca este como solucionado y abre un tema nuevo
