Hi all,

i have almost no clue how I did this. I was playing with Views on http://www.station11.org in order to try to create a "BlogBlock" as I call it. When I created this view, I unchecked "Create a page" but I checked "Create a view" . Then I played with the options. (without saving)

I went to structure / block, and did not see the new view. So I went back to Views, and I saw that my BlockView was not here.

I created it again, tried to save it this time, and got the message:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'blogblock' for key 2: 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] => blogblock [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => default [:db_insert_placeholder_3] => node [:db_insert_placeholder_4] => BlogBlock2 [:db_insert_placeholder_5] => 7 ) in views_db_object->save_row() (line 1978 of /home/ff/public_html/sites/all/modules/views/includes/view.inc).

If I try to delete the view, I get the message

Notice: Undefined property: view::$export_type in ctools_export_ui->access() (line 128 of /home/ff/public_html/sites/all/modules/ctools/plugins/export_ui/ctools_export_ui.class.php).

This is for our fire department.
Any help would be really appreciated.

Thank you

Comments

simon templar’s picture

Status: Active » Closed (fixed)

This is what I did to fix the issue:

Drupal: Configuration / Performance / Clear all cache
Server: Restarted MySQL
Local: Cleared browser cache

Tried again, and it worked.

fabiorosabm’s picture

Subscribe. I have same problem, i cant delete, edit views online. Local network I dont have this problem.