使用未定义常量 css - 假设 'css'
Use of undefined constant css - assumed 'css'
将应用程序下载到远程服务器后,出现错误:
Use of undefined constant css - assumed 'css'
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<title>@yield('title')</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script>
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.8.1/baguetteBox.min.css">
<link href="{{assert('css/gallery-grid.css')}}">
<!-- Custom styles for this template -->
<style>
a.button::before {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-webkit-box-shadow: #959595 0 2px 5px;
-moz-box-shadow: #959595 0 2px 5px;
border-radius: 3px;
box-shadow: #959595 0 2px 5px;
content: "";
display: block;
height: 100%;
left: 0;
padding: 2px 0 0;
position: absolute;
top: 0;
width: 100%; }
a.button:active::before { padding: 1px 0 0; }
/**
* Grey
*/
a.button {
-moz-box-shadow: inset 0 0 0 1px #63ad0d;
-webkit-box-shadow: inset 0 0 0 1px #63ad0d;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background: #eee;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#eee), to(#e2e2e2));
background: -moz-linear-gradient(#eee, #e2e2e2);
background: linear-gradient(#eee, #e2e2e2);
border: solid 1px #d0d0d0;
border-bottom: solid 3px #b2b1b1;
border-radius: 3px;
box-shadow: inset 0 0 0 1px #f5f5f5;
color: #555;
display: inline-block;
font: bold 12px Arial, Helvetica, Clean, sans-serif;
margin: 0 25px 25px 0;
padding: 10px 20px;
position: relative;
text-align: center;
text-decoration: none;
text-shadow: 0 1px 0 #fafafa; }
a.button:hover {
background: #e4e4e4;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#e4e4e4), to(#ededed));
background: -moz-linear-gradient(#e4e4e4, #ededed);
background: linear-gradient(#e4e4e4, #ededed);
border: solid 1px #c2c2c2;
border-bottom: solid 3px #b2b1b1;
box-shadow: inset 0 0 0 1px #efefef; }
a.button:active {
background: #dfdfdf;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dfdfdf), to(#e3e3e3));
background: -moz-linear-gradient(#dfdfdf, #e3e3e3);
background: linear-gradient(#dfdfdf, #e3e3e3);
border: solid 1px #959595;
box-shadow: inset 0 10px 15px 0 #c4c4c4;
top:2px;}
/**
* Pink
*/
a.button.pink {
background: #f997b0;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f997b0), to(#f56778));
background: -moz-linear-gradient(#f997b0, #f56778);
background: linear-gradient(#f997b0, #f56778);
border: solid 1px #ee8090;
border-bottom: solid 3px #cb5462;
box-shadow: inset 0 0 0 1px #fbc1d0;
color: #913944;
text-shadow: 0 1px 0 #f9a0ad; }
a.button.pink:hover {
background: #f57184;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f57184), to(#f78297));
background: -moz-linear-gradient(#f57184, #f78297);
background: linear-gradient(#f57184, #f78297);
border: solid 1px #e26272;
border-bottom: solid 3px #cb5462;
box-shadow: inset 0 0 0 1px #f9aab5; }
a.button.pink:active {
background: #f06a7c;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f06a7c), to(#f56c7e));
background: -moz-linear-gradient(#f06a7c, #f56c7e);
background: linear-gradient(#f06a7c, #f56c7e);
border: solid 1px #a14753;
box-shadow: inset 0 10px 15px 0 #d45d6d; }
/**
* Green
*/
a.button.green {
background: #cae285;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#cae285), to(#a3cd5a));
background: -moz-linear-gradient(#cae285, #a3cd5a);
background: linear-gradient(#cae285, #a3cd5a);
border: solid 1px #aad063;
border-bottom: solid 3px #799545;
box-shadow: inset 0 0 0 1px #e0eeb6;
color: #5d7731;
text-shadow: 0 1px 0 #d0e5a4; }
a.button.green:hover {
background: #abd164;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#abd164), to(#b9d972));
background: -moz-linear-gradient(#abd164, #b9d972);
background: linear-gradient(#abd164, #b9d972);
border: solid 1px #98b85b;
border-bottom: solid 3px #799545;
box-shadow: inset 0 0 0 1px #cce3a1; }
a.button.green:active {
background: #a4cb5d;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a4cb5d), to(#9ec45a));
background: -moz-linear-gradient(#a4cb5d, #9ec45a);
background: linear-gradient(#a4cb5d, #9ec45a);
border: solid 1px #6e883f;
box-shadow: inset 0 10px 15px 0 #90b352; }
/**
* Blue
*/
a.button.blue {
background: #abe4f8;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#abe4f8), to(#74d0f4));
background: -moz-linear-gradient(#abe4f8, #74d0f4);
background: linear-gradient(#abe4f8, #74d0f4);
border: solid 1px #8cc5d9;
border-bottom: solid 3px #589cb6;
box-shadow: inset 0 0 0 1px #cdeffb;
color: #42788e;
text-shadow: 0 1px 0 #b6e6f9; }
a.button.blue:hover {
background: #80d4f5;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#80d4f5), to(#92dbf6));
background: -moz-linear-gradient(#80d4f5, #92dbf6);
background: linear-gradient(#80d4f5, #92dbf6);
border: solid 1px #79acbe;
border-bottom: solid 3px #589cb6;
box-shadow: inset 0 0 0 1px #b2e6f8; }
a.button.blue:active {
background: #2426ee;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#132eee), to(#1716e6));
background: -moz-linear-gradient(#89d2ee, #84cae6);
background: linear-gradient(#89d2ee, #84cae6);
border: solid 1px #5c8d9f;
box-shadow: inset 0 10px 15px 0 #79b9d2; }
</style>
@yield('content')
@if(Auth::guest())
登录
登记
@别的
{{ Auth::user()->名字}}
注销
{{ csrf_field() }}
@if(Auth::user()->anketisExsis()==true)
查看您的个人资料
@别的
放置个人资料
@万一
@万一
所有文件都一样,设置已更改。我能忘记什么?
行
<link href="{{assert('css/gallery-grid.css')}}">
你写的是 ASSERT,正确的是 ASSET。
检查这是否解决了问题。
将应用程序下载到远程服务器后,出现错误:
Use of undefined constant css - assumed 'css'
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<title>@yield('title')</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script>
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.8.1/baguetteBox.min.css">
<link href="{{assert('css/gallery-grid.css')}}">
<!-- Custom styles for this template -->
<style>
a.button::before {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-webkit-box-shadow: #959595 0 2px 5px;
-moz-box-shadow: #959595 0 2px 5px;
border-radius: 3px;
box-shadow: #959595 0 2px 5px;
content: "";
display: block;
height: 100%;
left: 0;
padding: 2px 0 0;
position: absolute;
top: 0;
width: 100%; }
a.button:active::before { padding: 1px 0 0; }
/**
* Grey
*/
a.button {
-moz-box-shadow: inset 0 0 0 1px #63ad0d;
-webkit-box-shadow: inset 0 0 0 1px #63ad0d;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background: #eee;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#eee), to(#e2e2e2));
background: -moz-linear-gradient(#eee, #e2e2e2);
background: linear-gradient(#eee, #e2e2e2);
border: solid 1px #d0d0d0;
border-bottom: solid 3px #b2b1b1;
border-radius: 3px;
box-shadow: inset 0 0 0 1px #f5f5f5;
color: #555;
display: inline-block;
font: bold 12px Arial, Helvetica, Clean, sans-serif;
margin: 0 25px 25px 0;
padding: 10px 20px;
position: relative;
text-align: center;
text-decoration: none;
text-shadow: 0 1px 0 #fafafa; }
a.button:hover {
background: #e4e4e4;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#e4e4e4), to(#ededed));
background: -moz-linear-gradient(#e4e4e4, #ededed);
background: linear-gradient(#e4e4e4, #ededed);
border: solid 1px #c2c2c2;
border-bottom: solid 3px #b2b1b1;
box-shadow: inset 0 0 0 1px #efefef; }
a.button:active {
background: #dfdfdf;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dfdfdf), to(#e3e3e3));
background: -moz-linear-gradient(#dfdfdf, #e3e3e3);
background: linear-gradient(#dfdfdf, #e3e3e3);
border: solid 1px #959595;
box-shadow: inset 0 10px 15px 0 #c4c4c4;
top:2px;}
/**
* Pink
*/
a.button.pink {
background: #f997b0;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f997b0), to(#f56778));
background: -moz-linear-gradient(#f997b0, #f56778);
background: linear-gradient(#f997b0, #f56778);
border: solid 1px #ee8090;
border-bottom: solid 3px #cb5462;
box-shadow: inset 0 0 0 1px #fbc1d0;
color: #913944;
text-shadow: 0 1px 0 #f9a0ad; }
a.button.pink:hover {
background: #f57184;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f57184), to(#f78297));
background: -moz-linear-gradient(#f57184, #f78297);
background: linear-gradient(#f57184, #f78297);
border: solid 1px #e26272;
border-bottom: solid 3px #cb5462;
box-shadow: inset 0 0 0 1px #f9aab5; }
a.button.pink:active {
background: #f06a7c;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f06a7c), to(#f56c7e));
background: -moz-linear-gradient(#f06a7c, #f56c7e);
background: linear-gradient(#f06a7c, #f56c7e);
border: solid 1px #a14753;
box-shadow: inset 0 10px 15px 0 #d45d6d; }
/**
* Green
*/
a.button.green {
background: #cae285;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#cae285), to(#a3cd5a));
background: -moz-linear-gradient(#cae285, #a3cd5a);
background: linear-gradient(#cae285, #a3cd5a);
border: solid 1px #aad063;
border-bottom: solid 3px #799545;
box-shadow: inset 0 0 0 1px #e0eeb6;
color: #5d7731;
text-shadow: 0 1px 0 #d0e5a4; }
a.button.green:hover {
background: #abd164;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#abd164), to(#b9d972));
background: -moz-linear-gradient(#abd164, #b9d972);
background: linear-gradient(#abd164, #b9d972);
border: solid 1px #98b85b;
border-bottom: solid 3px #799545;
box-shadow: inset 0 0 0 1px #cce3a1; }
a.button.green:active {
background: #a4cb5d;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a4cb5d), to(#9ec45a));
background: -moz-linear-gradient(#a4cb5d, #9ec45a);
background: linear-gradient(#a4cb5d, #9ec45a);
border: solid 1px #6e883f;
box-shadow: inset 0 10px 15px 0 #90b352; }
/**
* Blue
*/
a.button.blue {
background: #abe4f8;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#abe4f8), to(#74d0f4));
background: -moz-linear-gradient(#abe4f8, #74d0f4);
background: linear-gradient(#abe4f8, #74d0f4);
border: solid 1px #8cc5d9;
border-bottom: solid 3px #589cb6;
box-shadow: inset 0 0 0 1px #cdeffb;
color: #42788e;
text-shadow: 0 1px 0 #b6e6f9; }
a.button.blue:hover {
background: #80d4f5;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#80d4f5), to(#92dbf6));
background: -moz-linear-gradient(#80d4f5, #92dbf6);
background: linear-gradient(#80d4f5, #92dbf6);
border: solid 1px #79acbe;
border-bottom: solid 3px #589cb6;
box-shadow: inset 0 0 0 1px #b2e6f8; }
a.button.blue:active {
background: #2426ee;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#132eee), to(#1716e6));
background: -moz-linear-gradient(#89d2ee, #84cae6);
background: linear-gradient(#89d2ee, #84cae6);
border: solid 1px #5c8d9f;
box-shadow: inset 0 10px 15px 0 #79b9d2; }
</style>
@yield('content')
@if(Auth::guest())
登录登记 @别的 {{ Auth::user()->名字}} 注销 {{ csrf_field() }} @if(Auth::user()->anketisExsis()==true) 查看您的个人资料 @别的 放置个人资料 @万一 @万一
所有文件都一样,设置已更改。我能忘记什么?
行
<link href="{{assert('css/gallery-grid.css')}}">
你写的是 ASSERT,正确的是 ASSET。
检查这是否解决了问题。