dbr.upload problem

(5 posts) (2 voices)
  1. gallogallegos, Member

    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)

    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';


    CREATE PROCEDURE `sp_DBR_entregas_image_update`(
    in_path varchar(255),
    in_file varchar(255),
    in_size int,
    in_entregaid int

    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),')');


  2. myDBR Team, Key Master

    You can run the automatic updater to get the latest build. The issue with the upload is now fixed.

    Thank you for reporting this one.

    myDBR Team

  3. gallogallegos, Member

    great, I can already drag and click, but nothing happens, apparently it is not calling the stored procedure.

  4. gallogallegos, Member

    I found out what happens, it does not show error message when uploading unaccepted files.

  5. myDBR Team, Key Master

    An notification has been added when user tries to upload a file type that is not allowed.

    myDBR Team


You must log in to post.