방문을 환영합니다.
한국어
단일배너

메인에 위젯 추가 시 서버 오류 

웹관리 2025.08.13 14:33 조회 수 : 3

메인에 위젯 추가하면은 서버 오류 발생 

https://gxdesignstudio.com 

레이아웃 : THE_포탈 

 

1. THE포탈_인기/최신/댓글 > OK
2. THE포탈_조회수/추천수/최신/댓글  > OK
3. THE포탈_포인트랭킹 

   서버 오류 Error #0 "Class 'Object' not found" in widgets/thePortal_Rpoint/thePortal_Rpoint.class.php on line 15
4. THE포탈_컨텐츠위젯 
   서버 오류 Error #0 "Class 'Object' not found" in widgets/thePortal_content/thePortal_content.class.php on line 774


답변 : https://gxdesignstudio.com/qna_rhymix/756

 

Q. 메인에 위젯 추가하면은 서버 오류
   Error #0 "Class 'Object' not found" in widgets/thePortal_content/thePortal_content.class.php on line 774
  서버 오류 Error #0 "Class 'Object' not found" in widgets/thePortal_Rpoint/thePortal_Rpoint.class.php on line 15

 

A. php7.2이상~ 사용자 버젼  클래스 네임 오류입니다. (*레이아웃 문제는 아니시고 xe코어  위젯연동 문제)
   아래대로 수정하세요.  
 아래 "2개의 파일수정"

 

1번 
/widgets/thePortal_content/thePortal_content.class.php

774번째 줄에 보시면 아래 원본코드를 -> 수정코드로 변경하세요.

 

원본 : class thePortal_contentItem extends Object
수정 : class thePortal_contentItem extends BaseObject

----------------------------------------------------------------------------------------------------------------
2번
widgets/thePortal_Rpoint/thePortal_Rpoint.class.php

15번째 줄에 보시면 아래 원본코드를 -> 수정코드로 변경하세요.

 

원본 : $point_output = new Object();

수정 : $point_output = new BaseObject();

 

Q. 사진과 같이 페이지 수정을 하는데 브라우저제목 더쿠판을 없앨려고 하는데 삭제가 안되네여

A. 해당 "타이틀"은 "서브페이지에서 활성화" 되며, 고객님이 "메인"설정을 아직 안하셔서 그렇습니다.
   아래 "메뉴얼"을 자세히고 설정하시면 비활성됩니다.
   (*아래 링크외에 다른메뉴얼도 읽고 적용하세요.) 
   http://simpleeye.ivyro.net/xe1710/theportal_manual_layoutGu