QNotes 2 Failed to add note

Post Reply
presenceofmind
Know my way around
Posts: 164
Joined: Thu May 26, 2016 3:05 pm

QNotes 2 Failed to add note

Post by presenceofmind » Sun Jan 05, 2020 3:25 am

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
Last edited by presenceofmind on Sun Jan 05, 2020 8:28 am, edited 1 time in total.

presenceofmind
Know my way around
Posts: 164
Joined: Thu May 26, 2016 3:05 pm

Re: QNotes 2 Failed to add note

Post by presenceofmind » Sun Jan 05, 2020 4:26 am

I checked the logs. it says "404 Page Not Found --> Api"

presenceofmind
Know my way around
Posts: 164
Joined: Thu May 26, 2016 3:05 pm

Re: QNotes 2 Failed to add note

Post by presenceofmind » Sun Jan 05, 2020 7:49 am

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

presenceofmind
Know my way around
Posts: 164
Joined: Thu May 26, 2016 3:05 pm

Re: QNotes 2 Failed to add note

Post by presenceofmind » Sun Jan 05, 2020 9:54 am

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

Post Reply

Return to “Notes Station”