오랫동안 라이믹스(1.9.9.5 버전까지)쓰다가 2.0 버전이 나왔길래 업그레이드 했더니 관리자페이지 나 일부 페이지 이동시 오류가 떠서 새로 설치했더니...

 

object(PDOException)#140 (8) { ["message":protected]=> string(37) "SQLSTATE[HY000]: General error: 2050 " ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "HY000" ["file":protected]=> string(49) "/home/jgy1590/html/rhymix/common/framework/db.php" ["line":protected]=> int(484) ["trace":"Exception":private]=> array(10) { [0]=> array(6) { ["file"]=> string(49) "/home/jgy1590/html/rhymix/common/framework/db.php" ["line"]=> int(484) ["function"]=> string(11) "fetchObject" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [1]=> array(6) { ["file"]=> string(49) "/home/jgy1590/html/rhymix/common/framework/db.php" ["line"]=> int(342) ["function"]=> string(6) "_fetch" ["class"]=> string(19) "Rhymix\Framework\DB" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(Rhymix\Framework\Helpers\DBStmtHelper)#147 (2) { ["_type":protected]=> string(6) "master" ["queryString"]=> string(59) "SELECT * FROM `rx_sites` AS `sites` ORDER BY `site_srl` ASC" } [1]=> int(0) [2]=> string(5) "array" } } [2]=> array(6) { ["file"]=> string(43) "/home/jgy1590/html/rhymix/common/legacy.php" ["line"]=> int(160) ["function"]=> string(12) "executeQuery" ["class"]=> string(19) "Rhymix\Framework\DB" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(15) "module.getSites" [1]=> array(0) { } [2]=> array(0) { } [3]=> string(5) "array" } } [3]=> array(4) { ["file"]=> string(57) "/home/jgy1590/html/rhymix/modules/module/module.class.php" ["line"]=> int(232) ["function"]=> string(17) "executeQueryArray" ["args"]=> array(1) { [0]=> string(15) "module.getSites" } } [4]=> array(6) { ["file"]=> string(57) "/home/jgy1590/html/rhymix/modules/module/module.class.php" ["line"]=> int(128) ["function"]=> string(14) "migrateDomains" ["class"]=> string(6) "module" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(6) { ["file"]=> string(64) "/home/jgy1590/html/rhymix/modules/install/install.controller.php" ["line"]=> int(475) ["function"]=> string(12) "moduleUpdate" ["class"]=> string(6) "module" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [6]=> array(6) { ["file"]=> string(64) "/home/jgy1590/html/rhymix/modules/install/install.controller.php" ["line"]=> int(230) ["function"]=> string(23) "installDownloadedModule" ["class"]=> string(17) "installController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(63) "/home/jgy1590/html/rhymix/classes/module/ModuleObject.class.php" ["line"]=> int(687) ["function"]=> string(11) "procInstall" ["class"]=> string(17) "installController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [8]=> array(6) { ["file"]=> string(64) "/home/jgy1590/html/rhymix/classes/module/ModuleHandler.class.php" ["line"]=> int(646) ["function"]=> string(4) "proc" ["class"]=> string(12) "ModuleObject" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [9]=> array(6) { ["file"]=> string(35) "/home/jgy1590/html/rhymix/index.php" ["line"]=> int(52) ["function"]=> string(10) "procModule" ["class"]=> string(13) "ModuleHandler" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(2050) [2]=> string(0) "" } }

 

이런식으로 오류코드만 뜨고 설치가 정상적으로 진행되지 않습니다. 혹시 원인을 아시는분 답변 부탁드릴게요

 

제 호스팅 계정 서버 환경 입니다.

app : Apache
xe_version : 1.11.6
php : 7.0.33
db_type : mysqli
use_rewrite : Y
use_db_session : N
use_ssl : none
phpext : core, libxml, openssl, sqlite3, zlib, bz2, calendar, curl, ftp, gettext, gmp, iconv, pcntl, readline, shmop, simplexml, mbstring, xml, cgi-fcgi, bcmath, fileinfo, gd, imagick, exif, mcrypt, mysqli, mysqlnd, pdo_mysql, pdo_sqlite, phar, soap, sockets, xmlreader, xmlwriter, zip, ioncube loader
module : adminlogging(1.7), board(1.7.2), imageprocess(2.6.6), krzip(1.9.0), seo(1.9.0), zzz_menu_new(1.7.0)
addon : addon_insert_video(0.1), adminlogging(1.7), captcha_member(1.7), oembed(1.0)
layout : xedition(1.9), gyj_layout(1.0), gyj_layout_v2(2.0), user_layout(1.7)
widget : counter_status(1.7)
widgetstyle : simple(1.7)
max_file_uploads : 20
post_max_size : 100M
memory_limit : 256M

  • profile
    저도 같은 증상으로 원인을 찾고 있습니다.
  • profile

    https://github.com/rhymix/rhymix-docs/blob/master/ko/introduction/changes-2.0.md

    업데이트시 호환성 고려가 필요한 부분
    서버에 PDO 확장모듈이 설치되어 있어야 합니다. mysqli 함수는 더이상 사용하지 않습니다. 라라벨, 코드이그나이터 등 대부분의 프레임워크가 PDO를 기본으로 사용하기 때문에, 절대 다수의 국내외 웹호스팅 업체들은 PDO를 이미 지원합니다. PDO가 별도의 패키지로 분리되어 있는 CentOS 사용자분들만 조심하시면 됩니다.

    호스팅사에 이부분 확인해보셔야 할 것 같은데요.

  • profile

    에러메시지를 보니 PDO는 설치되어 있는 것 같고요.. (웹호스팅이면 99.9% 설치되어 있습니다)

    General error 2050 이 부분이 문제인 것 같은데...

     

    더 궁금한 것은 저 오류가 왜 저렇게 마치 var_dump를 해놓은 것처럼 뜨냐는 것입니다.

    문맥을 보면 오류가 뜨더라도 무시되어야 하는 상황인 것 같거든요.

  • profile

    의심가는 부분을 패치했으니 라이믹스 develop 버전으로 다시 시도해 보시기 바랍니다.

  • profile profile

    일단 develop 버전으로 다시 설치해보았는데... 설치까지는 되고
    관리자페이지에 들어가니 제가 아까 질문때 보던 오류메세지만 송출되고 안들어가지네요...

    아래 오류메시지 입니다.

     

    화면 캡처 2020-12-26 193508.png

  • profile profile
    뭔가 에러처리 방식이 다른 서버와는 다른 것 같은데요...

    https://github.com/rhymix/rhymix/commit/c700de4
    이 부분 추가패치 적용해 보시기 바랍니다.
  • profile profile
    에고 자꾸 대댓글 질문을 하게 되어 죄송합니다

    해당 패치를 해본 결과

    서버 오류
    Error #0 "Call to a member function getNickName() on integer" in modules/admin/tpl/_dashboard_default.html on line 58
    common/framework/debug.php:679

    이라고 다른 오류 구문으로 뜨네요.
  • profile profile

    거기까지도 오류가 난다면 전체적으로 쿼리 실행이 안 되고 있는 것 같으니 서버 환경의 문제라고 봐야겠습니다. 제가 직접 해당 호스팅 업체에 계정을 파서 테스트해보지 않는 한, 더이상 세부적인 디테일만 제보받는 것은 무의미할 것 같네요.

  • profile profile
    네 답변 감사드립니다.
    라믹 2.0은 포기해야겠네요..
  • profile profile

    저도 똑같은 증상인데 해결하셨나요?
    새로운 마음으로 xe쓰다 호스팅 신규개설하고 라이믹스로 갈아타려고 한건데 이거 시작부터 가슴이 답답합니다.
    2.0.4 -> 2.0.2 해도 계속 같은 오류.
    1.9는 괜찮은가요?

  • profile profile
    1.9버전은 작동은 합니다만...
    2.0도 작동은 되는데 관리자 페이지에서 오류가 나서 사용이 힘들더군요..
  • profile
    라이믹스만 설치하면 문제 없는데
    라이믹스에 기타 모듈 넣고 설치하면 저는 항상 실패 하던데요