One of dbPrepareString() required arguments are db connection. Why is that? and what does that function do with that information? this function just returns escaped quary string?
1. open your acl.xml file and type <object name="resource.NAMEHERE"></object> to admin group!
2. change NAMEHERE to your loginpanel resource name AND SAVE
3. write reloadacl to your console