248 Posts
Giuse
8 years ago
Topic

Hi, after upgrade to Seblod 3.9.0, the SD Concat field on my site does not work anymore with error Class 'CCK_Dev' not found

Probably a consequence of the cleaning of 3.9.0? How can we patch it before an official fix?

thanks a lot


Giuse

Get a Book for SEBLOD
215 Posts
iliil
8 years ago
3
Level 1

Hi Giuse

I don't use this field, but try to replace CCK_Dev by JCckDev. If the new JCckDev class has the same methods, it should work

Example

the code:

$options2   =   CCK_Dev::fromJSON( $this->item->options2 );

replace by:

$options2   =   JCckDev::fromJSON( $this->item->options2 );

Good luck

Michal

248 Posts
Giuse
8 years ago
1
Level 2

Thanks Michal!. It works, for other users that use the "SD Concat field", you have to modify just one file "templ\edit.php". I don't know if store admin can update the plugin to let it compatible with Seblod 3.9.0.

By the way, Michal, you are using other plugin equivalent to that plugin?

cheers


Giuse

215 Posts
iliil
8 years ago
0
Level 3

Hi Giuse

I'm sure  SD Concat field is a good solution. I got used to SEBLOD's before store plugin.  where you can modify fields values before the content is stored.

Cheers

Michal

8 years ago
0
Level 2

Thank you Michal, 

Can you please provide the full patht of the file to modify?

310 Posts
ricco
8 years ago
1
Level 1

Hi motombo, the full path is: public_html/plugins/cck_field/sd_field_concat/tmpl/edit.php

Regards,

ricco

8 years ago
0
Level 2

Thank you ricco, I did the change but the field still not working. I am getting the message. "Oops! Try to close the page & re-open it properly." when I choose SD concat 

251 Posts
Viktor Iwan
8 years ago
0
Level 1

hope simon still with us..  is he?  i heard he taken different 'journey'

Get a Book for SEBLOD