出错啦!

错误信息

  • 消息: [运行警告] : file_put_contents(D:/wwwroot/www.racsoent.com/twcms/runtime/twcms_model/cms_content_flag_model.class.php): failed to open stream: Permission denied
  • 文件: D:\wwwroot\www.racsoent.com\twcms\kongphp\base\base.func.php
  • 位置: 第 75 行

错误位置

    #71    $dir = dirname($filename);
    #72    // 目录不存在则创建
    #73    is_dir($dir) || mkdir($dir, 0755, true);
    #74
    #75    return file_put_contents($filename, $data);    // 不使用 LOCK_EX,多线程访问时会有同步问题
    #76}
    #77
    #78// 方便记忆 以 _ 开始的都是改造系统函数
    #79// cookie 设置/删除
    #80function _setcookie($name, $value='', $expire=0, $path='', $domain='', $secure=false, $httponly=false) {

基本信息

  • 模型目录: D:/wwwroot/www.racsoent.com/twcms/model/
  • 视图目录: D:/wwwroot/www.racsoent.com/twcms/view/default/
  • 控制器: D:/wwwroot/www.racsoent.com/twcms/control/cate_control.class.php
  • 日志目录: D:/wwwroot/www.racsoent.com/twcms/runtime/logs/

程序流程

  • #0 [internal function]: debug::error_handler(2, 'file_put_conten...', 'D:\\wwwroot\\www....', 75, Array)
  • #1 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\base.func.php(75): file_put_contents('D:/wwwroot/www....', '<?php\r\n/**\r\n * ...')
  • #2 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\core.class.php(316): FW('D:/wwwroot/www....', '<?php\r\n/**\r\n * ...')
  • #3 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\control.class.php(16): core::model('cms_content_fla...')
  • #4 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_view\default,article_list.htm.php(51): control->__get('cms_content_fla...')
  • #5 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_view\default,article_list.htm.php(337): kp_block_list_flag(Array)
  • #6 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\view.class.php(29): include('D:\\wwwroot\\www....')
  • #7 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\control.class.php(29): view->display('article_list.ht...')
  • #8 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_control\cate_control.class.php(37): control->display('article_list.ht...')
  • #9 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\core.class.php(229): cate_control->index()
  • #10 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\core.class.php(17): core::init_control()
  • #11 D:\wwwroot\www.racsoent.com\twcms\kongphp\kongphp.php(67): core::start()
  • #12 D:\wwwroot\www.racsoent.com\index.php(13): require('D:\\wwwroot\\www....')
  • #13 {main}

SQL

  • #0 [time:0.0005s] SET character_set_connection=utf8, character_set_results=utf8, character_set_client=binary, sql_mode=''
  • #1 [time:0.0002s] SELECT * FROM tw_runtime WHERE k='cfg' LIMIT 1 [explain type: const | rows: 1]
  • #2 [time:0.0002s] SELECT * FROM tw_runtime WHERE k='cate_80' LIMIT 1 [explain type: const | rows: 1]
  • #3 [time:0.0003s] SELECT id FROM tw_cms_article WHERE cid='80' ORDER BY id DESC LIMIT 13,13 [explain type: ref | rows: 264]
  • #4 [time:0.0011s] SELECT * FROM tw_cms_article WHERE id='79419' OR id='79343' OR id='79342' OR id='79311' OR id='79280' OR id='79096' OR id='78777' OR id='78522' OR id='78333' OR id='77245' OR id='77178' OR id='76812' OR id='76811' [explain type: range | rows: 13]

$_GET

  • #control => cate
  • #action => index
  • #cid => 80
  • #page => 2

$_POST

    $_COOKIE

      包含文件

      • #0 D:\wwwroot\www.racsoent.com\index.php
      • #1 D:\wwwroot\www.racsoent.com\twcms\kongphp\kongphp.php
      • #2 D:\wwwroot\www.racsoent.com\twcms\config\config.inc.php
      • #3 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\base.func.php
      • #4 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\core.class.php
      • #5 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\debug.class.php
      • #6 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\log.class.php
      • #7 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\model.class.php
      • #8 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\view.class.php
      • #9 D:\wwwroot\www.racsoent.com\twcms\kongphp\base\control.class.php
      • #10 D:\wwwroot\www.racsoent.com\twcms\kongphp\db\db.interface.php
      • #11 D:\wwwroot\www.racsoent.com\twcms\kongphp\db\db_mysql.class.php
      • #12 D:\wwwroot\www.racsoent.com\twcms\kongphp\cache\cache.interface.php
      • #13 D:\wwwroot\www.racsoent.com\twcms\kongphp\cache\cache_memcache.class.php
      • #14 D:\wwwroot\www.racsoent.com\twcms\config\plugin.inc.php
      • #15 D:\wwwroot\www.racsoent.com\twcms\plugin\baidupush\conf.php
      • #16 D:\wwwroot\www.racsoent.com\twcms\plugin\editor_um\conf.php
      • #17 D:\wwwroot\www.racsoent.com\twcms\plugin\sitemaps\conf.php
      • #18 D:\wwwroot\www.racsoent.com\twcms\plugin\tw_links\conf.php
      • #19 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_control\parseurl_control.class.php
      • #20 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_model\runtime_model.class.php
      • #21 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_control\cate_control.class.php
      • #22 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_model\category_model.class.php
      • #23 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_view\default,article_list.htm.php
      • #24 D:\wwwroot\www.racsoent.com\twcms\runtime\twcms_model\cms_content_model.class.php
      • #25 D:\wwwroot\www.racsoent.com\twcms\kongphp\ext\utf8.class.php
      • #26 D:\wwwroot\www.racsoent.com\twcms\kongphp\tpl\exception.php

      其他信息

      • 请求路径: /dxbuv/list_2.html
      • 当前时间: 2025-08-20 21:00:14
      • 当前网协: 10.2.248.209
      • 运行时间: 0.1209
      • 内存开销: 612.17 KB
        <?php echo 'KongPHP, Road to Jane.'; ?>