{"id":61016,"date":"2025-04-26T11:35:50","date_gmt":"2025-04-26T03:35:50","guid":{"rendered":"https:\/\/fwq.ai\/blog\/61016\/"},"modified":"2025-04-26T11:35:50","modified_gmt":"2025-04-26T03:35:50","slug":"zen-cart%e5%ae%a2%e6%88%b7%e4%b8%8b%e5%8d%95%e6%97%b6%e9%97%b4%e5%92%8c%e8%ae%a2%e5%8d%95%e6%9b%b4%e6%96%b0%e6%97%b6%e9%97%b4%e4%b8%8e%e5%ae%a2%e6%88%b7%e6%89%80%e5%9c%a8%e6%97%b6%e5%8c%ba%e6%97%b6","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/61016\/","title":{"rendered":"Zen Cart\u5ba2\u6237\u4e0b\u5355\u65f6\u95f4\u548c\u8ba2\u5355\u66f4\u65b0\u65f6\u95f4\u4e0e\u5ba2\u6237\u6240\u5728\u65f6\u533a\u65f6\u95f4\u4e0d\u4e00\u81f4"},"content":{"rendered":"<p> \u5982\u679cZen Cart\u670d\u52a1\u5668\u6240\u8bbe\u7f6e\u7684\u65f6\u533a\u548c\u5ba2\u6237\u6240\u5728\u7684\u65f6\u533a\u4e0d\u4e00\u81f4\uff0c\u5c31\u4f1a\u5bfc\u81f4PHP\u9ed8\u8ba4\u8c03\u7528\u7684\u7cfb\u7edf\u65f6\u95f4\u9519\u8bef\uff0c\u5bfc\u81f4\u8ba2\u5355\u65f6\u95f4\u548c\u5ba2\u6237\u7684\u4e0b\u5355\u5b9e\u9645\u65f6\u95f4\u6709\u5dee\u8ddd\u3002<\/p>\n<p> \u6b64\u79cd\u60c5\u51b5\u7279\u522b\u5408\u9002 \u670d\u52a1\u5668\u6216\u8005VPS\u4e0a\u653e\u6709\u591a\u4e2a\u7ad9\u70b9\uff0c\u6bcf\u4e2a\u7ad9\u70b9\u6240\u9762\u5bf9\u7684\u5ba2\u6237\u4e0d\u4e00\u6837\u3002\u5ba2\u6237\u6240\u5728\u7684\u65f6\u533a\u4e0d\u4e00\u6837\u65f6\u3002\u901a\u8fc7\u5982\u4e0b\u8bbe\u7f6e\uff0c\u5c06\u5728\u5ba2\u6237\u6ce8\u518c\u4e0b\u5355\u65f6\uff0c\u63d0\u793a\u7684\u65f6\u95f4\u4fee\u6539\u4e3a\u4f55\u5ba2\u6237\u6240\u5728\u65f6\u533a\u65f6\u95f4\u4fdd\u6301\u4e00\u81f4\u7684\u60c5\u51b5\u3002<\/p>\n<p> \u6d89\u53ca\u5230\u8981\u4fee\u6539\u7684\u6587\u4ef6\u5217\u8868\uff1a<br \/> .\/YOUR_ADMIN\/includes\/configure.php<br \/> .\/includes\/configure.php<\/p>\n<p> .\/YOUR_ADMIN\/includes\/functions\/database.php<br \/> .\/YOUR_ADMIN\/tracker.php<br \/> .\/YOUR_ADMIN\/orders.php<\/p>\n<p> .\/includes\/functions\/functions_general.php<br \/> .\/includes\/modules\/pages\/login\/header_php.php<br \/> .\/includes\/modules\/create_account.php<\/p>\n<p> 1\uff0c\u5728\u524d\u53f0\u4e0e\u540e\u53f0\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5e38\u91cf\u5b9a\u4e49\uff1a<\/p>\n<p> \u5206\u522b\u6253\u5f00<br \/> .\/YOUR_ADMIN\/includes\/configure.php<br \/> .\/includes\/configure.php<\/p>\n<p> \u8fd9\u4e24\u4e2a\u6587\u4ef6<\/p>\n<p> \u589e\u52a0<\/p>\n<pre>\r\ndefine('TIME_ZONE_OFFSET', 7);<\/pre>\n<p> \u5e38\u91cf\u5b9a\u4e49\u3002<\/p>\n<p>  2\uff0c\u5c06\u76f8\u5173\u6587\u4ef6\u4e2d\u7684   &nbsp;   .\/YOUR_ADMIN\/includes\/functions\/database.php   .\/YOUR_ADMIN\/tracker.php   .\/YOUR_ADMIN\/orders.php   &nbsp;   .\/includes\/functions\/functions_general.php   .\/includes\/modules\/pages\/login\/header_php.php   .\/includes\/modules\/create_account.php   \u65f6\u95f4 now() \uff0c\u4fee\u6539\u4e3a   &nbsp;   1   date_add(now(), INTERVAL &#8221; . TIME_ZONE_OFFSET . &#8221; HOUR)   \u4fdd\u5b58\u624b\u5de5\uff0c\u5b8c\u6bd5  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679cZen Cart\u670d\u52a1\u5668\u6240\u8bbe\u7f6e\u7684\u65f6\u533a\u548c\u5ba2\u6237\u6240\u5728\u7684\u65f6\u533a\u4e0d\u4e00\u81f4\uff0c\u5c31\u4f1a\u5bfc\u81f4PHP\u9ed8\u8ba4\u8c03\u7528\u7684\u7cfb\u7edf\u65f6\u95f4\u9519\u8bef\uff0c\u5bfc\u81f4\u8ba2\u5355\u65f6\u95f4\u548c\u5ba2\u6237\u7684\u4e0b\u5355\u5b9e\u9645\u65f6\u95f4\u6709\u5dee\u8ddd\u3002 \u6b64\u79cd\u60c5\u51b5\u7279\u522b\u5408\u9002 \u670d\u52a1\u5668\u6216\u8005VPS\u4e0a\u653e\u6709\u591a\u4e2a\u7ad9\u70b9\uff0c\u6bcf\u4e2a\u7ad9\u70b9\u6240\u9762\u5bf9\u7684\u5ba2\u6237\u4e0d\u4e00\u6837\u3002\u5ba2\u6237\u6240\u5728\u7684\u65f6\u533a\u4e0d\u4e00\u6837\u65f6\u3002\u901a\u8fc7\u5982\u4e0b\u8bbe\u7f6e\uff0c\u5c06\u5728\u5ba2\u6237\u6ce8\u518c\u4e0b\u5355\u65f6\uff0c\u63d0\u793a\u7684\u65f6\u95f4\u4fee\u6539\u4e3a\u4f55\u5ba2\u6237\u6240\u5728\u65f6\u533a\u65f6\u95f4\u4fdd\u6301\u4e00\u81f4\u7684\u60c5\u51b5\u3002 \u6d89\u53ca\u5230\u8981\u4fee\u6539\u7684\u6587\u4ef6\u5217\u8868\uff1a .\/YOUR_ADMIN\/includes\/configure.php .\/includes\/configure.php .\/YOUR_ADMIN\/includes\/functions\/database.php .\/YOUR_ADMIN\/tracker.php .\/YOUR_ADMIN\/orders.php .\/includes\/functions\/functions_general.php .\/includes\/modules\/pages\/login\/header_php.php .\/includes\/modules\/create_account.php 1\uff0c\u5728\u524d\u53f0\u4e0e\u540e\u53f0\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5e38\u91cf\u5b9a\u4e49\uff1a \u5206\u522b\u6253\u5f00 .\/YOUR_ADMIN\/includes\/configure.php .\/includes\/configure.php \u8fd9\u4e24\u4e2a\u6587\u4ef6 \u589e\u52a0 define(&#8216;TIME_ZONE_OFFSET&#8217;, 7); \u5e38\u91cf\u5b9a\u4e49\u3002 2\uff0c\u5c06\u76f8\u5173\u6587\u4ef6\u4e2d\u7684 &nbsp; .\/YOUR_ADMIN\/includes\/functions\/database.php .\/YOUR_ADMIN\/tracker.php .\/YOUR_ADMIN\/orders.php &nbsp; .\/includes\/functions\/functions_general.php .\/includes\/modules\/pages\/login\/header_php.php .\/includes\/modules\/create_account.php \u65f6\u95f4 now() \uff0c\u4fee\u6539\u4e3a &nbsp; 1 date_add(now(), INTERVAL &#8221; . TIME_ZONE_OFFSET . &#8221; HOUR) \u4fdd\u5b58\u624b\u5de5\uff0c\u5b8c\u6bd5<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-61016","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/61016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=61016"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/61016\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=61016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=61016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=61016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}