Fatal 에러 질문좀여 ㅠㅠ

천인지존
2011년 12월 30일

Fatal error: Call to a member function getEditor() on a non-object in /home/gonkorea/public_html/classes/template/TemplateHandler.class.php(280) : eval()'d code on line 19


이렇게 뜹니다ㅠㅠㅠ


 <fieldset>
                <legend>{$lang->cmd_planet_add_article}</legend>
                <dl>
                    <dt>{$lang->content}</dt>
                    <dd>
                        <textarea id="writePost_content" name="content" rows="" cols="" onkeyup="planetPreview(this);"></textarea>
                    </dd>
                    <dt>{$lang->planet_postscript}</dt>
                    <dd><input type="text" name="about_postscript" value="{$lang->msg_planet_about_postscript}" class="inputText" readonly="readonly" onfocus="toggleWriteFormHelp(this)" onclick="toggleWriteFormHelp(this)" /><input name="postscript"  type="text" class="inputText" value="" style="display:none; "/></dd>
                    <dt>{$lang->tag}</dt>
                    <dd><input type="text" name="about_tag" value="{$lang->msg_planet_about_tag}" class="inputText" readonly="readonly" onfocus="toggleWriteFormHelp(this)" onclick="toggleWriteFormHelp(this)" /><input name="content_tag"  type="text" class="inputText" value="" style="display:none; "/></dd>
                    <dd id="preview" class="preview off">
                    <!--// class="preview" | class="preview off" -->
                        <p id="preview_text">&nbsp;</p>
                    </dd>
                </dl>
                <div class="writeOptions">
                    <p><input id="btn_preview" name="" onclick="togglePreview()" type="checkbox" value="" checked="checked" /><label for="btn_preview">{$lang->planet_article_preview}</label></p>
                    <!--@if($module_info->use_me2day =='Y' && $myplanet->getMe2dayUID())-->
                    <p><input name="me2day_autopush" type="checkbox" value="Y" <!--@if($myplanet->getMe2dayAuthPush())-->checked="checked"<!--@end--> id="me2day_autopush" /><label for="me2day_autopush">{$lang->cmd_send_me2day}</label></p>
                    <!--@end-->
                </div>
                <button type="submit"><span>{$lang->cmd_planet_post_article}</span></button>
            </fieldset>


이게 xe 플래닛 write.include 입니다

여기 content 부분에 첨부를 넣기위해서

에디터를 삽입시켰는데요 ㅠㅠ


<div class="write_editor"> {$oDocument->getEditor()} </div>


이 코드를 위 형광펜 칠해진곳 대신 넣었는데


에러뜨면서 안되네요 ㅠㅠ


도와주세요 ㅠㅠㅠ부탁드립니다.
 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기
  • Profile
    2011 년 12 월 31 일 (11:45)

    <div class="write_editor"  id="writePost_content" name="content" onkeyup="planetPreview(this);"> {$oDocument->getEditor()} </div>

     

    이렇게 넣어봐도 안되던가요? 혹시나 ^^;

    답변 달기