묻고답하기
질문이 있습니다..ㅠ Fatal error 네요 ㅠㅠ
2011.12.30 20:04
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"> </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>
이 코드를 위 형광펜 칠해진곳 대신 넣었는데
에러뜨면서 안되네요 ㅠㅠ
도와주세요 ㅠㅠㅠ부탁드립니다.