dbr.upload It doesn't work, when entering the report, I only see the box to upload the file but it does nothing. does nothing when dragging and does nothing with the click of the mouse.
this is the store procedures.
CREATE PROCEDURE `sp_DBR_entregas_image_uploader`(in_entregaid int)
BEGIN
select 'dbr.upload.options', 'noreplace', 1;
select 'dbr.upload.options', 'accepted_files', '.jpg,.png';
select 'dbr.upload.options', 'maxfilesize', 1;
select 'dbr.upload', '/var/www/mydbr/user/images/', 'sp_DBR_entregas_image_update', in_entregaid;
select 'dummy';
END
CREATE PROCEDURE `sp_DBR_entregas_image_update`(
in_path varchar(255),
in_file varchar(255),
in_size int,
in_entregaid int
)
begin
update entregas.entregas
SET entregas.foto = concat(in_path, in_file)
Where entregas.entrega_id=in_entregaid;
select concat('Foto: ', in_file, ' tamaƱo: (',format_bytes(in_size),')');
END