我第一次在PHP中使用CodeIgniter,并且在使用MyPhpAdmin查看页面时,它带有空白页面,没有错误。
我在appache错误日志中得到了这个错误:
[2019年6月29日星期六15:27:45.815204] [core:error] [pid 6988:tid 1192](20024)给定的路径格式错误或包含无效字符:[client 192.168.8.156:49978] AH00127:无法映射GET / taxiapp / application / views /%3Cbr%20 /%3E%3Cfont%20size ='1'%3E%3Ctable%20class ='xdebug-error%20xe-uncaught-exception'%20dir ='ltr'%20border ='1'%20cellspacing ='0'%20cellpadding ='1'%3E%3Ctr%3E%3Cth%20align ='left'%20bgcolor ='HTTP / 1.1到文件,引用者:http://192.168.8.156/taxiapp/application/views/dashboard.php
这是我的PHP代码:
<meta charset="UTF-8" />
<meta name="google-translate-customization" content="e6d13f48b4352bb5-f08d3373b31c17a6-g7407ad622769509b-12"></meta>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Dashboard - 24/7 Taxi</title>
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="http://192.168.8,156/TaxiApp/application/views/css/bootstrap/bootstrap.min.css" />
<!-- RTL support - for demo only -->
<script src="<?php echo base_url();?>application/views/js/demo-rtl.js"></script>
<!--
If you need RTL support just include here RTL CSS file <link rel="stylesheet" type="text/css" href="css/libs/bootstrap-rtl.min.css" />
And add "rtl" class to <body> element - e.g. <body class="rtl">
-->
<!-- libraries -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>application/views/css/libs/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>application/views/css/libs/nanoscroller.css" />
<!-- global styles -->
<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>application/views/css/compiled/theme_styles.css" />
<!-- this page specific styles -->
<link rel="stylesheet" href="<?php echo base_url();?>application/views/css/libs/daterangepicker.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>application/views/css/libs/timeline.css">
<!-- Favicon -->
<link type="image/x-icon" href="<?php echo base_url();?>upload/favicon.ico" rel="shortcut icon" />
<!-- google font libraries -->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300' rel='stylesheet' type='text/css'>
<!--[if lt IE 9]>
<script src="<?php echo base_url();?>application/views/js/html5shiv.js"></script>
<script src="<?php echo base_url();?>application/views/js/respond.min.js"></script>
<![endif]-->
</head>
有人可以帮助我解决此错误吗?