Extra Form
PHP PHP 7.2
CMS Rhymix 2.1

1. 홈화면 - 모바일 - 페이지수정 - "모바일 콘텐츠 위젯" 추가했을때 아무 내용이 출력되지 않습니다.

 

2.png

 

3.png

 

 

2. http log, php log는 내용이 없습니다.

아래 debug 화면(모바일 수정 페이지) 나오는 내용은 php7.2.34 버전이라 나오는 것으로 이해하고 있어 관련은 없는 듯 합니다만 모르겠습니다.

 

4.png

 

 

3. 위젯 추가 작업시(코드생성 시 ) 나오는 debug 내용은 mcontent 내용은 없고(보통은 관련 widget 명이 나오던데), modules/widget/tpl/ 의 html 파일들 내용이 나옵니다. 

 

01. Deprecated: idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated
common/framework/URL.php:246
common/framework/URL.php:42
classes/context/Context.class.php:1649
common/legacy.php:349
modules/rss/rss.model.php:12
modules/rss/rss.controller.php:30
classes/module/ModuleHandler.class.php:1351
classes/module/ModuleHandler.class.php:1000
index.php:60
02. Notice: Undefined property: stdClass::$type
modules/widget/tpl/widget_generate_code_in_page.html:24
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
03. Notice: Undefined property: stdClass::$not_first
modules/widget/tpl/widget_generate_code.include.html:43
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
04. Notice: Undefined property: stdClass::$group
modules/widget/tpl/widget_generate_code.include.html:44 (×18)
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
05. Notice: Undefined index: thumbnail
modules/widget/tpl/widget_generate_code.include.html:79
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
06. Notice: Undefined property: stdClass::$default_options
modules/widget/tpl/widget_generate_code.include.html:79 (×2)
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
07. Notice: Undefined index: content
modules/widget/tpl/widget_generate_code.include.html:79
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
08. Notice: Undefined property: stdClass::$default_options
modules/widget/tpl/widget_generate_code.include.html:87 (×3)
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
09. Notice: Undefined index: thumbnail
modules/widget/tpl/widget_generate_code.include.html:87
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
10. Notice: Undefined index: content
modules/widget/tpl/widget_generate_code.include.html:87
common/framework/Template.php:465
common/framework/Template.php:369
modules/widget/tpl/widget_generate_code_in_page.html:52
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:98
classes/display/DisplayHandler.class.php:67
classes/module/ModuleHandler.class.php:1222
index.php:60
11. Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated
common/framework/URL.php:210
common/tpl/common_layout.html:66
common/framework/Template.php:465
common/framework/Template.php:369
classes/display/HTMLDisplayHandler.php:304
classes/display/DisplayHandler.class.php:85
classes/module/ModuleHandler.class.php:1222
index.php:60

 

 

4. 해당 html들 내용을 봐도 어떻게 수정해야 될지 감이 잡히지 않습니다.( xetown 검색, 구글링해봐도 관련 내용은 찾을 수 없었어요)

이번 라이믹스 업그레드 이후 많은 Notice Errors를 잡고 있는데, 보통은 관련 third party 위젯,모듈,애드온 명이 debug 상에 나오던데 html 내용이 나오는 건 잘 못보았던터라 해당 문제와 어떤 관련이 있는 지 쉽게 파악이 되지 않습니다만 아직 실력이 많이 부족하여 추측만 하고 있습니다.

 

<div class="x">
<div class="x_modal-header">
<h1>{$widget_info->title} {$lang->cmd_generate_code}</h1>
</div>
<div id="content" class="x_modal-body">
<p>{$widget_info->description} {$lang->about_widget_code_in_page}</p>
<form cond="$type=='faceoff'" class="x_form-horizontal">
<input type="hidden" name="module" value="widget" />
<input type="hidden" name="type" value="faceoff" />
<input type="hidden" name="act" value="dispWidgetGenerateCodeInPage" />
<input type="hidden" name="error_return_url" value="" />
<div class="x_control-group">
<label for="selected_widget" class="x_control-label">
{$lang->widget}
</label>
<div class="x_controls">
<select name="selected_widget" id="selected_widget" style="margin:0">
<option loop="$widget_list => $list_widget_info" value="{$list_widget_info->widget}">{$list_widget_info->title}</option>
</select>
<input type="submit" value="{$lang->cmd_select}" class="x_btn" />
</div>
</div>
</form>
<form class="x_form-horizontal" action="/" method="post" id="fo_widget">
<input type="hidden" name="module" value="widget" />
<input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="widget_sequence" value="" />
<input type="hidden" name="style" value="float:left;width:100%;margin:none;padding:none;" />
<input type="hidden" name="widget_padding_left" value="" />
<input type="hidden" name="widget_padding_right" value="" />
<input type="hidden" name="widget_padding_top" value="" />
<input type="hidden" name="widget_padding_bottom" value="" />
<input type="hidden" name="selected_widget" value="{$widget_info->widget}" />

<include target="widget_generate_code.include.html" />

 

 

 

{@$suggestion_id = 0}
<block loop="$widget_info->extra_var => $id, $var">
{@$suggestion_id++}
<block cond="!$not_first && !$var->group"><section class="extra_vars section"></block>
<block cond="$group != $var->group">
<block cond="$not_first"></section></block>
<section class="extra_vars section">
<h1>{$var->group}</h1>
{@$group = $var->group}
</block>

{@$not_first = true}
<div class="x_control-group <!--@if($var->type == 'mid' || $var->type == 'module_srl_list')-->moduleSearch moduleSearch1 modulefinder<!--@end-->">
<label class="x_control-label" for="{$id}"|cond="$var->type != 'radio' && $var->type != 'checkbox'">{$var->name}</label>
<div class="x_controls">
<block cond="$var->type == 'text'">
<input type="text" name="{$id}" />
</block>
<block cond="$var->type == 'color'">
<input type="text" name="{$id}" value="" id="{$id}" class="rx-spectrum" style="width:178px" />
</block>
<block cond="$var->type == 'textarea'">
<textarea cond="$var->type == 'textarea'" name="{$id}" id="{$id}" rows="8" cols="42"></textarea>
</block>
<block cond="$var->type == 'select'">
<select name="{$id}" id="{$id}">
<option loop="$var->options => $key, $val" value="{$key}">{$val}</option>
</select>
</block>
<block cond="$var->type == 'select-multi-order'">
<!--@if($var->init_options && is_array($var->init_options))-->
{@$inits = array_keys($var->init_options)}
<input type="hidden" name="{$id}" value="{implode(',', $inits)}" />
<!--@else-->
<input type="hidden" name="{$id}" value="" />
<!--@end-->
<div style="display:inline-block;padding-top:3px">
<label>{$lang->display_no}</label>
<select class="multiorder_show" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px">
<option loop="$var->options => $key, $val" cond="!$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option>
</select>
<br>
<button type="button" class="x_btn multiorder_add" style="vertical-align:top">{$lang->cmd_insert}</button>
</div>
<div style="display:inline-block;padding-top:3px">
<label>{$lang->display_yes}</label>
<select class="multiorder_selected" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px">
<option loop="$var->options => $key, $val" cond="$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option>
</select>
<br>
<button type="button" class="x_btn multiorder_up" style="margin:0 -5px 0 0;border-radius:2px 0 0 2px">{$lang->cmd_move_up}</button>
<button type="button" class="x_btn multiorder_down" style="margin:0 -5px 0 0;border-radius:0">{$lang->cmd_move_down}</button>
<button type="button" class="x_btn multiorder_del" style="border-radius:0 2px 2px 0">{$lang->cmd_delete}</button>
</div>
<script>
xe.registerApp(new xe.MultiOrderManager('{$id}'));
</script>
</block>

 

5. 예전엔 문제없이 잘 나왔는데 가끔씩 하던 작업이라 라이믹스 어느 버전부터 이랬는지는 아직 확인은 못하였습니다.(정 안되면 백업본으로 하나씩 되돌아가서 확인해봐야하나 싶기도 합니다.)

 

어떻게 해결해야 될지 도움 부탁드립니다.