{"id":456,"date":"2017-07-30T01:18:38","date_gmt":"2017-07-30T01:18:38","guid":{"rendered":"http:\/\/www.nywzjs.com\/?p=456"},"modified":"2017-07-30T01:18:38","modified_gmt":"2017-07-30T01:18:38","slug":"%e5%9c%a8php5-3%e4%bb%a5%e4%b8%8a%e7%89%88%e6%9c%ac%e8%bf%90%e8%a1%8cecshop%e5%87%ba%e7%8e%b0%e7%9a%84%e9%97%ae%e9%a2%98%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"http:\/\/www.nywzjs.com\/?p=456","title":{"rendered":"\u5728PHP5.3\u4ee5\u4e0a\u7248\u672c\u8fd0\u884cecshop\u51fa\u73b0\u7684\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<p><strong>\u95ee\u9898\u4e00\uff1a\u5546\u57ce\u9996\u9875\u62a5\u9519 Strict Standards: Only variables should be passed by reference in D:\\wamp\\ecshop\\includes\\cls_template.php on line 422<\/strong><\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p><strong>\u627e\u5230\u63d0\u793a\u9519\u8bef\u7684\u6587\u4ef6\u00a0cls_template.php \u53ca\u884c\u53f7<\/strong><\/p>\n<p><strong>\u628a\u00a0$tag_sel = array_shift(explode(\u2018 \u2018, $tag));<\/strong><\/p>\n<p><strong>\u6539\u6210\uff1a<br \/>\n$tag_arr = explode(\u2018 \u2018, $tag);<br \/>\n$tag_sel = array_shift($tag_arr);<\/strong><\/p>\n<p><strong>\u5e76\u4e14\u5220\u9664\u00a0D:\\wamp\\www\\ecshop\\temp\\caches\u4e0b\u6240\u6709\u7684\u6587\u4ef6<\/strong><\/p>\n<p><strong><strong>\u95ee\u9898\u4e8c\uff1a\u540e\u53f0\u9996\u9875\u62a5\u9519 Strict Standards: Non-static method cls_image::gd_version() should not be called statically in\u00a0D:\\wamp\\www\\ecshop\\includes\\lib_base.php\u00a0on line\u00a0346<\/strong><\/strong><\/p>\n<p><strong>\u89e3\u51b3\u529e\u6cd5<\/strong><\/p>\n<p><strong>\u627e\u5230D:\\wamp\\www\\ecshop\\includes\\cls_image.php\u6587\u4ef6<\/strong><\/p>\n<p><strong>\u641c\u7d22\u00a0function gd_version\u00a0\u6539\u6210\u00a0static function gd_version<\/strong><\/p>\n<p><strong><strong>\u95ee\u9898\u4e09\uff1a\u540e\u53f0-\u5546\u5e97\u8bbe\u7f6e\u00a0<\/strong><\/strong><\/p>\n<p><strong><strong>Strict Standards: mktime(): You should be using the time() function instead in\u00a0D:\\wamp\\www\\ecshop\\admin\\sms_url.php\u00a0on line\u00a031<\/strong><br \/>\n<strong>Strict Standards: mktime(): You should be using the time() function instead in\u00a0D:\\wamp\\www\\ecshop\\admin\\shop_config.php\u00a0on line\u00a032<\/strong><\/strong><\/p>\n<p><strong>\u89e3\u51b3\u529e\u6cd5<\/strong><\/p>\n<p><strong>\u6839\u636e\u9519\u8bef\u63d0\u793a \u628a\u00a0mktime()\u00a0\u6539\u6210\u00a0time()<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong><strong>\u95ee\u9898\u56db\uff1a\u540e\u53f0-\u8d77\u59cb\u9875<\/strong><\/strong><\/p>\n<p><strong><strong><strong>Strict Standards: Redefining already defined c**tructor for class alipay in D:\\www\\es\\includes\\modules\\payment\\alipay.php on line 85<\/strong><\/strong><\/strong><\/p>\n<p><strong><strong>\u89e3\u51b3\u529e\u6cd5<\/strong><\/strong><\/p>\n<p><strong><strong>1\uff09\u3001\u9519\u8bef\u539f\u56e0\uff1a<br \/>\nPHP \u7c7b\uff0c\u6709\u4e24\u79cd\u6784\u9020\u51fd\u6570\uff0c\u4e00\u79cd\u662f\u8ddf\u7c7b\u540c\u540d\u7684\u51fd\u6570\uff0c\u4e00\u79cd\u662f __contruct()\u3002\u4ecePHP5.4\u5f00\u59cb\uff0c\u5bf9\u8fd9\u4e24\u4e2a\u51fd\u6570\u51fa\u73b0\u7684\u987a\u5e8f\u505a\u4e86\u6700\u4e25\u683c\u7684\u5b9a\u4e49\uff0c\u5fc5\u987b\u662f __c**truct() \u5728\u524d\uff0c\u540c\u540d\u51fd\u6570\u5728\u540e<\/strong><\/strong><\/p>\n<p>2\uff09\u3001<br \/>\n\u89e3\u51b3\u65b9\u6cd5\uff1a<br \/>\n\u8c03\u6362\u4e00\u4e0b\u4e24\u4e2a\u51fd\u6570\u7684\u524d\u540e\u4f4d\u7f6e\u5373\u53ef\u3002<br \/>\n\u4ee5 includes\/modules\/payment\/alipay.php\u00a0\u00a0\u4e3a\u4f8b\uff1a<br \/>\n\u5c06\u4e0b\u9762\u8fd9\u4e24\u4e2a\u51fd\u6570\u7684\u4f4d\u7f6e\u4e92\u6362\u4e00\u4e0b\u5c31OK\u4e86\uff0c__contruct()\u5728\u524d\uff0calipay()\u5728\u540e<\/p>\n<div class=\"blockcode\">\n<div id=\"code0\">\n<ol>\n<li><strong><strong>\u00a0 \u00a0function alipay()\u00a0 \u00a0 {<br \/>\n<\/strong><\/strong><\/li>\n<li><strong><strong>\u00a0 \u00a0 }<br \/>\n<\/strong><\/strong><\/li>\n<li><strong><strong>\u00a0<\/strong><\/strong><\/li>\n<li><strong><strong>\u00a0 \u00a0 function __contruct()<br \/>\n<\/strong><\/strong><\/li>\n<li><strong><strong>\u00a0 \u00a0 {<br \/>\n<\/strong><\/strong><\/li>\n<li><strong><strong>\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0$this-&gt;alipay();<br \/>\n<\/strong><\/strong><\/li>\n<li><strong><strong>\u00a0 \u00a0 }<\/strong><\/strong><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p><strong><strong><br \/>\n3\uff09\u3001ECSHOP\u7684\u5f88\u591a\u7c7b\u6587\u4ef6 \u90fd\u5b58\u5728\u8fd9\u4e2a\u95ee\u9898\uff0c\u90fd\u9700\u8981\u4fee\u6539\u6389\u3002<br \/>\n<\/strong><br \/>\n<\/strong><\/p>\n<p><strong><strong>\u95ee\u9898\u4e94\uff1a\u540e\u53f0-\u6570\u636e\u5907\u4efd\u00a0<\/strong><\/strong><\/p>\n<p><strong><strong><strong>\u00a0Strict standards: Redefining already defined constructor for class cls_sql_dump in D:\\wamp\\www\\ecshop\\admin\\includes\\cls_sql_dump.php on line 90<span id=\"__kindeditor_bookmark_end_39__\"><\/span><\/strong><br \/>\n<strong>Strict standards: Non-static method cls_sql_dump::get_random_name() should not be called statically in D:\\wamp\\www\\ecshop\\admin\\database.php on line 64<\/strong><\/strong><\/strong><\/p>\n<p><strong><strong>\u89e3\u51b3\u529e\u6cd5<\/strong><\/strong><\/p>\n<p><strong><strong>\u6839\u636e\u9519\u8bef\u63d0\u793a \u628a\u00a0cls_sql_dump\u7684\u00a0function __construct()\u6539\u5230\u00a0\u00a0function cls_sql_dump()\u7684\u524d\u9762<\/strong><\/strong><\/p>\n<p><strong><strong><strong>\u628a\u00a0cls_sql_dump\u7684\u00a0function get_random_name()\u6539\u6210 static\u00a0 function get_random_name()<\/strong><br \/>\n<\/strong><\/strong><\/p>\n<p><strong><strong><strong>\u95ee\u9898\u516d\uff1a<\/strong><\/strong><\/strong><\/p>\n<p><strong><strong><strong>Deprecated:\u00a0Assigning\u00a0the\u00a0return\u00a0value\u00a0of\u00a0new\u00a0by\u00a0reference\u00a0is\u00a0deprecated\u00a0in\u00a0\u00a0\\admin\\sitemap.php\u00a0on\u00a0line\u00a046<\/strong><\/strong><\/strong><\/p>\n<p><strong><strong><strong>\u00a0$sm\u00a0\u00a0\u00a0\u00a0\u00a0=&amp;\u00a0new\u00a0google_sitemap();<\/strong><\/strong><\/strong><\/p>\n<p><strong>\u89e3\u51b3\u529e\u6cd5<\/strong><\/p>\n<p><strong>\u57285.3\u7248\u672c\u4e4b\u540e\u5df2\u7ecf\u4e0d\u5141\u8bb8\u5728\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u201d=&amp;\u201d\u7b26\u53f7\u3002\u5982\u679c\u4f60\u7684\u7f51\u7ad9\u51fa\u73b0\u4e86Deprecated:\u00a0Assigning\u00a0the\u00a0return\u00a0value\u00a0of\u00a0new\u00a0by\u00a0reference\u00a0is\u00a0deprecated\u00a0in\u00a0\u9519\u8bef\uff0c\u522b\u7740\u6025\uff0c\u5148\u5b9a\u4f4d\u5230\u51fa\u9519\u7684\u6587\u4ef6\uff0c\u67e5\u627e\u4e0b\u662f\u4e0d\u662f\u5728\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u4e86\u201d=&amp;\u201d\uff0c\u4f8b\u5982\u521a\u624d\u5b9a\u4f4d\u5230\u7f51\u7ad9\u7a0b\u5e8f\u4e2d\u53d1\u73b0\u4e86\u4e0b\u56fe\u7684\u7a0b\u5e8f\uff0c\u53d1\u73b0\u4f7f\u7528\u4e86\u201d=&amp;\u201d\u7b26\u53f7\uff0c\u53bb\u6389\u2018&amp;\u2019\u7b26\u53f7\u4e4b\u540e\u7a0b\u5e8f\u8fd0\u884c\u6b63\u5e38<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>\u95ee\u9898\u4e03\uff1a<\/strong><\/p>\n<p><strong>Declaration of phpbb::set_cookie() should be compatible with integrate::set_cookie\u2026<\/strong><\/p>\n<p><strong>\u89e3\u51b3\u529e\u6cd5\uff1a\u628afunction set_cookie ($username=\u201d\u201d) \u6539\u4e3afunction set_cookie ($username=\u201d\u201d, $remember = NULL)\u5373\u53ef<span id=\"__kindeditor_bookmark_start_38__\"><\/span><\/strong><\/p>\n<p><strong>\u95ee\u9898\u516b\uff1a<\/strong><\/p>\n<p><strong>Deprecated: preg_replace(): The \/e modifier is deprecated, use preg_replace_callback instead in..<\/strong><\/p>\n<p><strong>\u89e3\u51b3\u529e\u6cd5\uff1a<\/strong><\/p>\n<p><strong>\u6211\u9047\u89c1\u4e86\u6709\u4e24\u5904\uff0c\u90fd\u5728cls_template.php\u6587\u4ef6\u4e2d\uff1a<\/strong><\/p>\n<p><strong>\u00a01\u3001return\u00a0preg_replace(\u201c\/{([^\\}\\{\\n]*)}\/e\u201d, \u201c\\$this-&gt;sel ect(\u2018\\\\1\u2019);\u201d, $source);<br \/>\n\u66ff\u6362\u4e3a<br \/>\nreturn preg_replace_callback(\u201c\/{([^\\}\\{\\n]*)}\/\u201d, function($r) { return $this-&gt;sel ect($r[1]); }, $source);<br \/>\n\u95ee\u9898\u89e3\u51b3\u3002<\/strong><\/p>\n<p><strong>2\u3001$val = preg_replace(\u201c\/\\[([^\\[\\]]*)\\]\/eis\u201d, \u201c\u2018.\u2019.str_replace(\u2018$\u2019,\u2019\\$\u2019,\u2019\\\\1\u2032)\u201d, $val);<\/strong><\/p>\n<p><strong>\u00a0\u00a0\u66ff\u6362\u4e3a<\/strong><\/p>\n<p><strong>\u00a0$val= preg_replace_callback(\u201c\/\\[([^\\[\\]]*)\\]\/eis\u201d,function($r){return str_replace(\u2018$\u2019,\u2019\\$\u2019,$r[1]);}, $val);<br \/>\n<\/strong><\/p>\n<p><strong>\u95ee\u9898\u89e3\u51b3<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u4e00\uff1a\u5546\u57ce\u9996\u9875\u62a5\u9519 Strict Standards: Only variables should be p [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":431,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[85,45],"_links":{"self":[{"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=\/wp\/v2\/posts\/456"}],"collection":[{"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":0,"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=\/wp\/v2\/media\/431"}],"wp:attachment":[{"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nywzjs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}