I used features to get my feature (inclusive ds settings) into a second site.
And now I'm stuck with this gigantic error code in this second site: you're trying to set the ds_fields_cached to an impressive string size that goes over some MySQL length setting: it's ONE error message - see attachment (172 Kb), couldn't paste it into description box.
| Comment | File | Size | Author |
|---|---|---|---|
| ds error.txt | 165.91 KB | Wimmmmm |
Comments
Comment #1
swentel commentedWhere the hell does this stuff come from ?
i:1;i:0;b:0;i:1;b:0;i:2;b:0;i:3;b:0;i:4;b:0;i:5;b:0;i:6;b:0;i:7;b:0;i:8;b:0;i:9;b:0;i:10;b:0;i:11;b:0;i:12;b:0;i:13;b:0;i:14;b:0;i:15;b:0;i:16;b:0;i:17;b:0;i:18;b:0;i:19;b:0;i:20;b:0;i:21;b:0;i:22;b:0;i:23;b:0;i:24;b:0;i:25;b:0;i:26;b:0
;i:27;b:0;i:28;b:0;i:29;b:0;i:30;b:0;i:31;b:0;i:32;b:0;i:33;b:0;i:34;b:0;i:35;b:0;i:36;b:0;i:37;b:0;i:38;b:0;i:39;b:0;i:40;b:0;i:41;b:0;i:42;b:0;i:43;b:0;i:44;b:0;i:45;b:0;i:46;b:0;i:47;b:0;i:48;b:0;i:49;b:0;i:50;b:0;i:51;b:0;i
:52;b:0;i:53;b:0;i:54;b:0;i:55;b:0;i:56;b:0;i:57;b:0;i:58;b:0;i:59;b:0;i:60;b:0;i:61;b:0;i:62;b:0;i:63;b:0;i:64;b:0;i:65;b:0;i:66;b:0;i:67;b:0;i:68;b:0;i:69;b:0;i:70;b:0;i:71;b:0;i:72;b:0;i:73;b:0;i:74;b:0;i:75;b:0;i:76;b:0;i:
77;b:0;i:78;b:0;i:79;b:0;i:80;b:0;i:81;b:0;i:82;b:0;i:83;b:0;i:84;b:0;i:85;b:0;i:86;b:0;i:87;b:0;i:88;b:0;i:89;b:0;i:90;b:0;i:91;b:0;i:92;b:0;i:93;b:0;i:94;b:0;i:95;b:0;i:96;b:0;i:97;b:0;i:98;b:0;i:99;b:0;i:100;b:0;i:101;b:0
;i:102;b:0;i:103;b:0;i:104;b:0;i:105;b:0;i:106;b:0;i:107;b:0;i:108;b:0;i:109;b:0;i:110;b:0;i:111;b:0;i:112;b:0;i:113;b:0;i:114;b:0;i:115;b:0;i:116;b:0;i:117;b:0;i:118;b:0;i:119;b:0;i:120;b:0;i:121;b:0;i:122;b:0;i:123;b:0;i
:124;b:0;i:125;b:0;i:126;b:0;i:127;b:0;i:128;b:0;i:129;b:0;i:130;b:0;i:131;b:0;i:132;b:0;i:133;b:0;i:134;b:0;i:135;b:0;i:136;b:0;i:137;b:0;i:138;b:0;i:139;b:0;i:140;b:0;i:141;b:0;i:142;b:0;i:143;b:0;i:144;b:0;i:145;b:0;
i:146;b:0;i:147;b:0;i:148;b:0;i:149;b:0;i:150;b:0;i:151;b:0;i:152;b:0;i:153;b:0;i:154;b: .....
that's not something we add to widget settings - so there seems to be something horribly wrong in your database with cck and the image settings
Edit check the content_node_field_instance table to see what's in the widget_settings field for that imagefield, if all those i:0 etc are in there, than it's not a bug for DS (which 99% it won't be anyway)
Comment #2
Wimmmmm commentedThanks for pointing towards content_node_field_instance!
I found the faulty record, removed the i:0; etc garbage, cleaned cache & now all works much better!
Thanks!
Wimmmmm
Comment #3
Wimmmmm commentedComment #4
Wimmmmm commentedYo swentel,
I'm reopening this one, since it's not solved yet... and I think ds has *something* to do with it.
I observe this behavior:
1. I look into content_node_field_instance, and I see this data for my image field:
widget_settings:
display_settings:
2. When I go to Display suite & modify e.g. the full node Beeld settings (I apply a CSS class "naar_rechts" instead of "naar_links"), then I get this updated widget_settings:
widget_settings is now
so it basically ate all of my settings in this case.
And my image is *not aligning* anywhere I wanted, css class is not applied.
3. I go to ds again, save again, and...
widget_settings
has become longer now!!
So I have 2 problems at the same time:
1. sometimes (not always) changes in ds cause the widget_settings to be deleted
2. mostly changes in ds cause the widget_settings to grow longer - thus eventually leading to the enormous error file as first mentioned.
What can I provide to help you further seek this problem?
Changes to other fields nicely apply, it's just the image field going mad here.
Comment #5
Wimmmmm commentedEr zit een patroon in:
1. eerste keer komt er 1 var bij 15->16
2. daarna 2 vars 16->18
3. daarna 4: 18->22
4. daarna 8
5. daarna 16
Lijkt toch wel echt op iets dat onderweg fout loopt...
(Maybe non-related: I have features turned on)
Dit is de goeie, standaard setting voor mijn beeld:
widget_settings:
Niks aangepast; gewoon bewaard in ds: (Full Node)
Nog eens bewaard: (Full Node)
Nog bewaard: (Home large)
Nog bewaard: (Ful node; volgorde beeld veranderd, geen andere settings gewijzigd)
Nog bewaard: (Home Large; beeld van volgorde veranderd)
And so it explodes...
Comment #6
Wimmmmm commentedComment #7
Wimmmmm commentedFYI:
the display_settings field
Is it normal to see
s:22:"Beeld_HomeLarge_linked";s:9:"css-class";a:1:{s:11:"naar_rechts";s:11:"naar_rechts";}an array of 1 element, with two elements in it?
Comment #8
swentel commentedHmm interesting, I'll recheck - it's ND CCK definitely - I'll recheck this afternoon
Comment #9
swentel commentedOk, there is no way I can't reproduce this so far. Can you try this:
Disable DS (or exclude that content type from the build modes) and go to the 'old' manage fields display screen from CCK
If the same is still happens, then it's either content_field_instance_update() from CCK which bugs or something in your version of imagefield.
If it's not happening anymore, then I'll need your laptop since I'm out of ideas.
Comment #10
Wimmmmm commentedI'll bring my laptop to Kopenhagen - I'll let you see & play with it.
Updated today to all latest versions, still the same.
Yo,
Wim
Comment #11
swentel commentedAlright, closing for now since this is really your laptop alone, but I'll have a look in CPH.