First I give the "View Name" with a View Type of Node, then click Next. Everything's ok so far.

When I mouse down on "Add Display" for a Page, I get an alert box that reads:

"An error occurred while attempting to process
/admin/structure/views/ajax/add-display/results: Cannot call
method 'bind' of undefined"

I have no idea how this happened. I haven't knowingly changed any settings or configuration and it was just working fine.

any suggestions on what I should look at? What is undefined?

Comments

bojanz’s picture

Status: Active » Fixed

Update to 7.x-3.x-dev. alpha1 is way too buggy.
Reopen this issue if you stil encounter problems.

plaverty’s picture

Status: Fixed » Active
StatusFileSize
new35.98 KB

Ok, I did. Still the same error. I also had this earlier, which made me upgrade to the alpha you saw above. But I just upgraded to the dev, and I still have the same error. I attached my Views activated, so you can confirm that I'm running the version you suggested.

Thank you for looking at this.

plaverty’s picture

Hmm, I'm checking the Resources loaded with the Chrome developer tools and there's no mention of jQuery. It appears that isn't getting loaded. How in the world could that have broken? I'm guessing this is bigger than a Views problem...

bojanz’s picture

Definitely, otherwise we'd have a thousand already-open issues about it.
Using a different admin theme? Installed any strange modules? Dunno what could be causing it.

plaverty’s picture

Status: Active » Closed (fixed)
borazslo’s picture

I have the same error. :(
- using the recent dev
- and the theme called seven

erasoft’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active

I have the same error... I make a new site it's just at localhost but got the same error when I clicking on anykind of field display in the view editor for changing and at some other point... "An error occurred while attempting to process /system/ajax: Cannot call method 'bind' of undefined"
I'm not absolutely sure it's misstake of view and not Drupal core...
I use the latest version and don't know how could I step over this error...
I built 5 view without any error and the last one brought this 'good' :))) I have serious trouble with view since that....
It's very bad because my site is gone 98%... and would like to give out :P

I worked for some days with it without any error message...
But now I can't edit any view on my site :P
I think it may couldn't work with an other modul.... Or I don't know...

Plus... When I set Ajax or some useable possibility in the view editor it's absolutely crash and I got a text page example this:

[{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"2NNGKMpVk15SFS2C_Ufdm2BJ4geTMAqsYQU8k6s72gI","css":[]},"lightbox2":{"rtl":0,"file_path":"\/(\\w\\w\/)public:\/","default_image":"\/sites\/all\/modules\/lightbox2\/images\/brokenimage.jpg","border_size":10,"font_color":"000","box_color":"fff","top_position":"","overlay_opacity":"0.9","overlay_color":"000","disable_close_click":1,"resize_sequence":0,"resize_speed":400,"fade_in_speed":400,"slide_down_speed":600,"use_alt_layout":0,"disable_resize":0,"disable_zoom":0,"force_show_nav":0,"show_caption":1,"loop_items":1,"node_link_text":"View Image Details","node_link_target":0,"image_count":"Image !current of !total","video_count":"Video !current of !total","page_count":"Page !current of !total","lite_press_x_close":"press \u003ca href=\"#\" onclick=\"hideLightbox(); return FALSE;\"\u003e\u003ckbd\u003ex\u003c\/kbd\u003e\u003c\/a\u003e to close","download_link_text":"Download Original","enable_login":false,"enable_contact":false,"keys_close":"c x 27","keys_previous":"p 37","keys_next":"n 39","keys_zoom":"z","keys_play_pause":"32","display_image_size":"","image_node_sizes":"()","trigger_lightbox_classes":"","trigger_lightbox_group_classes":"","trigger_slideshow_classes":"","trigger_lightframe_classes":"","trigger_lightframe_group_classes":"","custom_class_handler":0,"custom_trigger_classes":"","disable_for_gallery_lists":1,"disable_for_acidfree_gallery_lists":true,"enable_acidfree_videos":true,"slideshow_interval":5000,"slideshow_automatic_start":1,"slideshow_automatic_exit":1,"show_play_pause":1,"pause_on_next_click":0,"pause_on_previous_click":1,"loop_slides":1,"iframe_width":600,"iframe_height":400,"iframe_border":1,"enable_video":0},"nice_menus_options":{"delay":"0","speed":"fast"}},"merge":true},{"command":"viewsSetForm","output":"\u003cform action=\"\/admin\/structure\/views\/ajax\/display\/video_view\/default\/use_ajax\" method=\"post\" id=\"views-ui-edit-display-form\" accept-charset=\"UTF-8\"\u003e\u003cdiv\u003e\u003cdiv class=\"scroll form-wrapper\" id=\"edit-options\"\u003e\u003cdiv class=\"description form-item\"\u003eIf set, this view will use an AJAX mechanism for paging, table sorting and exposed filters. This means the entire page will not refresh. It is not recommended that you use this if this view is the main content of the page as it will prevent deep linking to specific pages, but it is very useful for side content.\u003c\/div\u003e\u003cdiv id=\"edit-use-ajax\" class=\"form-radios\"\u003e\u003cdiv class=\"form-item form-type-radio form-item-use-ajax\"\u003e\n \u003cinput type=\"radio\" id=\"edit-use-ajax-1\" name=\"use_ajax\" value=\"1\" checked=\"checked\" class=\"form-radio\" \/\u003e \u003clabel class=\"option\" for=\"edit-use-ajax-1\"\u003eYes \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-radio form-item-use-ajax\"\u003e\n \u003cinput type=\"radio\" id=\"edit-use-ajax-0\" name=\"use_ajax\" value=\"0\" class=\"form-radio\" \/\u003e \u003clabel class=\"option\" for=\"edit-use-ajax-0\"\u003eNo \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e\u003cdiv class=\"clearfix\"\u003e\u003cdiv class=\"form-buttons\"\u003e\u003cinput type=\"submit\" id=\"edit-submit\" name=\"op\" value=\"Apply\" class=\"form-submit\" \/\u003e\u003cinput type=\"submit\" id=\"edit-cancel\" name=\"op\" value=\"Cancel\" class=\"form-submit\" \/\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cinput type=\"hidden\" name=\"form_build_id\" value=\"form-vyY49AWhUxvbLTISGhfbxYIVdEUSyBDtHY71vbqGjCk\" \/\u003e\n\u003cinput type=\"hidden\" name=\"form_token\" value=\"AknRl2xuhcOf7N5OlLUh_rC2L2RayN2rQInd02nv0_I\" \/\u003e\n\u003cinput type=\"hidden\" name=\"form_id\" value=\"views_ui_edit_display_form\" \/\u003e\n\u003c\/div\u003e\u003c\/form\u003e","title":"Master: Use AJAX when available to load this view","url":"http:\/\/localhost\/admin\/structure\/views\/ajax\/display\/video_view\/default\/use_ajax"}]

astutonet’s picture

Title: Can't create a new display » Can't create and edit displays

Hi.

I think this is a big problem with ajax.

When editing my views, I'm getting this error message:

An error occurred while attempting to process http://localhost/drupal/admin/structure/views/ajax/config-item/Internals... 'ajax.form.ajaxSubmit' is not a function

My Drupal is 7.9, views 7.x-3.x-dev, released on 2011-nov-22. The browser in question, is Opera 11.52. I also tested with IE, which had the same fails.

Because of this, I can not edit views.

Tks

astutonet’s picture

Version: 7.x-3.0-alpha1 » 7.x-3.x-dev
astutonet’s picture

Category: support » bug

I think this is a bug report, because the tool don't works as expected.

Any ideas?

Tks.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

The interface works for a lot of people, so there might be something else wrong on your site...

Do you maybe run something like securesite?
Alternative you could also check whether you use some updated javascript libraries.

I have no idea when this error could happen.

astutonet’s picture

StatusFileSize
new133.1 KB
new103.29 KB

After registration of the above information, the views module has been updated several times. The javascript libraries are recent. However, problems still remain: there is no way alter or add new views.

The attached image-01 represents the problem when creating a new view. The image-02 represents the problem when changing an existing view.

I performed some research on similar problems. The only information I found is related to errors occurring with the submission forms and errors with ajax (http://drupal.org/node/850612).

If confirmed the problem, the question is old and covers the core of Drupal. It happens that the developers gave priority to solving the problem for the version of the D8, which is not official, instead of solving in the current version.

It happens that only the views module is presenting this problem.

Do you can help me?

Tks

dawehner’s picture

Status: Postponed (maintainer needs more info) » Fixed

Please be fair and close all issues which you created when a problem is solved.

Update status based on #1380370: Error 'ajax.form.ajaxSubmit' is not a function

Status: Fixed » Closed (fixed)

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