215 Posts
iliil
8 years ago
Topic

Hello

I have tried to update SEBLOD 3.9.0  on one of my websites and and I'm  getting a blank front page with this error

0 - Class 'CCK' not found.

As mantioned in 3.9.0 changelog, CCK  is one of the removed classes so I guess there is something still using this class on my website. 

Now I have absolutelly no idea how to find the script (plugin or template ) using this deprecated class in order to fix this issue.

Would you perhaps give me some advice what to do in such as situation...

Thank you in advance

Michal

Get a Book for SEBLOD
1283 Posts
Bucklash
8 years ago
4
Level 1

Hi

I would turn off all of my content types, so that you get a page that renders, then turn a content type on one by one until you get the error. 

When you find the content type look for the likely field by removing one by one until it renders again....

Bucklash

215 Posts
iliil
8 years ago
3
Level 2

Thanks Bucklash for your answer.

Unfortunatelly no luck. I disabled all my content types, lists and SEBLOD modules and still, the page only renderes when the manu item has anything to do with seblod or joomla articles (e.g. newsFeed, Contact etc.). If I disable  all the SEBLOD plugins as well , the error message changes to Class 'plgCCK_Storage_LocationJoomla_Article' not found ..... as this location plugin is disabled.

I also tried to search the occurence of  "CCK::" and simlar directly in the script files, but also no luck.

Please help if you can

Thanks

Michal


8 years ago
2
Level 3

Hello Michal,

I would search for a template override: /[your-site-template]/html/com_cck/... or for an old SEBLOD template (config.php? index.php?)

Regards,
Saba

215 Posts
iliil
8 years ago
1
Level 4

Thanks Saba!

Yes, it was  my custom templates. I didn't look at confing files.

So, I guess

	$user     =   CCK::getUser();

should be replaced by

	$user     =   JCck::getUser();

right?

Thanks again.

Michal

8 years ago
0
Level 5

That's right!

Saba

Get a VIP membership