{"id":60899,"date":"2025-04-26T11:03:37","date_gmt":"2025-04-26T03:03:37","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60899\/"},"modified":"2025-04-26T11:03:37","modified_gmt":"2025-04-26T03:03:37","slug":"%e4%bf%ae%e6%94%b9zencart%e4%ba%a7%e5%93%81%e6%a0%87%e9%a2%98%e6%88%96%e8%80%85%e5%9b%be%e7%89%87%e5%90%8d%e7%a7%b0%e5%ad%97%e6%95%b0%e9%99%90%e5%88%b6","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60899\/","title":{"rendered":"\u4fee\u6539ZenCart\u4ea7\u54c1\u6807\u9898\u6216\u8005\u56fe\u7247\u540d\u79f0\u5b57\u6570\u9650\u5236"},"content":{"rendered":"<p>Zen Cart\u9ed8\u8ba4\u4ea7\u54c1\u6807\u9898\u662f64\u4e2a\u5b57\u7b26\uff0c\u53ef\u662f\u5b9e\u9645\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u5f80\u5f80\u51fa\u73b0\u4ea7\u54c1\u7684\u6807\u9898\u957f\u5ea6\u8d85\u8fc764\u5b57\u7b26\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u7528\u5982\u4e0b\u65b9\u6cd5\u89e3\u51b3\uff1a <\/p>\n<p> \u5728\u540e\u53f0 install sql patch \u4e2d\u8f93\u5165\uff1a ALTER TABLE products_description MODIFY products_name varchar(256);<br \/> \u5176\u4e2d256\u4e5f\u53ef\u4ee5\u6539\u6210128 \u6839\u636e\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u4f7f\u7528\u3002<br \/> \u5982\u679c\u719f\u6089zen cart\u6570\u636e\u5e93\u7ed3\u6784\uff0c\u4e5f\u53ef\u4ee5\u7528phpmyadmin\u8fdb\u53bb\u4fee\u6539\u4f4d\u6570\u3002<br \/> \u540c\u7406\u8fd8\u6709\u56fe\u7247\u7684\u540d\u5b57\u8fc7\u957f\u4e5f\u53ef\u4ee5\u7528\u7c7b\u4f3c\u7684\u65b9\u6cd5\u4fee\u6539\u3002<\/p>\n<p> \u5177\u4f53\u547d\u4ee4\u4e3a:&nbsp;&nbsp;ALTER TABLE products MODIFY products_image varchar(256);<\/p>\n<p> \u53e6\u5916\u6ce8\u610f\u4e00\u4e2a\u7ec6\u8282,\u90a3\u5c31\u662f\u5728zen cart\u540e\u53f0\u8f93\u5165sql\u8bed\u53e5\u65f6\u5019,\u5fc5\u987b\u4ee5\u82f1\u6587\u7684\u5206\u53f7\u201d;\u201d\u7ed3\u675f,\u5426\u5219\u4f1a\u63d0\u793a\u9519\u8bef.<\/p>\n<p> \u4fee\u6539\u4e86\u4ea7\u54c1\u540d\u5b57\u7684\u957f\u5ea6\uff0c\u6ce8\u610forders_products\u8868\u4e0b\u4e5f\u6709\u4e2aproducts_name,\u4e5f\u9700\u8981\u66f4\u6539\u4e3a256\u6216\u8005128\uff08\u6839\u636e\u524d\u9762\u81ea\u5df1\u7684\u8bbe\u7f6e\u66f4\u6539\uff09\uff0c\u5426\u5219\u5728\u8d2d\u7269\u8f66\u7b2c3\u6b65\uff08index.php?main_page=checkout_confirmation\uff09\u4f1a\u51fa\u73b0\u4ea7\u54c1\u540d\u5b57\u592a\u957f\u7684sql\u9519\u8bef\u3002<\/p>\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zen Cart\u9ed8\u8ba4\u4ea7\u54c1\u6807\u9898\u662f64\u4e2a\u5b57\u7b26\uff0c\u53ef\u662f\u5b9e\u9645\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u5f80\u5f80\u51fa\u73b0\u4ea7\u54c1\u7684\u6807\u9898\u957f\u5ea6\u8d85\u8fc764\u5b57\u7b26\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u7528\u5982\u4e0b\u65b9\u6cd5\u89e3\u51b3\uff1a \u5728\u540e\u53f0 install sql patch \u4e2d\u8f93\u5165\uff1a ALTER TABLE products_description MODIFY products_name varchar(256); \u5176\u4e2d256\u4e5f\u53ef\u4ee5\u6539\u6210128 \u6839\u636e\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u4f7f\u7528\u3002 \u5982\u679c\u719f\u6089zen cart\u6570\u636e\u5e93\u7ed3\u6784\uff0c\u4e5f\u53ef\u4ee5\u7528phpmyadmin\u8fdb\u53bb\u4fee\u6539\u4f4d\u6570\u3002 \u540c\u7406\u8fd8\u6709\u56fe\u7247\u7684\u540d\u5b57\u8fc7\u957f\u4e5f\u53ef\u4ee5\u7528\u7c7b\u4f3c\u7684\u65b9\u6cd5\u4fee\u6539\u3002 \u5177\u4f53\u547d\u4ee4\u4e3a:&nbsp;&nbsp;ALTER TABLE products MODIFY products_image varchar(256); \u53e6\u5916\u6ce8\u610f\u4e00\u4e2a\u7ec6\u8282,\u90a3\u5c31\u662f\u5728zen cart\u540e\u53f0\u8f93\u5165sql\u8bed\u53e5\u65f6\u5019,\u5fc5\u987b\u4ee5\u82f1\u6587\u7684\u5206\u53f7\u201d;\u201d\u7ed3\u675f,\u5426\u5219\u4f1a\u63d0\u793a\u9519\u8bef. \u4fee\u6539\u4e86\u4ea7\u54c1\u540d\u5b57\u7684\u957f\u5ea6\uff0c\u6ce8\u610forders_products\u8868\u4e0b\u4e5f\u6709\u4e2aproducts_name,\u4e5f\u9700\u8981\u66f4\u6539\u4e3a256\u6216\u8005128\uff08\u6839\u636e\u524d\u9762\u81ea\u5df1\u7684\u8bbe\u7f6e\u66f4\u6539\uff09\uff0c\u5426\u5219\u5728\u8d2d\u7269\u8f66\u7b2c3\u6b65\uff08index.php?main_page=checkout_confirmation\uff09\u4f1a\u51fa\u73b0\u4ea7\u54c1\u540d\u5b57\u592a\u957f\u7684sql\u9519\u8bef\u3002<\/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-60899","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60899","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=60899"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60899\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}