Upon creating a page view, I was prompted with a "Page not found" Error for my view. How can it be fixed because I need it urgently. Thank You!!

Comments

dawehner’s picture

Assigned: onenickdev » Unassigned
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Just imagine you would have to help on this issue. Are there enough information to really help you? I would say no.

In general you have read http://drupal.org/node/571990 as it should be read before posting an issue.
Please explain what you did etc.

onenickdev’s picture

I still cannot get it to work...

dawehner’s picture

Can you please try to provide answers for http://drupal.org/node/1422226#comment-5536786

onenickdev’s picture

DOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'articles_2' for key 'name': INSERT INTO {views_view} (name, description, tag, base_table, human_name, core) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => articles_2 [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => default [:db_insert_placeholder_3] => node [:db_insert_placeholder_4] => Articles [:db_insert_placeholder_5] => 7 ) in views_db_object->save_row() (line 1978 of /home6/onenickw/public_html/sites/all/modules/views/includes/view.inc).

This is the error that is generated when I try to create a Page View for my content on my Drupal 7 site. I successfully got it running when I chose "Grid" View for some content. I tried cloning the working one but i still get the same error. Can someone please help me?

thinkyhead’s picture

As a suggestion to avoid the collision, try changing the 'machine name' of your view. Is this a cloned view?

onenickdev’s picture

Yes this is a cloned view...And your suggestion to rename the machine name worked perfectly thank you. This is an issue for Views, hope it is corrected in the next release..

dawehner’s picture

Status: Postponed (maintainer needs more info) » Fixed

Well actually it should be possible to clone a view with the same name, maybe something happened really wrong.
Maybe one day someone finds a way to reproduce it, but now it's fixed.

Automatically closed -- issue fixed for 2 weeks with no activity.