Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/245.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在日历库中显示上个月和下个月时出现PHP错误_Php_Calendar - Fatal编程技术网

在日历库中显示上个月和下个月时出现PHP错误

在日历库中显示上个月和下个月时出现PHP错误,php,calendar,Php,Calendar,此处显示日历,但每次单击“下一步”或“上一步”链接时,都会显示此错误: 找不到对象! 在此服务器上找不到请求的URL。参考页面上的链接似乎错误或过时。请将错误告知该页的作者。 如果您认为这是服务器错误,请联系网站管理员。 错误404 Please please please someone help me!! Project name: ci_series config.php I set the base url as http://localhost/ci_se

此处显示日历,但每次单击“下一步”或“上一步”链接时,都会显示此错误:

找不到对象! 在此服务器上找不到请求的URL。参考页面上的链接似乎错误或过时。请将错误告知该页的作者。 如果您认为这是服务器错误,请联系网站管理员。 错误404

Please please please someone help me!!   


 Project name: ci_series
         config.php I set the base url as http://localhost/ci_series/'
         $config['index_page'] = '';

          I used cordelginer framework.My welcome controller is the one    defaultly loading.

         welcome.php

         <?php

          class Welcome extends CI_Controller {


        function index()
        {

            $this -> display( $year=null, $month=null);

        }
        //display function
    function display($year=null, $month=null)
        {
            $conf= array( 
                'start_day'=>'monday',
                'show_next_prev' => true,
                'next_prev_url' => base_url(). 'display'

            );
            $this->load->library('calendar',$conf);
            echo $this->calendar->generate(  $year, $month);
        }

    }
请有人帮帮我!!
工程名称:ci_系列
php我将基本url设置为http://localhost/ci_series/'
$config['index_page']='';
我使用了CordelEnginer框架。我的欢迎控制器是默认加载的控制器。
welcome.php