Error loading component com.cck,1

Premium sports magazine Joomla template with clean, easy to customize and unique design.
GK User
Tue May 29, 2012 10:21 am
Hi,
Whenever i try to add an article from frontend i get the error as written in the subject. I login as author, Textfilters are set to no filtering.
I have also tryed to login as admin - same error.
I recieve a message and the erticle is there but it is not that pretty to have an error message when trying to add articles.
Joomla version 2.5.4 - allshould be updated.
What could be the problem?
Thanks
User avatar
Senior Boarder

GK User
Tue May 29, 2012 11:09 am
Remove Seblod function if you are not using Seblod CCK Component.

Find file: modules\mod_news_pro_gk4\gk_classes\gk_utils.php
Find & Remove Lines 17 to 27 which is below.
Code: Select all
      // solved problem from: https://www.gavick.com/support/forums/47/12309.html?p=57464#p57464
      $cck_path = JPATH_BASE . DS . 'components' . DS . 'com_cck';
      if (file_exists($cck_path)) {
         if(JComponentHelper::isEnabled('com_cck', true)){
            // Force parsing plugin if SEBLOD is used
            if($this->config['parse_plugins'] == FALSE) {
                $text = JHtml::_('content.prepare', $text);
            }
            $text = trim(substr(strip_tags( $text,"<br /><br><strong></strong><p></p><i></i><b></b><span></span><ul></ul><li></li><blockquote></blockquote>"),0));
         }
      }

See you around...
User avatar
Platinum Boarder

GK User
Wed May 30, 2012 5:51 am
Hi,
Thanks - it worked. Problem solved.
Thanks.
User avatar
Senior Boarder

GK User
Thu Jun 21, 2012 6:42 am
No problem at all, see you around...
User avatar
Platinum Boarder


cron