Page 1 of 1
QNotes 2 Failed to add note
Posted: Sun Jan 05, 2020 3:25 am
by presenceofmind
Hi all,
Notes: 2.1.59
Notes DB Version: 38
Database: MariaDB
Every time I try to add a note to QNotes 2 I get this "Failed To Add Note" red popup.
Is there a log file to try to fix this?
Cheers
Re: QNotes 2 Failed to add note
Posted: Sun Jan 05, 2020 4:26 am
by presenceofmind
I checked the logs. it says "404 Page Not Found --> Api"
Re: QNotes 2 Failed to add note
Posted: Sun Jan 05, 2020 7:49 am
by presenceofmind
Tracing the api call
controller: page ; service: mk[POST];
request [FormData]:
page[temp_id]: temp_admin_2020_1_4_19_51_16_55_temp
page[page_name]: New Note
page[note_id]: 4
page[source_url]:
page[content]:
page[gps][lat]:
page[gps][lon]:
response:
{status: 502; message: "data model error"}
Is it possible to enable api logging?
Cheers
Re: QNotes 2 Failed to add note
Posted: Sun Jan 05, 2020 9:54 am
by presenceofmind
After a few hours working on this I got it fixed.
I had to change sql scripts and php scripts but it was worth it.
Cheers