Running EE 2.2.2, the following functionality on the edit content list screen is causing problems on the live environment (a dedicated LAMP server):
<input type=“checkbox” name=“toggle[]” value=“0” class=“toggle” id=“delete_box_0”/>
1. In the edit content list screen, the checkbox field IDs are numbered incorrectly, always starting from 0 and incrementing, instead of being set to the entry IDs e.g.
<input type="checkbox" name="toggle[]" value="0" class="toggle" id="delete_box_0"/>
This means that when you tick checkboxes to edit or delete certain entries and click submit, the *wrong* entries are selected (it’s always the earliest entry IDs selected).
This means that the delete entries functionality is extremely dangerous at the moment, because you select multiple entries, all the next screen says is are you sure you want to delete these entries, but if you click yes, the earliest entries are deleted instead! :( Plus there is no way to delete the entries you really want deleted.
In the pages module, you delete page URIs successfully though i.e. the correct field IDs are set there e.g.
<input id="delete_box_15" class="toggle" type="checkbox" value="15" name="toggle[]">2. The paging controls at the bottom of the edit screen do not do anything.
In the file manager file list screen they do not work either and only the first 100 files are listed.
Also, on the content edit screen, there is no message above the paging controls (saying Showing 1 to 50 of 81 entries etc) i.e. the div with class dataTables_info is empty.
I replicated the site on my dev server and both these things work fine on it.
So I know this is not a general EE issue, or an add-on interference issue - it must be down to server config.
It is hard to fathom how functionality as basic as setting the checkbox field IDs could be screwed up by a server setting, so I would really appreciate it if the support team could offer any info at all on the method being used to do this and how it could be affected by the PHP/server config.
I am hoping that perhaps one of you may have encountered this kind of thing before on strange server set ups?
I am not the server admin, and the server admin is not familiar with EE, so I need to be able to point him in the right direction of what he should look into in the server set up.
Many thanks for your time,
Janine.