![[파이썬]쿠팡파트너스 워드프레스 자동 포스팅 수정](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fy8Znt%2FbtrUE6roJTl%2FILtmKaKIlMxhvGzmTXlbx0%2Fimg.png)
어느날부터 자동포스팅이 되지 않아 확인해보니 아래와 같이 에러를 뿜뿜 strIsFreeShipping = bool(productdata[i]['isFreeShipping']) KeyError: 'isFreeShipping' 디버깅해보니 isFreeShipping정보가 사라짐. 관련 내용은 모두 주석처리함. strIsFreeShipping = bool(productdata[i]['isFreeShipping']) if strIsFreeShipping == True: strIFFreeship = '배송비는 무료이며,' else: strIFFreeship = '배송비는 아래 배송도착일 확인 링크에서 확인 가능하며,' ''' + strIFFreeship + ''',

업데이트 에러 내용 업데이트 압축 풀기… 일부 파일이 복사가 안돼 업데이트가 설치되지 않았습니다. 이것은 보통 일관되지 않은 파일 권한 때문입니다.: wp-admin/includes/update-core.php 설치 실패함. 원인 파일권한으로 인한 문제 해결방법 # 권한문제로 아래와 같이 하면됩니다. [darksharavim]find ./ -type f | xargs chmod 644 [darksharavim]find ./ -type d | xargs chmod 755 [darksharavim]chown -R apache:apache ./*

오류 워드프레스 업데이트 도중 실수로 뒤로가기 누르고 난뒤에 아래와 같이 오류발생 PHP Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /home/darkshravim/html/wp-i ncludes/option.php:165\nStack trace:\n#0 /home/darkshravim/html/wp-includes/l10n.php(63): get_option()\n#1 /home/darkshravim/html/wp-includes/l10n.php(139): get_locale()\n#2 /home/darkshravim/html/wp-includes/l10n.php(766): d etermine_locale()\n#..
![[파이썬]워드프레스 자동포스팅](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fdhp9gv%2FbtrOxmnkDuX%2FU9FlbJk8TYPPXKkKKsD8LK%2Fimg.png)
from wordpress_xmlrpc import Client from wordpress_xmlrpc import WordPressPost from wordpress_xmlrpc.methods import posts wp = Client('http://워드프레스 주소/xmlrpc.php', '아이디', '비밀번호') post = WordPressPost() post.title = 'My new title' post.content = 'This is the body of my new post.' post.terms_names = { 'post_tag': ['test', 'firstpost'], 'category': ['Introductions', 'Tests'] } post.post_status = "p..

다운로드 https://ko.wordpress.org/download/#download-install Download Download WordPress today, and get started on creating your website with one of the most powerful, popular, and customizable platforms in the world. ko.wordpress.org [daraksharavim.tistory.com]$ wget https://ko.wordpress.org/latest-ko_KR.tar.gz Requirements We recommend servers running version 7.4 or greater of PHP and MySQL versio..