Form Configuration screen is blank

pbarounis

New member
Something new has happened and I cannot figure out the problem. I have an application that that has been running fine for a while and when I went to change a form, I get a blank page on the "Forms configurator" screen. All of the other screens (users, pages, menus, etc.) all work fine.

I have not made any changes for a while so I am not sure if this was due to the upgrade in December. The application still works fine but I cannot make any form changes and I do not know how to debug this. I tested this on my local computer and on the web site and I get the same thing.

I added the debug-mode line ($debug_mode=1) to the config file but nothing shows up on the screen. It is totally blank. I can try to install a fresh version on a new database to see if that works but that will not help with my application.

-------------------
You are using DaDaBIK version 12.4-Aveto enterprise, installed on 12-01-2024
System info
PHP Version: 7.4.33
mysql version: 5.7.23-23
Web server: Apache
Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

---------------------
 

eugenio

Administrator
Staff member
Hello,
check the HTML source of the page, there is probably an error related to a table that you dropped from outside DaDaBIK without uninstalling it.
 

pbarounis

New member
I will check it out. Thanks for the response.
I took a look at he html error and this is what I got. Don't know what it means. I checked to see if any tables were removed but the dadabik_table_list seems to correspond with the installed tables. Also, I tested this with various browsers and my phone and all of them do the same thing. I am going to go back to an older version of my application and see if that still works. Maybe I need to use a new version of PHP?

internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received.
 

pbarounis

New member
Hello,
check the HTML source of the page, there is probably an error related to a table that you dropped from outside DaDaBIK without uninstalling it.
I took a look at he html error and this is what I got. Don't know what it means. I checked to see if any tables were removed but the dadabik_table_list seems to correspond with the installed tables. Also, I tested this with various browsers and my phone and all of them do the same thing. I am going to go back to an older version of my application and see if that still works. Maybe I need to use a new version of PHP?

internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
internal_table_manager.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received.
 

pbarounis

New member
Thanks for the response.

I tried with multiple browsers and incognito mode as well as my tablet and iphone snd I get the same results. I think I need to get back to a working version from one of my backups and see what might have changed. Probably something in the database but at this point, I have no idea where it might be.
 

pbarounis

New member
I have spent a great deal of time on this trying to figure out what is happening. The following configuration DOES NOT show the configuration screen. Everything else works fine and the application is also working OK. I do not have any tables that Dadabik is using that are installed by Dadabik.

This version does not show configuration screen.
===========================
DadaBIK version 12.4-Aveto enterprise, installed on 12-01-2024 (installation code: 1856963b1d4671ae76), the latest version of DaDaBIK is 12.5-Aveto released on 01-14-2025

System info​

PHP Version: 8.2.12
mysql version: 10.4.32-MariaDB
Web server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
==============================

After going back a couple of versions, the following configuration DOES WORK correctly and I do get the configuration screen.
==============================
DaDaBIK version 12.2-Aveto enterprise, installed on 08-20-2024 (installation code: 1856963b1d4671ae76), the latest version of DaDaBIK is 12.5-Aveto released on 01-14-2025

System info​

PHP Version: 8.2.12
mysql version: 10.4.32-MariaDB
Web server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
==============================

NOTE: When I upgrade this to version 12.4 or 12.5, I lose the configuration screen again. I believe there must be a problem in the upgrade from 12.2 to 12.4 Not sure why no one else is experiencing this issue. There are really no errors in the html on the configuration screen when I inspect the sorece.

Any other suggestions would be helpful. I don't suppose there is any way to go back to 12.2 on my website as this is really annoying. This happens on my web site, my Xammp development system and my Synology NAS.

Pete
 

pbarounis

New member
Hello,
check the HTML source of the page, there is probably an error related to a table that you dropped from outside DaDaBIK without uninstalling it.
Hello,
check the HTML source of the page, there is probably an error related to a table that you dropped from outside DaDaBIK without uninstalling it.

I will check it out. Thanks for the response.
It appears that going back to version 12.2 works but when I upgrade to 12.4, I lose the Form Configuration screen. There are no errors in the HTML screen. How can I find out what is failing on the configuration screen? There are no deleted tables.

Any chance of getting the source for the internal_table_manager.php so I can debug it properly or perhaps I can send you my application with the database (with data removed) to verify integrity of the app and data? If not, I will have to figure out how to go back to 12.2. Any suggestions would be appreciated.
 

pbarounis

New member
Hello,
check the HTML source of the page, there is probably an error related to a table that you dropped from outside DaDaBIK without uninstalling it.
After a lot of trial and error, it turns out that the header.php file in the include folder is what is causing my issue. I replaced it with the 12.2 version and everything is working. I am going to try and find the actual code in the header.php file (since I have the source for that) that is actually causing the issue.

Pete
 

eugenio

Administrator
Staff member
Are you 100% sure that all the tables you have in dadabik_table_list are valid (existing) tables?
The problem you describe occurs when you drop a table from outside DaDaBIK without uninstalling it first and in the next version of DaDaBIK (available in a few days) this will be fixed..
 

pbarounis

New member
I do have a stored procedure that drops and recreates a table but that table is always available. Will wait for next version. Thanks.
 
Top