unexpected primary key field for lookup table: primary_key_field_field

Hello

I'm trying to upgrade from 8.2 to 10.2.
I could resolve some error messages but now I'm stuck.

The message I get when starting the application, is:
Table/view table_name, form configurator, unexpected primary key field for lookup table: primary_key_field_field. Check $form_config_security_check in config.php for additional details.

In config.php $form_config_security_check is set to 1
If I set $form_config_security_check = 0 then the application starts but whatever I do I get "error 429"

Greetings
Ronny


DaDaBIK version: 10.2 enterprise
browser: Mozilla Firefox 79.0
operating system: Linux
DBMS: MySql 10.3.22-MariaDB-cll-lve
Web server. Apache/2 - litespeed
 
Hello
I found what was wrong: an entry in databik_forms was a copy of the header. No idea how it got there.

BUT: now it get the error 429.
The error log shows that are 2 issues:
  • hostinglimits error
  • deflate error

$debug_mode = 1 in config.php but I see no error messages from DaDaBik

Anyone??
Ronny


[Mon Aug 10 17:04:40.745088 2020] [hostinglimits:error] [pid 15403:tid 140125715457792] mod_hostinglimits: Error on LVE
enter: LVE(2616) HANDLER(application/x-httpd-lsphp) HOSTNAME(vommu.be) URL(/DDB/index.php) TID(15466) errno (7) Read
more: http://e.cloudlinux.com/MHL-E2BIG min_uid (1000)
[Mon Aug 10 17:04:40.745266 2020] [deflate] [pid 15403:tid 140125757421312] [client
2a02:1811:d0b:8f00:ccd2:c310:3b62:3ec8:63973] AH01385: Zlib error -2 flushing zlib output buffer ((null)), referer:
https://vommu.be/DDB/index.php?function=search&tablename=OM_voorwerpen_aanwezig
[Mon Aug 10 17:04:40.745335 2020] [hostinglimits] [pid 15570:tid 140125807777536] mod_hostinglimits: Error on LVE
enter: LVE(2616) HANDLER(application/x-httpd-lsphp) HOSTNAME(vommu.be) URL(/DDB/index.php) TID(15594) errno (7) Read
more: http://e.cloudlinux.com/MHL-E2BIG min_uid (1000)
[Mon Aug 10 17:04:40.745368 2020] [deflate:error] [pid 15570:tid 140125572781824] [client
2a02:1811:d0b:8f00:ccd2:c310:3b62:3ec8:63973] AH01385: Zlib error -2 flushing zlib output buffer ((null)), referer:
https://vommu.be/DDB/index.php?function=search&tablename=OM_voorwerpen_aanwezig
[Mon Aug 10 17:04:40.745571 2020] [deflate] [pid 15403:tid 140125715457792] [client
2a02:1811:d0b:8f00:ccd2:c310:3b62:3ec8:63973] AH01385: Zlib error -2 flushing zlib output buffer ((null)), referer:
https://vommu.be/DDB/index.php?function=search&tablename=OM_voorwerpen_aanwezig
[Mon Aug 10 17:04:40.745735 2020] [deflate] [pid 15570:tid 140125807777536] [client
2a02:1811:d0b:8f00:ccd2:c310:3b62:3ec8:63973] AH01385: Zlib error -2 flushing zlib output buffer ((null)), referer:
https://vommu.be/DDB/index.php?function=search&tablename=OM_voorwerpen_aanwezig
[Mon Aug 10 17:04:40.746582 2020] [hostinglimits] [pid 15403:tid 140125757421312] mod_hostinglimits: Error on LVE
enter: LVE(2616) HANDLER(application/x-httpd-lsphp) HOSTNAME(vommu.be) URL(/DDB/index.php) TID(15461) errno (7) Read
more: http://e.cloudlinux.com/MHL-E2BIG min_uid (1000)
[Mon Aug 10 17:04:40.746777 2020] [deflate] [pid 15403:tid 140125757421312] [client
2a02:1811:d0b:8f00:ccd2:c310:3b62:3ec8:63973] AH01385: Zlib error -2 flushing zlib output buffer ((null)), referer:
https://vommu.be/DDB/index.php?function=search&tablename=OM_voorwerpen_aanwezig
 

eugenio

Administrator
Staff member
Hello Ronny,
about the first problem, it is related to an additional layer of security that DaDaBIK 8 didn't provide. I suggest to keep the check enabled but anyway I think you found the problem.

About the other problems, they don't sound dadabik - related; are you sure that exactly the same server, same settings, didn't produce those errors with dadabik 8?

error 429 is "too many requests". When does this error appear (which page) and can you paste the whole message, if there is something more?
 
Hello

Since I cannot run 10.2 on the old server (because of Ioncube) I try to use an other provider. I made a back-up from the old one and restored it on the new one. I did not run 8.2 on the new one but started the upgrade immediately.

When I start the application, I first get the login page and then the start page. I have about 5 different tables I can access from the start page.
I can access everyone of them, but whatever I do next, I get the 429 error.
The provider says that there are too many simultaneous processes (php and cgi scripts).

I can send you the full reports as attachment but I don't know how to do this (mail address?).

Greetings, Ronny
 

eugenio

Administrator
Staff member
Hello Ronny,
this doesn't sound as a DaDaBIK- related error; dadabik doesn't run so many processes, you shouldn't get that error unless you have a huge amount of users who are using your application at the same time ... and anyway I have never seen this error on a dadabik application so far.

Can you post here the URL (you can remove the domain of the site) of a page that produces the error?
If you get it, for example, when you open a search form, I can guarantee there isn'y any special call that dadabik does here, so I would ask your hosting provider to clarify what is really happening.

Best,
 
Top