I have been attempting to install the ajax_form module, using the instructions from
, 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.