微信小程序上传图片时,无法访问到服务器?
发布于 4 年前 作者 jkang 12288 次浏览 来自 官方Issues

始终显示下面结果

<!DOCTYPE html>

<html>

<head>

    <meta charset=“UTF-8”>

    <title>系统发生错误</title>

    <meta name=“robots” content=“noindex,nofollow” />

    <style>

        /* Base */

        body {

            color: #333;

            font: 16px Verdana, “Helvetica Neue”, helvetica, Arial, ‘Microsoft YaHei’, sans-serif;

            margin: 0;

            padding: 0 20px 20px;

        }

        h1{

            margin: 10px 0 0;

            font-size: 28px;

            font-weight: 500;

            line-height: 32px;

        }

        h2{

            color: #4288ce;

            font-weight: 400;

            padding: 6px 0;

            margin: 6px 0 0;

            font-size: 18px;

            border-bottom: 1px solid #eee;

        }

        h3{

            margin: 12px;

            font-size: 16px;

            font-weight: bold;

        }

        abbr{

            cursor: help;

            text-decoration: underline;

            text-decoration-style: dotted;

        }

        a{

            color: #868686;

            cursor: pointer;

        }

        a:hover{

            text-decoration: underline;

        }

        .line-error{

            background: #f8cbcb;

        }

        .echo table {

            width: 100%;

        }

        .echo pre {

            padding: 16px;

            overflow: auto;

            font-size: 85%;

            line-height: 1.45;

            background-color: #f7f7f7;

            border: 0;

            border-radius: 3px;

            font-family: Consolas, “Liberation Mono”, Menlo, Courier, monospace;

        }

        .echo pre > pre {

            padding: 0;

            margin: 0;

        }

 

        /* Exception Info */

        .exception {

            margin-top: 20px;

        }

        .exception .message{

            padding: 12px;

            border: 1px solid #ddd;

            border-bottom: 0 none;

            line-height: 18px;

            font-size:16px;

            border-top-left-radius: 4px;

            border-top-right-radius: 4px;

            font-family: Consolas,“Liberation Mono”,Courier,Verdana,“微软雅黑”;

        }

        .exception .code{

            float: left;

            text-align: center;

            color: #fff;

            margin-right: 12px;

            padding: 16px;

            border-radius: 4px;

            background: #999;

        }

        .exception .source-code{

            padding: 6px;

            border: 1px solid #ddd;

            background: #f9f9f9;

            overflow-x: auto;

        }

        .exception .source-code pre{

            margin: 0;

        }

        .exception .source-code pre ol{

            margin: 0;

            color: #4288ce;

            display: inline-block;

            min-width: 100%;

            box-sizing: border-box;

        font-size:14px;

            font-family: “Century Gothic”,Consolas,“Liberation Mono”,Courier,Verdana;

            padding-left: 56px;

        }

        .exception .source-code pre li{

            border-left: 1px solid #ddd;

            height: 18px;

            line-height: 18px;

        }

        .exception .source-code pre code{

            color: #333;

            height: 100%;

            display: inline-block;

            border-left: 1px solid #fff;

        font-size:14px;

            font-family: Consolas,“Liberation Mono”,Courier,Verdana,“微软雅黑”;

        }

        .exception .trace{

            padding: 6px;

            border: 1px solid #ddd;

            border-top: 0 none;

            line-height: 16px;

        font-size:14px;

            font-family: Consolas,“Liberation Mono”,Courier,Verdana,“微软雅黑”;

        }

        .exception .trace ol{

            margin: 12px;

        }

        .exception .trace ol li{

            padding: 2px 4px;

        }

        .exception div:last-child{

            border-bottom-left-radius: 4px;

            border-bottom-right-radius: 4px;

        }

        /* Exception Variables */

        .exception-var table{

            width: 100%;

            margin: 12px 0;

            box-sizing: border-box;

            table-layout:fixed;

            word-wrap:break-word;            

        }

        .exception-var table caption{

            text-align: left;

            font-size: 16px;

            font-weight: bold;

            padding: 6px 0;

        }

        .exception-var table caption small{

            font-weight: 300;

            display: inline-block;

            margin-left: 10px;

            color: #ccc;

        }

        .exception-var table tbody{

            font-size: 13px;

            font-family: Consolas,“Liberation Mono”,Courier,“微软雅黑”;

        }

        .exception-var table td{

            padding: 0 6px;

            vertical-align: top;

            word-break: break-all;

        }

        .exception-var table td:first-child{

            width: 28%;

            font-weight: bold;

            white-space: nowrap;

        }

        .exception-var table td pre{

            margin: 0;

        }

        /* Copyright Info */

        .copyright{

2 回复

小程序官方:人在家中坐,锅从天上来

这后端是php?

回到顶部