Invalid Path Error on FIle Remove

Wappler Version : Wappler 7 Beta 17
Operating System : MacOS
Server Model: PHP
Database Type: MySQL
Hosting Type: Local

Expected behavior

What do you think should happen?

When deleting a record from the database it should remove the file associated with it.

Actual behavior

What actually happens?

I get an Invalid Path error even though the path does exist.

Here is my server action

Screenshot 2025-02-25 at 6.17.25 PM

Your path is not correct, the path to the file must be site root relative so it should start with a /

1 Like

Well, I'll be. I know I tried that without luck last night. But now it works perfectly.

Thanks Teodor, I owe you many beers.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.