Home
Contact us
Sitemap
제품소개
다운로드
기술지원
구입안내
고객안내
Nmail PHP
Nmail PHP
Nmail NET
Nmail ASP
기술지원안내
FAQ
Q&A
사용자팁
Nmail PHP
공지사항
고객&파트너
기술지원안내
FAQ
Q&A 게시판
사용자 팁
Home
> Support
> Q&A
>
Nmail PHP
Nmail PHP Q&A
※
기술문의
는
자세한 상황
을 적어주셔야 하며,
구입문의
는
전화
나
메일
로 부탁드립니다.
글쓴이
제목
<p class="a" style="MARGIN-RIGHT: 11pt">아래 설정 확인해보시거나 아파치에 php모듈이 정상적으로 로드되어있지를 확인해보시기 바랍니다.</p><p class="a" style="MARGIN-RIGHT: 11pt"><span lang="EN-US"><br></span></p><p class="a" style="MARGIN-RIGHT: 11pt"><span lang="EN-US">vi /<span class="SpellE">etc</span>/php.ini</span></p><p class="a" style="MARGIN-RIGHT: 11pt"><span class="SpellE"><span lang="EN-US">short_open_tag</span></span><span lang="EN-US"> = <span style="COLOR: red">On</span></span></p><br><br><br> -------------------- Original message --------------------<br> <style>P, UL, LI { margin: 0px 0px 0px 0px; }</style> 덕분에 설치는 정상적으로 완료되었습니다.<div><br></div><div>헌데 설치 후에 브라우저로 접근을 해보았더니 정상적으로 출력이 되지 않고, 아래 코드만 출력 되고 있습니다.</div><div><br></div><div><span style="font-family: " medium;"="" gothic";="" malgun="">초기화면"; if ($G_SYS[DB] == 'oracle') { $db_substr = 'SUBSTR'; } else { $db_substr = 'SUBSTRING'; } // if() // data // [2006-07-25] 기본 설정 $dfcon = get_default_config($AUTH['auth_m_no']); // 받은편지함 읽은/읽지않은 메일수 get_mail_box(); $mail_unread_cnt = 0; for ($i=0; $i</span><sizeof($g_sys['user_mail_box']); style="font-family: " mf_arrival_date="" ($_time-(86400*round(pow(2.5,$i)))));="" h:i:s',="" $_date="date('Y-m-d" $_time="time();" $i<="4;" $_mf_cnt_prev="0;" 위함.="" 보완하기="" 문제를="" 성능상의="" 못하는="" 사용하지="" 역인덱스를="" 에서="" 3="" mysql="" $new_mail_box_name[]="$G_SYS['USER_MAIL_BOX'][$i]['mb_name'];" $new_mail_box[$mb])="" $i<sizeof($g_sys['user_mail_box']);="" mb_name="" get="" $mb++)="" $mb<sizeof($new_mail_box);="" ($mb="0;" $nm_cnt="array();" $nm="array();" mf_".$auth['auth_d_no']."_".$auth['auth_m_mail_file_group']."_mf_arrival_date)="" .$auth['auth_m_mf_table']."="" 수정.="" 문제="" 안되던="" 제대로="" 정렬이="" 날짜="" [2006-09-14]="" .$new_mail_limit."'="" 'oracle')="" ($g_sys[db]="=" $q_stopkey="" ;="" $new_mail_box_tmp[]="$new_mail_box[$i];" !="spam" ($new_mail_box[$i]="" $i<sizeof($new_mail_box);="" $new_mail_box_tmp="array();" ($g_sys['spam_check_skip'])="" false)="" (기본="" 기능.="" 생략하는="" 편지함을="" 필터="" 스팸="" [2007-01-31]="" $dfcon['m_cfg_new_mail_box']);="" $new_mail_box="explode('|'," 'spam');="" #$new_mail_box="array('inbox'," $debug['get_new_mail_list']['start']="getmicrotime();" 갯수.="" $new_mail_limit="$dfcon['m_cfg_new_cnt'];" 가져옴.="" 메일만="" 않은="" 읽지="" 날짜순으로="" 받은="" 최근="" 메일="" 새로운="" 6);="" 5,="" $nt_view[$i]['nt_regdate']="substr($nt[$i]['nt_regdate']," 60);="" $nt_view[$i]['nt_subject']="han_substr_view($nt[$i]['nt_subject']," $i<sizeof($nt);="" ($i="0;" for="" $nt_view="array();" $new_notice_limit);="" 0,="" $nt="db_get_rows($sql," ";="" desc="" nt_no="" by="" order="" auth_d_no']="" d_no="" $tb['notice']="" $sql=" SELECT nt_no, nt_subject, nt_regdate FROM " 수.="" 가져올="" $new_notice_limit="5;" 공지사항="" $m_pop3_cnt="number_format(db_get_one($q));" .$tb['pop3']."="" $m_auto_filter_cnt="number_format(db_get_one($q));" .$tb['auto_filter']."="" $m_spam_reject_cnt="number_format(db_get_one($q));" .$tb['spam_reject']."="" $m_spam_allow_cnt="number_format(db_get_one($q));" .$tb['spam_allow']."="" 환경설정="" [2008-03-25]="" $m_webhard_quota_rate="@ceil($ms_webhard" ($webhard_free_size="" $ms_webhard;="" $webhard_free_size="$m_webhard_quota" $ms_webhard_view="filesize_human($ms_webhard);" $ms_webhard="$mbr_size['ms_webhard'];" $m_webhard_quota_view="filesize_human($m_webhard_quota," $m_webhard_quota="$mbr['m_webhard_quota'];" 웹하드="" $m_bigfile_quota_rate="@ceil($ms_bigfile" 0)="" <="" ($bigfile_free_size="" $ms_bigfile;="" $bigfile_free_size="$m_bigfile_quota" $ms_bigfile_view="filesize_human($ms_bigfile);" $ms_bigfile="$mbr_size['ms_bigfile'];" $m_bigfile_quota_view="filesize_human($m_bigfile_quota," $m_bigfile_quota="$mbr['m_bigfile_quota'];" $mbr_size="db_get_row($q);" auth_m_no']."'";="" .$tb['member_size']."="" $q="SELECT ms_bigfile, ms_webhard FROM " 용량="" 대용량첨부="" [2008-03-24]="" 100);="" ($mbr['m_quota']*1024)="" $m_quota_rate="ceil($mf_filesize_sum" $mf_filesize_view="filesize_human($mf_filesize_sum);" $debug['db_mf_size']['start'];="" -="" +="getmicrotime()" $debug['db_mf_size']['exec']="" sum(mf_filesize)="" ".$q_hint."="" $mf_filesize_sum="db_get_one(" "";="" *="" mf_".$auth['auth_d_no']."_".$auth['auth_m_mail_file_group']."_mno_mbid)="" (".$auth['auth_m_mf_table']."="" index_asc="" ordered="" *+="" ?="" )="" =="oracle" $q_hint="($G_SYS[DB]" $debug['db_mf_size']['start']="getmicrotime();" 1);="" $m_quota_view="filesize_human($mbr['m_quota']*1024," "'");="" $tb['member']="" m_webhard_quota="" m_bigfile_quota,="" m_autoreply_isuse,="" m_forwarding_type,="" m_quota,="" $mbr="db_get_row(" 사용용량="" ");="" mb_id="inbox" and="" "'="" auth_m_no']="" m_no="" where="" $auth['auth_m_mf_table']="" .="" "="" from="" count(*)="" $mail_all_cnt="db_get_one(" for()="" if()="" }="" break;="" $mail_unread_cnt="number_format($G_SYS['USER_MAIL_BOX'][$i]['mf_cnt']);" 'inbox')="" ($g_sys['user_mail_box'][$i]['mb_id']="=" if="" {="" $i++)="" medium;"="" gothic";="" malgun="" $auth["="" select"="">= '".$_date."' AND mf_is_read='N' "; $_mf_cnt = db_get_one($sql); // [2007-01-04] 읽지 않은 메일이 있는데도 일정 기간이전의 데이타를 못 가져오는 오류 수정. /* if ($_mf_cnt_prev > 0 && $_mf_cnt_prev == $_mf_cnt) { break; } else */ if ($_mf_cnt >= $new_mail_limit) { $q_stopkey = " AND mf_arrival_date >= '".$_date."' "; break; } else { // [2008-06-25] 읽지 않은 메일이 있는데도 일정 기간이전의 데이타를 못 가져오는 오류 수정. - 2 $q_stopkey = ''; } // if() //$_mf_cnt_prev = $_mf_cnt; } // for() } // if() $sql = "SELECT $q_hint mf_no, mf_from, mf_subject, mf_arrival_date FROM ".$AUTH['auth_m_mf_table']." $q_index WHERE m_no='". $AUTH['auth_m_no'] . "' AND mb_id='".$new_mail_box[$mb]."' " . $q_stopkey . " AND mf_is_read='N' ORDER BY mf_arrival_date DESC"; $nm[$mb] = db_get_rows($sql, 0, $new_mail_limit); $nm_cnt[$mb] = sizeof($nm[$mb]); for ($i=0; $i<$nm_cnt[$mb]; $i++) { $nm[$mb][$i]['mf_subject'] = (trim($nm[$mb][$i]['mf_subject']) == NULL) ? '__제목없음__' : htmlspecialchars_fix(han_substr_view($nm[$mb][$i]['mf_subject'],70)); $_addr = mime_address_parse($nm[$mb][$i]['mf_from']); $nm[$mb][$i]['mf_from'] = htmlspecialchars_fix(han_substr_view($_addr['display'], 20)); $nm[$mb][$i]['mf_arrival_date'] = get_short_date($nm[$mb][$i]['mf_arrival_date']); } // for() } // for() $DEBUG['get_new_mail_list']['exec'] += getmicrotime() - $DEBUG['get_new_mail_list']['start']; // [2008-08-19] 2.5 이전 버젼의 스킨에서 호환성 보장 include('index_compat.inc.php'); // skin view nskinset('main', 'index.html'); include($NSKIN['view_layout']); require_once('include/global_end.php'); ?></sizeof($g_sys['user_mail_box']);></div><div><font face="Malgun Gothic" size="3"><br></font></div><div><font face="Malgun Gothic" size="3">해결책이 있을까요?<br></font><br><br> -------------------- Original message --------------------<br> <style>P, UL, LI { margin: 0px 0px 0px 0px; }</style> <div>아래 보내주신 내용상에는 아래 두가지 에러가 보입니다.</div><div><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: 굴림; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;">[nativecode=1067 ** Invalid default value for 'di_startdate']</span></div><div><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: 굴림; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"> mysql에 컴파일 설치하셨으면 아래 환경설정을 적용해보시기 바랍니다.</span></div><div><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: 굴림; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"> my.cnf</span></div><div><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: 굴림; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"> [mysqld]<br> sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"<br> =><br> sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"<br></span></div><div><span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 0, 0); font-family: 굴림; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;">[nativecode=1146 ** Table 'nmail2.nmail_domain' doesn't exist]</span><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div> 해당 메시지는 이미 테이블이 생성되어있다는 내용입니다.</div><div><br></div><div>추가적으로 엔메일 DB는 해당 sql파일에 내용으로 생성됩니다.</div><div>???/nmail2/tools/nmail2.sql<br></div><br><br> -------------------- Original message --------------------<br> <style>P, UL, LI { margin: 0px 0px 0px 0px; }</style> <p>※ 필수입력정보 ※</p> <br> <p>▷ 제품버젼 : nmail php 3.0</p> <p>▷ 오류발생 메뉴/주소 : </p> <p>▷ 에러메세지 : </p> <br> <p>▷ 질문내용 : </p><p><span style="font-size: 10pt;">Ubuntu 16.04, Mysql 5.7, PHP 5.6, Apache 2.4 로 구성되어있는 서버에 nmail 설치 테스트 진행중입니다.</span></p><p>apm 구성 후, 설치를 진행하던 도중에 하기와 같은 오류가 출력되면서 설치가 중단됩니다.</p><p>==============================================================================</p><p>= [19] 엔메일 디비 데이타를 설치파일로부터 가져옵니다.</p><p>==============================================================================</p><p>DB dump file 을 import 하고 있습니다.</p><p>서버사양에 따라 5~10분정도 걸릴 수 도 있으니 완료메세지가 나올때까지 기다려 주십시오.</p><p>회원테이블(nmail_member)이 없으므로 테이블 생성 작업을 시작합니다.</p><p><br></p><p>[Nmail Error - ERROR]</p><p>Message : DB Error: unknown error, Source : /home/nmail2/tools/install_db_import.php ( 89 line ), Return messages :</p><p><br></p><p># --------------------------------------------------------</p><p><br></p><p>#</p><p># 테이블 구조 nmail_diary</p><p>#</p><p><br></p><p>CREATE TABLE nmail_diary (</p><p> di_no bigint(20) unsigned NOT NULL auto_increment,</p><p> m_no int(10) unsigned NOT NULL default '0',</p><p> di_kind tinyint(3) unsigned NOT NULL default '0',</p><p> di_subject varchar(255) NOT NULL default '',</p><p> di_startdate date NOT NULL default '0000-00-00',</p><p> di_starttime time default NULL,</p><p> di_enddate date NOT NULL default '0000-00-00',</p><p> di_endtime time default NULL,</p><p> di_isallday enum('Y','N') NOT NULL default 'N',</p><p> di_repeat enum('N','M','Y','L') NOT NULL default 'N',</p><p> di_content text,</p><p> di_regdate datetime NOT NULL default '1000-01-01 00:00:00',</p><p> di_modifydate datetime default NULL,</p><p> PRIMARY KEY (di_no),</p><p> KEY m_no (m_no,di_kind,di_startdate,di_enddate)</p><p>) [nativecode=1067 ** Invalid default value for 'di_startdate']</p><p><br></p><p>==============================================================================</p><p>= [20] 엔메일 기본 도메인을 추가합니다.</p><p>==============================================================================</p><p><br></p><p>[경고] 엔메일 설치작업이 중단되었습니다.</p><p> 아래 문구를 확인하셔서 조치후 설치프로그램을 다시 실행하시면 됩니다.</p><p>=></p><p>[Nmail Error - ERROR]</p><p>Message : DB Error: no such table, Source : /home/nmail2/tools/domain_add.php ( 29 line ), Return messages :</p><p> SELECT</p><p> COUNT(*)</p><p> FROM</p><p> nmail_domain</p><p> WHERE</p><p> d_name='hannubi.com'</p><p> [nativecode=1146 ** Table 'nmail2.nmail_domain' doesn't exist]</p><div><br></div><div>'nmail2' DB를 지우고 재 설치를 진행해보아도 되지 않는군요.</div><div><br></div><div>원인 파악이 가능할까요?</div></div>
비밀번호
패스코리아넷
경남 창원시 마산회원구 내서읍 중리상곡로 129, 한성빌딩 701호
메일 문의 :
nmail@passkorea.net
I 전화 : 1544-1608 I 팩스 : 055-231-2069
사업자 등록번호 : 608-25-32288 I 대표자 : 빈경윤