11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


사진관리 추천) piwigo update error / 업데이트 에러 대응 및 초기 설치 설정 관련 정보

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문


    사진관리 추천) piwigo update error / 업데이트 에러 대응 및 초기 설치 설정 관련 정보

    3232235521_1527684722.7512.png

    piwigo update error  업데이트 에러 대응 및 초기 설치 설정 관련 정보

    저는 시놀로지  web 폴더에 piwigo를 설치 사용 중 이며 시놀로지 photo station 보다 안정된 piwigo를 사용 합니다 

    초기 설정 방법및  최종 sw 업데이트 진행 하니 문제 발생 합니다

    3232235521_1527679182.7253.png

    Warning: strftime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 49 Warning: strftime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 49 Warning: strftime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 49


    Warning: strftime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 49


    Warning: strtotime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/functions.inc.php on line 415 Warning: strtotime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/page_tail.php on line 48 Warning: strtotime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/page_tail.php on line 48 Warning: strftime(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php on line 49


    Warning: date(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/common.inc.php on line 141 Warning: date(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now. in /volume1/web/piwigo/include/common.inc.php on line 141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Invalid date.timezone value 'Lastest SynoErr', we selected the timezone 'UTC' for now.' in /volume1/web/piwigo/include/functions.inc.php:628 Stack trace: #0 /volume1/web/piwigo/include/functions.inc.php(628): DateTime->__construct() #1 /volume1/web/piwigo/include/functions.inc.php(649): str2DateTime('2017-05-07 22:3...', NULL) #2 /volume1/web/piwigo/picture.php(894): format_date('2017-05-07 22:3...') #3 {main} thrown in /volume1/web/piwigo/include/functions.inc.php on line 628


    수정1) timezone  error 수정

    //수정1) timezone  error 수정

    date_default_timezone_set('Asia/Seoul');

    // timezone error 수정   w:\piwigo\include\config_default.inc.php의 2번째 에  add /추가 합니다


    3232235521_1527682152.1699.png

    화면은 정상으로 

    3232235521_1527680483.7029.png

    수정2 ) 시놀로지 나스에서 썸네일만 되게 수정

      //수정2 ) 시놀로지 나스에서 썸네일만 되게 수정

          //$library = $conf['graphics_library'];

      // org

       $library = $conf['graphics_library']='gd';

      // 시놀로지 나스에서 썸네일만 되게  w:\piwigo\admin\include\image.class.php  360 line 수정 [ ='gd' 추가 ]

      // (업데이트해도 변경 안됨)

    3232235521_1527681991.6966.png

    수정2)piwigo 에서 한글 파일/폴더명 인식시키기

    $conf['sync_chars_regex'] = '/[\x{1100}-\x{11FF}\x{3130}-\x{318F}\x{AC00}-\x{D7AF}0-9a-zA-Z]+/u';

    // piwigo 에서 한글 파일/폴더명 인식시키기 /include/config_default.inc.php 의 파일 798 라인에 추가 .

    // (업데이트해도 변경 안됨)

    3232235521_1527681878.5854.png

    수정3) 한글 파일 인식 오류 해결하기1

    // 수정3) 한글 파일 인식 오류 해결하기1 번째  33라인 위치 아래 함수 추가

    function getbasename($path) {

    $pattern = (strncasecmp(PHP_OS, 'WIN', 3) ? '/([^\/]+)[\/]*$/' : '/([^\/\\\\]+)[\/\\\\]*$/');

    if (preg_match($pattern, $path, $matches))

        return $matches[1];

    return '';

    }

    //한글 파일 인식 오류 해결하기1 ./admin/site_update.php 의 파일에서...function getbasename($path) 함수를 적당한 33 라인 위치에 추가한다.

    3232235521_1527682711.5796.png


    수정4) 한글 파일 인식 오류 해결하기2

    . //수정4) 한글 파일 인식 오류 해결하기2 basename를 getbasename로 변경 get 추가변경   

       //$dir = basename($fulldir);

       // org

    $dir = getbasename($fulldir);

    //한글 파일 인식 오류 해결하기1 ./admin/site_update.php 의 파일에서 찾기를 바꾸기로  basename를 getbasename로 변경 get 추가변경  .

    3232235521_1527683216.9796.png

       //수정4) 한글 파일 인식 오류 해결하기2 basename를 getbasename로 변경 get 추가변경   

        //$dir = basename($fulldir);

        // org

    //한글 파일 인식 오류 해결하기1 ./admin/site_update.php 의 파일에서 찾기를 바꾸기로  basename를 getbasename로 변경 get 추가변경  .

    $filename = getbasename($path);

    3232235521_1527683348.0282.png


    수정5). piwigo에서 원치않는 폴더 @eaDir 업로드 방지 
        // 수정5). piwigo에서 원치않는 폴더 @eaDir 업로드 방지

      '@eaDir',

          //piwigo에서 원치않는 폴더 @eaDir 업로드 방지 _파일 경로 : piwigo/admin/include/functions.php 

         //569라인에 $conf['sync_exclude_folders'], 추가 

    3232235521_1527683936.5188.png

    수정 내용 ) 타이틀 항목 수정

    3232235521_1527684435.403.png

    3232235521_1527684401.5357.png


    사용방법 ) 사진 을 ftp로 업데이트  또는 자동으로 스마트폰  사진을 sync 동기화 합니다

    w:\piwigo\galleries\ 폴더에 업데이트 합니다

    3232235521_1527684553.9028.png


    폴더 만들고 사진 업데이트  동기화 에러 발생

    Warning: opendir(./galleries/ftp_up_lock2/piwigo_photo_all_mount/photo_lock/1_photo_사진첩/smart_phone_camera/smartphone_20170828): failed to open dir: Permission denied in /volume1/web/piwigo/admin/include/functions.php on line 624 Warning: opendir(./galleries/ftp_up_lock2/piwigo_photo_all_mount/photo_lock/1_photo_사진첩/smart_phone_camera/smartphone_20170723): failed to open dir: Permission denied in /volume1/web/piwigo/admin/include/functions.php on line 624 Warning: opendir(./galleries/ftp_up_lock2/piwigo_photo_all_mount/photo_lock/1_photo_사진첩/smart_phone_camera/smartphone_20170828): failed to open dir: Permission denied in /volume1/web/piwigo/admin/site_reader_local.php on line 85 Warning: opendir(./galleries/ftp_up_lock2/piwigo_photo_all_mount/photo_lock/1_photo_사진첩/smart_phone_camera/smartphone_20170723): failed to open dir: Permission denied in /volume1/web/piwigo/admin/site_reader_local.php on line 85


    3232235521_1527685462.5562.png

    폴더를 권한설정을 해야 합니다.

    chmod 777 -R piwigo

    3232235521_1527685696.9616.png


    3232235521_1527685751.1683.png

    ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,753 / 60 Page
    [ Docker 기본 디렉토리를 변경하는 방법 ]

    Docker 디렉토리를 변경하는 방법정보출처https://bobcares.com/blog/how-to-change-docker-directory…

    [ CoreElec - entware 설치 linux debian 작업 ] 댓글 1

    CoreElec - entwarehttps://tvch.tistory.com/Entware 란 무엇이며 설치 / 제거 방법은 무엇입니까?핵심ad…

    [ 스마트폰 사진 갤러리 사진보기 파일 다중선택 공유하기 ]

    pc로 사진 전송하는 방법으로 네이버 메모가 유용합니다스마트폰 사진 갤러리 사진보기 파일 다중선택 (길게누르면 선택가응)공유하기를 네이버 메모로…

    [ ★ Portainer 설치 및 설정 (Docker Web UI 관리툴) Docker를 사용하여 Portain… ] 댓글 3

    Docker를 사용하여 Portainer 설치 실행 설정 작업https://siane.tistory.com/296기존 돌아다니는 설명글은 por…

    [ 실패)Portainer 설치 및 설정 (Docker Web UI 관리툴) u5pvr 설치 작업 ]

    Portainer 설치 및 설정 (Docker Web UI 관리툴) u5pvr 설치 작업putty이 ssh 접속 아래 명령을 입력 합니다dock…

    [ coreelec에서 실행중인 docker 컨테이너 환경변수 recordings 저장 경로 변경 ] 댓글 1

    coreelec에서 실행중인 docker 컨테이너 환경변수recordings 저장 경로변경도커의 저장 경로는 컨테이너 볼륨으로 설정 설치 하였습…

    [ CoreELEC IR remote LGUplus 4k 전면부 리모컨 스캔 scan code 값 설정 ] 댓글 8

    CoreELEC IR remote LGUplus 4k 전면부 리모컨 스캔 scan code 값 설정모든 키를 아래와 같이 정의 합니다전면부 bt…

    [ U+리모컨 BT 리매핑 방법 및 keymapping 저장 위치 lguplus ] 댓글 10

    U+리모컨 BT 리매핑 방법 및 keymapping 저장 위치U+리모컨 리매핑 방법https://cafe.naver.com/mk802/32947…

    [ CoreElec의 부팅에서 cec가 작동하지 않습니다 ] 댓글 2

    CoreElec의 부팅에서 cec가 작동하지 않습니다1.정보 출처https://discourse.coreelec.org/t/8-95-5-cec…

    [ U5pvr 메모리상태점검 ]

    U5pvr 메모리상태점검df -hroot@AOL-Debian:~# df -hFilesystem Size Used Avail Use% Mount…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-03 09:27:56

    오늘의 홈 현황


    • 현재 접속자♨ 585 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 11 명
    • 오늘 방문자 1,381 명
    • 어제 방문자 2,290 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,356,916 명
    • 전체 게시물※ 8,616 개
    • 전체 댓글수※ 24,681 개
    • 전체 회원수 11,008 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑