php工作经验谈-1

WBOY
Release: 2016-06-20 12:53:54
Original
1091 people have browsed it

    今天调试php微信永久素材上传遇见两个问题。

    第一个问题是,media 没找到。错误原因是:我们开发环境是linux,/代表路径。最后生成环境是win server,/路径找不到,最后改为\\才过去。

    第二个问题跟不应该犯,那就是php版本原因。我们生成环境是php 5.3的版本,实际环境是php 5.6,差距真的好大,使用的cur不一样。报的错误是

{"errcode":41005,"errmsg":"media data missing"}。我也是醉了。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!