Hello,
First of all: I like dadabik and think it is a great tool. It has been very helpful to me over the last 10 years.
I am on version 7.3.3 and recently upgraded to PHP 7.1. On PHP 5.6 everything was just working fine.
Dadabik is loading and working for the most part. The only issue I am encountering is when trying to sort.
When clicking on one of the field names I get this error message:
[pre]
Warning: A non-numeric value encountered in index.php on line 1178
Warning: A non-numeric value encountered in index.php on line 1255
Warning: A non-numeric value encountered in include/business_logic.php on line 6327
[/pre]
These are the corresponding lines:
[pre]
1178: $res_records = execute_db_limit($sql, $conn, $records_per_page, $page*$records_per_page);
1255: txt_out (" <font class=\"page_n_of_m\">".$normal_messages_ar["page"].($page+1).$normal_messages_ar["of"].$pages_number."</font>");
6327: $page_group = (int)($page/10); // which group? (from 0......n) e.g. page 12 is in the page_group 1
[/pre]
Sorting does still work though. It will always sort DESC when clicking on a field name. Then the error message will be displayed. Clicking again will not change the sorting to ASC. It will always stay sorted DESC.
Any ideas why this is happening after the upgrade to PHP 7.1?
Thanks
khofm
First of all: I like dadabik and think it is a great tool. It has been very helpful to me over the last 10 years.
I am on version 7.3.3 and recently upgraded to PHP 7.1. On PHP 5.6 everything was just working fine.
Dadabik is loading and working for the most part. The only issue I am encountering is when trying to sort.
When clicking on one of the field names I get this error message:
[pre]
Warning: A non-numeric value encountered in index.php on line 1178
Warning: A non-numeric value encountered in index.php on line 1255
Warning: A non-numeric value encountered in include/business_logic.php on line 6327
[/pre]
These are the corresponding lines:
[pre]
1178: $res_records = execute_db_limit($sql, $conn, $records_per_page, $page*$records_per_page);
1255: txt_out (" <font class=\"page_n_of_m\">".$normal_messages_ar["page"].($page+1).$normal_messages_ar["of"].$pages_number."</font>");
6327: $page_group = (int)($page/10); // which group? (from 0......n) e.g. page 12 is in the page_group 1
[/pre]
Sorting does still work though. It will always sort DESC when clicking on a field name. Then the error message will be displayed. Clicking again will not change the sorting to ASC. It will always stay sorted DESC.
Any ideas why this is happening after the upgrade to PHP 7.1?
Thanks
khofm