No duplicate error message like that, how to change it ?
Posted: 2015-09-24 14:16
Hello,
I've just bought an AppGini license. It works fine, but i'm really getting annoyed by the SQL error returned in case of duplicate entry. It's an awful raw message such as this one " Duplicate entry 'http://youtube.com/watch=cUbD94eJdtM' for key 'Url_reference'Back."
As for the "You cannot leave this field empty" message (shown in a nice modal box), i'd really like (i really need) to setup such a message for the duplicate entry error. Can someone help me to quickly change that ? What code shall i change and in what file(s) ?
(My database will be used by professional users, and this sql error message doesn't really look professional when it suddenly appears).
Thanks in advance,
Sam Rainbow
I've just bought an AppGini license. It works fine, but i'm really getting annoyed by the SQL error returned in case of duplicate entry. It's an awful raw message such as this one " Duplicate entry 'http://youtube.com/watch=cUbD94eJdtM' for key 'Url_reference'Back."
As for the "You cannot leave this field empty" message (shown in a nice modal box), i'd really like (i really need) to setup such a message for the duplicate entry error. Can someone help me to quickly change that ? What code shall i change and in what file(s) ?
(My database will be used by professional users, and this sql error message doesn't really look professional when it suddenly appears).
Thanks in advance,
Sam Rainbow