您的应用程序文件夹路径似乎未正确设置。请打开以下文件并更正:index.php

时间:2017-09-26 03:09:43

标签: php codeigniter

系统曾经正常工作,但随后发生了这个错误我不知道解决方案,因为我还是这个平台的新手;但我检查了类似的问题,由于缺少文件目录而提示它。有什么建议吗?

附件是文件结构; 这些文件位于系统文件Files structure

3 个答案:

答案 0 :(得分:2)

正确指向系统文件夹,如果是不同的目录,请在index.php中调整

e.g

$system_path = 'system';

$system_path = '../system';

$system_path = '../../system';

答案 1 :(得分:1)

由于以下原因而发生这种情况。

  • 您的系统文件夹可能缺失

  • 检查您对文件夹的许可

  • 打开index.php文件,找到$ system_path和
    $ application_folder。

$system_path = 'system'; $application_folder = 'application';

答案 2 :(得分:0)

出现这种情况的原因如下。

import itertools

lines = [] 

for i in range(212,229): 
    lines = (open(str('ex061') + str(i) + str('.log'), 'r', encoding='iso-8859-1')).read().splitlines() 
output=list(itertools.chain(lines))
  1. 打开配置
  2. 和 config.php
  3. 搜索 $config['index_page'] = '';
  4. 上次搜索输入 index.php 例如 $config['index_page'] = 'index.php';