Data import function fails when using relative file path

Hi everyone,

I’m facing issues while working with the data import function.
After selecting the file, the screen just gets stuck with the message:
“File uploaded, processing…” and never finishes.

I tried some actions:

  • Enabled Debug mode

  • Disabled antivirus

  • Traced the file path

What I observed:

  • The file is temporarily saved in the server folder (upload_tmp_dir = "D:\xampp\tmp")

  • Then it disappears before being moved to the project’s upload folder

  • The log shows:

    The file "pasta_arquivos/temp__29824933/teste.xlsx" cannot be opened...
    
    

It seems related to how I configure my file folder path:

  • In Advanced Settings >> Local file system root (relative to project folder) I set it as ..
    (so that files are stored outside the project and I don’t have to worry about copying them when updating)

  • If I change it back to . everything works fine.

Summary:
I believe the failure is related to using the relative path (..).
Does anyone know how I can keep working with .. without breaking the import process?

Thanks in advance!

Please update to the latest template (Tools → Update Template) and try again.

1 Like