Jump to content

error logged for Pages.php line 692


Manol
 Share

Recommended Posts

Hello.

I've got a form with an email on it after submiting: 

  1. I create a page with a title and the submited email. 
  2. I add the id of the page created in first step  to a PageField in another page that already exists

The first step is done but after the second I got the following error ( only if I'm no logged in the page )

Error:     Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '------------' for key 'name_parent_id' (in /var/www/html/patrimonio24/wire/core/Pages.php line 692)

Any ideas will be welcome.

Thanks.

Link to comment
Share on other sites

Easier question, does anybody know about this error:

Error:     Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '------------' for key 'name_parent_id' (in /var/www/html/patrimonio24/wire/core/Pages.php line 692)

Link to comment
Share on other sites

Well Google does...it means you are using Drupal...hehe, just kidding :P  :biggrin: . Googling that error returns Drupal stuff in the first few results...

From what I see (and this is not very helpful)....something seems to be resubmitting the form? i.e. trying to create another page with the form using same name as one that already exists, or just created? (as in your step #1 in first post)....

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...