Results 1 to 10 of 451

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: News & Article Management

    Warning: Missing argument 1 for FCKeditor::__construct(), called in /admin/news.php on line 368 and defined in /admin/includes/fckeditor_php5.php on line 42
    Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /admin/news.php on line 370

    I'm getting this error with the FCK editor. I can see that few others already posted about it too so maybe there'll be a solution. ;)

  2. #2
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: News & Article Management

    Quote Originally Posted by Asdesign View Post
    Warning: Missing argument 1 for FCKeditor::__construct(), called in /admin/news.php on line 368 and defined in /admin/includes/fckeditor_php5.php on line 42
    Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /admin/news.php on line 370

    I'm getting this error with the FCK editor. I can see that few others already posted about it too so maybe there'll be a solution. ;)
    Is a wrong calling FKCEDITOR
    For me 1.3.8 a FKCEDITOR 2.5 works
    change after line 364

    PHP Code:
                // News Article Headline, Summary, & Content input
                //    • HTML Editors support for summary input
                
    if (HTML_EDITOR_PREFERENCE == 'FCKEDITOR') {
                    echo 
    '<td class="dataTableContent" align="left" colspan="4">';
                    
    $oFCKeditor = new FCKeditor('news_article_shorttext[' $lang['id'] . ']') ;
                    
    $oFCKeditor->Width  '100%' ;
                    
    $oFCKeditor->Height '130' ;
                    
    $oFCKeditor->Create() ;
                    echo 
    '</td>';
                } elseif (
    HTML_EDITOR_PREFERENCE == 'HTMLAREA') {
                    echo 
    '<td class="dataTableContent" align="left" colspan="4">' zen_draw_textarea_field('news_article_shorttext[' $lang['id'] . ']''soft''70''10', (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id$lang['id'])), 'style="width: 100%"') . '</td>';
                } else {
                    echo 
    '<td class="dataTableContent" align="left" colspan="4">' zen_draw_textarea_field('news_article_shorttext[' $lang['id'] . ']''soft''70''5', (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id$lang['id'])), 'style="width: 100%"') . '</td>';
                }

                echo
                                
    '<td class="dataTableContent" align="left">&nbsp;</td>' .
                            
    '</tr>' .
                            
    '<tr class="dataTableRow">' .
                                
    '<td class="dataTableContent" align="left" valign="top">' TEXT_NEWS_CONTENT '<br /><a href="javascript:preview(\'news_article_text[' $lang['id'] . ']\');"><em>' TEXT_NEWS_CONTENT_PREVIEW '</em></a></td>';

                
    // News Article Headline, Summary, & Content input
                //    • HTML Editors support for content input
                
    if (HTML_EDITOR_PREFERENCE == 'FCKEDITOR') {
                    echo 
    '<td class="dataTableContent" align="left" colspan="4">';
                    
    $oFCKeditor = new FCKeditor('$news_article_text[' $lang['id'] . ']') ;
                    
    $oFCKeditor->Value news_get_news_article_text($nInfo->article_id$lang['id']);
                    
    $oFCKeditor->Width  '100%' ;
                    
    $oFCKeditor->Height '250' ;
                    
    $oFCKeditor->Create() ;
                            echo 
    '</td>'

 

 

Similar Threads

  1. News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 May 2008, 03:27 PM
  2. Regarding News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 May 2008, 05:27 PM
  3. News & Article Management- couple small problems
    By chufty bill in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Oct 2006, 09:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg