File path issues

OS info

  • Operating System : Windows 10.0.17134
  • Wappler Version : 2.1.2

Problem description

issue 1: the backslash in from of the path is creating issues
Issue 2: the backslash in from the path is creating issues href="/dmxAppConnect/dmxBootstrap4TableGenerator/dmxBootstrap4TableGenerator.css">

GET net::ERR_ABORTED 404 (Not Found)
database2.php:10 GET net::ERR_ABORTED 404 (Not Found)

File path in windows to working directory: C:\Users\rcher\OneDrive\Documents\Portal
File path on server:
Query runs fine inside Wappler

Steps to reproduce

  1. Create any php file with database/query connection
  2. upload file, get errors

To correct I remove the leading / from the path using notepad and upload FTP and all works fine. When I open the file in Wappler and save it reverts back to / in front of path
I searched for severla hours and could not find solution, sorry.

Check your project setup, looks like you may have paths set relative to root rather than document which will cause issues if you are working in a subdirectory


awesome, thank you very much. Looks like that cured it.

1 Like