-
Admin Data Entries Bug
This one is kind of major...
I added a data entry in the admin area and later decided I did not need it, so I deleted it. When I did this for some reason it removed ALL data entries in the Admin area!
I was able to go back into the database through phpMyAdmin and found that it had only deleted all the parent entries (Countries, US States, etc.) and all the other keys were still there. I fixed this by adding the data entries back in the admin area, then correcting the ID in the database through phpMyAdmin to what it was originally and everything came back.
If this happens to anybody don't panic (like I did initially!), it's not too difficult to fix, but there is a bug somewhere in the Admin area that must have caused this.
-
-
Hello,
you can fix the problem in the following way:
- Open the file: includes/classes/admin/rlFormats.class.php
- go to method ajaxDeleteItem() and find this code:
PHP Code:
Only registered members can view the code.
and change it to:
PHP Code:
Only registered members can view the code.
- then go to ajaxDeleteFormat() method and update it with:
PHP Code:
Only registered members can view the code.
-
You mean it remove all your entries?
Has anyone applied this fix?
-
It removes all parent entries in database.. But for you as admin seems that deleted all entries, because you cant manage child items without parents :)
It has been fixed in 4.1 version. Changes Vladimir posted will fix the problem, or just wait update and apply patch.
-
Hi,
I have imported data entries with DataEntriesImport plugin from a txt file with one blank line, then when I go to Data Entries and delete the blank record, it completly deleted the data_formats table and delete all data entries from table lang_keys.
I have tested and it only happen when try to delete one blank entry...
Flynax General 4.1