Re: Euphoria MVC updates
- Posted by jmduro Nov 13, 2021
- 2945 views
If I remove both "include std/map.e" and "include mvc/mapdbg.e as map" the development server runs. It crashes later while using the script.
If I use only "include std/map.e", the server crashes instantly without any debug trace.
If I use only "include mvc/mapdbg.e as map", the serevr runs and crashes later.
I found the right syntax for sqlite3 local files to comply with url_parse(), thanks to Firefox:
constant DB_URL = "sqlite3:file:///D:/Data/Euphoria/v4/Personnel/mysql_users/users.sqlite"
proto = sqlite3, name = "///D:/Data/Euphoria/v4/Personnel/mysql_users/users.sqlite"
However, the script crashes instantly with no debug trace. I then added flush() to log_messages() and here are the last debug lines after this change:
2021/11/13 10:54:46 DEBUG db_connect@database.e:83 url = "sqlite3:file:///D:/Data/Euphoria/v4/Personnel/mysql_users/users.sqlite", timeout = 5000 2021/11/13 10:54:46 DEBUG _connect@db_sqlite3.e:24 name = "\"///D:/Data/Euphoria/v4/Personnel/mysql_users/users.sqlite\""
Jean-Marc