What is Views telling me?

dddave - April 2, 2009 - 11:57

Sometimes when modifying a view I get a whitescreen with the following message:

{ "replace": { "#views-tab-default": "\x3cdiv class=\"clear-block views-display views-display-default\"\x3e\n \x3cdiv class=\"top\"\x3e\n \x3cdiv class=\"inside\"\x3e\n

I than have to go back to the view screen and the change has been made. There is no entry in the watchdog.

Is this a problem? A symptom for anything I should worry about?

It would help if you

nevets - April 2, 2009 - 13:56

It would help if you mentioned the version. It would also help if you explained in more detail what you where doing just before the white screen of death, modifying a view covers a lot of ground.

Sorry

dddave - April 3, 2009 - 12:10

D6.10
latest stable version of views

mysql 5.0.32
php 5.2.6

I can remember to be modifying a filter (user:role) and once a fieldsetting. In both cases already existing settings very modified and not made for the first time. During the processing the error occurs. I have then to go manually back to the view administration and can see that the change took place and I can than save the view. Everything works fine from then and as I mentionend nothing in the watchdog.

hmm...

jainrutgers - April 3, 2009 - 13:22

Are you getting that error for that particular changes (as you mentioned) or its generic. Try some different combination and see if you are still getting an error.

Chetan

Until now I did not receive

dddave - April 8, 2009 - 12:25

Until now I did not receive such a message again. But funny things happen:

I got a similiar incident on my local machine with Panels 2. Just a white screen with a single line of some code or something. This time it seemed to be some ajax stuff but I forgot to copy this.
I noticed that this happened when I manipulated a lot of different things on my panel without saving between the steps. After this incident I had to do one step after another and everything just worked fine.

Possibly this was also the case with my views problem......

Just as I said this...

dddave - April 8, 2009 - 14:00

I ran two times into this issue and noticed that for in my first post I cut the line way to early. The lines cover for each incident about 3,5 word-pages. I am hesitant to copy those here but if anybody wants to take a look.....

However if I manually go back to the views admin screen (not by using the back-icon of the browser which is FF3 by the way) the change (e.g. another view style) is in the settings and I just have to save the view. Nothing in the watchdog again.

By the way I just upgraded to Views 2.4 so the version has nothing to do with it.

Here we go:

dddave - April 10, 2009 - 11:41

{ "replace": { "#views-tab-default": "\x3cdiv class=\"clear-block views-display views-display-default\"\x3e\n      \x3cdiv class=\"top\"\x3e\n    \x3cdiv class=\"inside\"\x3e\n      \x3ca href=\"/de/help/views/display-default?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Default display\"\x3e\x3cspan\x3eHilfe\x3c/span\x3e\x3c/a\x3e      \x3cspan class=\"display-title\"\x3e\n        Standards      \x3c/span\x3e\n      \x3cspan class=\"display-description\"\x3e\n        Standardeinstellungen für diese Ansicht.      \x3c/span\x3e\n    \x3c/div\x3e\n  \x3c/div\x3e\n\n    \x3cdiv class=\"left tab-section\"\x3e\n    \x3cdiv class=\"inside\"\x3e\n                    \x3cdiv class=\"views-category\"\x3e\n          \x3cdiv class=\"views-category-title\"\x3eEinstellungen der Ansicht\x3c/div\x3e\n          \x3cdiv class=\"views-category-content\"\x3e\n            \x3cdiv class=\"\"\x3e\n              Kennzeichnung: \x3ca href=\"/de/admin/build/views/nojs/details/bulletins_general\" class=\"views-ajax-link\"\x3eBulltins\x3c/a\x3e            \x3c/div\x3e\n          \x3c/div\x3e\n        \x3c/div\x3e\n      \n              \x3cdiv class=\"views-category\"\x3e\n          \x3cdiv class=\"views-category-title views-category-basic\"\x3e\n            Basiseinstellungen          \x3c/div\x3e\n          \x3cdiv class=\"views-category-content\"\x3e\n                          \x3cdiv class=\"views-item-default-display-title\"\x3e\n                Name: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/display_title\" class=\"views-ajax-link \" title=\"Den Namen dieser Anzeige ändern.\"\x3eStandards\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-title\"\x3e\n                Titel: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/title\" class=\"views-ajax-link \" title=\"Den von dieser Anzeige verwendeten Titel ändern.\"\x3eKeine\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-style-plugin\"\x3e\n                \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/style_options\" class=\"views-ajax-link views-button-configure\" title=\"Einstellungen für dieses Design ändern\"\x3e\x3cspan\x3eEinstellungen für dieses Design ändern\x3c/span\x3e\x3c/a\x3eDesign: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/style_plugin\" class=\"views-ajax-link \" title=\"Das Design-Plugin ändern.\"\x3eTabelle\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-use-ajax\"\x3e\n                AJAX verwenden: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/use_ajax\" class=\"views-ajax-link \" title=\"Ändern, ob diese Anzeige AJAX verwenden soll oder nicht.\"\x3eNein\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-use-pager\"\x3e\n                Seitennavigation verwenden: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/use_pager\" class=\"views-ajax-link \" title=\"Die Seitennavigations-Einstellung dieser Anzeige ändern.\"\x3eMini\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-items-per-page\"\x3e\n                Beträge pro Seite: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/items_per_page\" class=\"views-ajax-link \" title=\"Die Anzahl der anzuzeigenden Beiträge ändern.\"\x3e100\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-use-more\"\x3e\n                ‚Weiter‘-Link: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/use_more\" class=\"views-ajax-link \" title=\"Festlegen, ob diese Anzeige einen „Weiter“-Link bereitstellt.\"\x3eNein\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-distinct\"\x3e\n                Eindeutig: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/distinct\" class=\"views-ajax-link \" title=\"Nur unterschiedliche Einträge ohne Duplikate anzeigen.\"\x3eNein\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-access\"\x3e\n                \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/access_options\" class=\"views-ajax-link views-button-configure\" title=\"Einstellungen für diesen Zugriffstyp ändern.\"\x3e\x3cspan\x3eEinstellungen für diesen Zugriffstyp ändern.\x3c/span\x3e\x3c/a\x3eZugriff: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/access\" class=\"views-ajax-link \" title=\"Den Zugriffskontrolltyp für diese Anzeige festlegen.\"\x3eInhalt lesen\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-exposed-block\"\x3e\n                Hervorgehobenes Formular in Block: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/exposed_block\" class=\"views-ajax-link \" title=\"Ermöglicht das Erscheinen des hervorgehobenen Formulars in einem Block anstatt der Ansicht.\"\x3eNein\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-header\"\x3e\n                Kopfbereich: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/header\" class=\"views-ajax-link \" title=\"Den kopfbereich dieser Anzeige ändern.\"\x3eKeine\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-footer\"\x3e\n                Fußzeile: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/footer\" class=\"views-ajax-link \" title=\"Den fußzeile dieser Anzeige ändern.\"\x3eKeine\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-empty\"\x3e\n                Leerer Text: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/empty\" class=\"views-ajax-link \" title=\"Den leerer text dieser Anzeige ändern.\"\x3eKeine\x3c/a\x3e              \x3c/div\x3e\n                          \x3cdiv class=\"views-item-default-analyze-theme\"\x3e\n                Theme: \x3ca href=\"/de/admin/build/views/nojs/display/bulletins_general/default/analyze-theme\" class=\"views-ajax-link \" title=\"Information abrufen, wie diese Anzeige dargestellt werden soll.\"\x3eInformation\x3c/a\x3e              \x3c/div\x3e\n                      \x3c/div\x3e\n        \x3c/div\x3e\n          \x3c/div\x3e\n  \x3c/div\x3e\n\n    \x3cdiv class=\"middle tab-section\"\x3e\n    \x3cdiv class=\"inside\"\x3e\n      \x3cdiv class=\"views-category\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/rearrange/bulletins_general/default/relationship\" class=\"views-button-rearrange views-ajax-link\" title=\"Umsortieren\"\x3e\x3cspan\x3eUmsortieren\x3c/span\x3e\x3c/a\x3e\x3ca href=\"/de/admin/build/views/nojs/add-item/bulletins_general/default/relationship\" class=\"views-button-add views-ajax-link\" title=\"Hinzufügen\"\x3e\x3cspan\x3eHinzufügen\x3c/span\x3e\x3c/a\x3e\x3cdiv class=\"views-category-title\"\x3e\n  \x3ca href=\"/de/help/views/relationship?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Relationships\"\x3e\x3cspan\x3eHilfe\x3c/span\x3e\x3c/a\x3e  \x3ca href=\"/de/admin/build/views/nojs/config-type/bulletins_general/default/relationship\" class=\"views-ajax-link\"\x3eBeziehungen\x3c/a\x3e\x3c/div\x3e\n\n\x3cdiv class=\"views-category-content\"\x3e\n      \x3cdiv\x3eNicht definiert\x3c/div\x3e\n  \x3c/div\x3e\n      \x3c/div\x3e\n      \x3cdiv class=\"views-category\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/rearrange/bulletins_general/default/argument\" class=\"views-button-rearrange views-ajax-link\" title=\"Umsortieren\"\x3e\x3cspan\x3eUmsortieren\x3c/span\x3e\x3c/a\x3e\x3ca href=\"/de/admin/build/views/nojs/add-item/bulletins_general/default/argument\" class=\"views-button-add views-ajax-link\" title=\"Hinzufügen\"\x3e\x3cspan\x3eHinzufügen\x3c/span\x3e\x3c/a\x3e\x3cdiv class=\"views-category-title\"\x3e\n  \x3ca href=\"/de/help/views/argument?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Arguments\"\x3e\x3cspan\x3eHilfe\x3c/span\x3e\x3c/a\x3e  \x3ca href=\"/de/admin/build/views/nojs/config-type/bulletins_general/default/argument\" class=\"views-ajax-link\"\x3eArgumente\x3c/a\x3e\x3c/div\x3e\n\n\x3cdiv class=\"views-category-content\"\x3e\n      \x3cdiv\x3eNicht definiert\x3c/div\x3e\n  \x3c/div\x3e\n      \x3c/div\x3e\n              \x3cdiv class=\"views-category\"\x3e\n          \x3ca href=\"/de/admin/build/views/nojs/rearrange/bulletins_general/default/field\" class=\"views-button-rearrange views-ajax-link\" title=\"Umsortieren\"\x3e\x3cspan\x3eUmsortieren\x3c/span\x3e\x3c/a\x3e\x3ca href=\"/de/admin/build/views/nojs/add-item/bulletins_general/default/field\" class=\"views-button-add views-ajax-link\" title=\"Hinzufügen\"\x3e\x3cspan\x3eHinzufügen\x3c/span\x3e\x3c/a\x3e\x3cdiv class=\"views-category-title\"\x3e\n  \x3ca href=\"/de/help/views/field?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Fields\"\x3e\x3cspan\x3eHilfe\x3c/span\x3e\x3c/a\x3e  \x3ca href=\"/de/admin/build/views/nojs/config-type/bulletins_general/default/field\" class=\"views-ajax-link\"\x3eFelder\x3c/a\x3e\x3c/div\x3e\n\n\x3cdiv class=\"views-category-content\"\x3e\n                  \x3cdiv class=\"views-item-default-field-title\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/title\" class=\"views-ajax-link\"\x3eNode: Titel\x3c/a\x3e              \x3c/div\x3e\n                \x3cdiv class=\"views-item-default-field-field-bb-onesentence-value\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/field_bb_onesentence_value\" class=\"views-ajax-link\"\x3eInhalt: One\x3c/a\x3e        Einfacher Text      \x3c/div\x3e\n                \x3cdiv class=\"views-item-default-field-field-bb-picture-fid\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/field_bb_picture_fid\" class=\"views-ajax-link\"\x3eInhalt: Benutzerbi\x3c/a\x3e        viewpic-long image linked to node      \x3c/div\x3e\n                \x3cdiv class=\"views-item-default-field-tid\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/tid\" class=\"views-ajax-link\"\x3eTaxonomie: Alle Begriffe\x3c/a\x3e              \x3c/div\x3e\n                \x3cdiv class=\"views-item-default-field-name\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/name\" class=\"views-ajax-link\"\x3eBenutzer: Name\x3c/a\x3e        Releaser      \x3c/div\x3e\n                \x3cdiv class=\"views-item-default-field-picture\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/picture\" class=\"views-ajax-link\"\x3eBenutzer: Benutzerbild\x3c/a\x3e        Benutzerbild      \x3c/div\x3e\n                \x3cdiv class=\"views-item-default-field-created\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/field/created\" class=\"views-ajax-link\"\x3eNode: Beitragsdatum\x3c/a\x3e        Beitragsdatum      \x3c/div\x3e\n      \x3c/div\x3e\n        \x3c/div\x3e\n          \x3c/div\x3e\n  \x3c/div\x3e\n\n    \x3cdiv class=\"right tab-section\"\x3e\n    \x3cdiv class=\"inside\"\x3e\n      \x3cdiv class=\"views-category\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/rearrange/bulletins_general/default/sort\" class=\"views-button-rearrange views-ajax-link\" title=\"Umsortieren\"\x3e\x3cspan\x3eUmsortieren\x3c/span\x3e\x3c/a\x3e\x3ca href=\"/de/admin/build/views/nojs/add-item/bulletins_general/default/sort\" class=\"views-button-add views-ajax-link\" title=\"Hinzufügen\"\x3e\x3cspan\x3eHinzufügen\x3c/span\x3e\x3c/a\x3e\x3cdiv class=\"views-category-title\"\x3e\n  \x3ca href=\"/de/help/views/sort?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Sorts\"\x3e\x3cspan\x3eHilfe\x3c/span\x3e\x3c/a\x3e  \x3ca href=\"/de/admin/build/views/nojs/config-type/bulletins_general/default/sort\" class=\"views-ajax-link\"\x3eSortierkriterium\x3c/a\x3e\x3c/div\x3e\n\n\x3cdiv class=\"views-category-content\"\x3e\n                  \x3cdiv class=\"views-item-default-sort-created\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/config-item/bulletins_general/default/sort/created\" class=\"views-ajax-link\"\x3eNode: Beitragsdatum\x3c/a\x3e        \x3cspan class=\"views-ascending\"\x3e\x3cspan\x3eabsteigend\x3c/span\x3e\x3c/span\x3e      \x3c/div\x3e\n      \x3c/div\x3e\n      \x3c/div\x3e\n      \x3cdiv class=\"views-category\"\x3e\n        \x3ca href=\"/de/admin/build/views/nojs/rearrange/bulletins_general/default/filter\" class=\"views-button-rearrange views-ajax-link\" title=\"Umsortieren\"\x3e\x3cspan\x3eUmsortieren\x3c/span\x3e\x3c/a\x3e\x3ca href=\"/de/admin/build/views/nojs/add-item/bulletins_general/default/filter\" class=\"views-button-add views-ajax-link\" title=\"Hinzufügen\"\x3e\x3cspan\x3eHinzufügen\x3c/span\x3e\x3c/a\x3e\x3cdiv class=\"views-category-title\"\x3e\n  \x3ca href=\"/de/help/views/filter?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Filters\"\x3e\x3cspan\x3eHilfe\x3c/span\x3e\x3c/a\x3e  \x3ca href=\"/de/admin/build/views/nojs/config-type/bulletins_general/default/filter\" class=\"views-ajax-link\"\x3eFilter\x3c/a\x3e\x3c/div\x3e\n\n\x3cdiv class=\"views-category-content\"\x3e\n                  \x3cdiv class=\"views-item-default-filter-type\"\x3e\n        \x3ca href=\"/de/admin
I cut it here because it goes on and on and on.

This is displayed as one line one a white screen. I rearanged the fields of a default view and clicked on the update button. When I go back onto the views admin screen (not via the browsers back-button) I can see that the changes are applied and I just have to save the view. No entries in watchdog.

The address of the whitescreen is:.....admin/build/views/ajax/rearrange/bulletins_general/default/field

What you're seeing is the

joachim - April 22, 2009 - 20:55

What you're seeing is the ajax stuff that drupal sends in response to a click. What *should* happen is that your browser doesn't reload, but uses that stuff to alter the page.
I've no idea why it would do that though.

Finally

dddave - April 23, 2009 - 06:07

Some clarifying input. So this might be a browserissue? It might be that I only experienced this behaviour with FF but I am not sure.....

Some jQuery in my custom

dhakimzadeh - April 17, 2009 - 20:34

Some jQuery in my custom theme seemed to be giving me the same error... all I did was switch to using an administration theme and now everything is back to normal...

Agaric Design Collective
http://agaric.com

mmh

dddave - April 18, 2009 - 21:18

I am using Garland for admin and Aquia Marina for the front end. Of course that could be some jquery hickups from anywhere but I am not experienced enough to sort that out...

I am experiencing the same

ligius - April 22, 2009 - 14:14

I am experiencing the same error with Drupal 6.10 and Views 6.x-2.5, this happens almost every time I try to change something on any view. I realized that after going back from the blank page with the error and refresh the view editing page, the change is actually done, so views are still working but with a lot pain.

No error logs reported. I am fiddling about deactivating panel modules, switching admin theme to garland, clearing cache but nothing yet. I have been days trying to figure out what is causing this error...

I am still getting this too

dddave - April 22, 2009 - 15:15

But not so often in the last time. However I am not able to detect a pattern and it occurs on my local install as well as on a remote install. Strange....

It is back

dddave - June 18, 2009 - 08:05

Didn't occurred for a week or so and now I am getting it again. Argh!

same problem too.. Are you

rayneta40 - June 24, 2009 - 06:53

same problem too..

Are you using Domain Access Module??

I just find out that if I am in subdomain, the problem will occur.

If I am in primary domain (say, www.example.com). When I edit Views, It works properly!!

No DAM

dddave - June 24, 2009 - 07:20

It is totally random. It occurs mostly at the start of a session and after some problems it is gone and everything works fine again. Really annoying but luckily not constantly.

I am also facing the same

johnvgross - July 6, 2009 - 11:44

I am also facing the same problem..
Is anybody find solution for that?

Any alternative way to add views to our site?

_

johnvgross - July 13, 2009 - 07:39

Its happened because of Jquery.
If I removed the Jquery then its working fine.

Can anyone find the solution by using Jquery along with Views.

Since views uses jQuery,

nevets - July 13, 2009 - 13:38

Since views uses jQuery, what do you mean by you removed "the jQuery"?

-

johnvgross - July 14, 2009 - 04:03

I include the seperate jquery js file on my theme page.tpl.php.
If I remove that file link or changed the theme, then its working...

If you are trying to use a

nevets - July 14, 2009 - 04:06

If you are trying to use a newer copy of jQuery than comes with Drupal 6.x you want to use the jQuery Update module which includes needed changes to core js files.

-

johnvgross - July 15, 2009 - 04:23

Thanks for your reply nevets.

Its working fine.

 
 

Drupal is a registered trademark of Dries Buytaert.