Trouble activating the ajax_form module

30 views
Skip to first unread message

Rhonda Seymour

unread,
Sep 6, 2023, 2:39:47 PM9/6/23
to Xataface
I have been attempting to install the ajax_form module, using the instructions from https://github.com/shannah/xataface-module-ajax_form, but I can't get it to run.

My setup is Xataface version 3.0.2 5002, with PHP 8.0.28, currently on a local development installation.

I've downloaded (from the link above), renamed, and placed the ajax_form folder in my modules folder, and added it to my conf.ini file with the line: modules_ajax_form=modules/ajax_form/ajax_form.php as the directions describe.

The Editable List tab shows up just as it's supposed to; however, when I click on it, all I get is the message "Internal Server Error, Check your Error Log for Details."

Here are the details that the log gives me:
[06-Sep-2023 17:58:45 UTC] Exception: Template did not contain a form. in C:\laragon\www\annualreporting\modules\ajax_form\classes\XFAjaxList.class.php:204
Stack trace:
#0 C:\laragon\www\annualreporting\modules\ajax_form\actions\ajax_form_list.php(55): XFAjaxList->compile('<form>\r\n<input ...')
#1 C:\laragon\www\annualreporting\xataface\Dataface\Application.php(3715): actions_ajax_form_list->handle(Array)
#2 C:\laragon\www\annualreporting\xataface\Dataface\Application.php(3857): Dataface_Application->handleRequest()
#3 C:\laragon\www\annualreporting\xataface\Dataface\Application.php(3743): Dataface_Application->_display(false, false)
#4 C:\laragon\www\annualreporting\index.php(13): Dataface_Application->display()
#5 {main}
[06-Sep-2023 17:58:45 UTC] <fe1a3a81-4d94-49e2-9087-b3e819da83a0

I have also tried placing the folder inside the xataface/modules folder within my application folder (and altering the conf.ini line to match), because I have seen some cases mentioned for other modules where that made a difference. Unfortunately, the error message remains the same.

I'm not sure why it claims that the template doesn't contain a form. I've conducted searches, but I can't see that anyone else has posted about this particular issue.
Is there another module the Ajax Form depends on that I need to install? The message seems to indicate that I'm missing something, but I can't tell what that would be.

Peter De Bodt

unread,
Jan 4, 2026, 7:16:00 AM (8 days ago) Jan 4
to Xataface
I've got the same issue , was there a solution for this issue?

Op woensdag 6 september 2023 om 20:39:47 UTC+2 schreef Rhonda Seymour:

Rhonda Seymour

unread,
Jan 5, 2026, 11:32:15 AM (6 days ago) Jan 5
to Xataface
I didn't receive any replies to my ask, and I wasn't able to resolve it on my own.
Reply all
Reply to author
Forward
0 new messages