helmut2509 Posted May 10, 2017 Share Posted May 10, 2017 Hello, when I use a certain template, I get the error message. Error: Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'myTemplatename' for key 'name' (in .../wire/core/WireSaveableItems.php line 238) When I switch from "Use Compiled File - No" To "...Auto" or viceversa the error message does not appear for a while, but after an hour or so it reappears. I suppose this has to do with the fact that I am using one template which contains the business logic and two view templates which are assigned by $page->template->name in the first template. For the first view template I assigned as Alternate Template Filename the file containing the business logic, for the second view template I made no such assignment. Any suggestions? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now