<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>CodeIgniter 中国开发者社区</title>
    <link>https://codeigniter.org.cn/forums/forum.php</link>
    <description>Latest 20 threads of all forums</description>
    <copyright>Copyright(C) CodeIgniter 中国开发者社区</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 09 Nov 2026 18:29:16 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://codeigniter.org.cn/forums/static/image/common/logo_88_31.gif</url>
      <title>CodeIgniter 中国开发者社区</title>
      <link>https://codeigniter.org.cn/forums/</link>
    </image>
    <item>
      <title>构建静态页面问题</title>
      <link>https://codeigniter.org.cn/forums/thread-31238-1-1.html</link>
      <description><![CDATA[访问localhost:8080可以访问初始页面，但是按照手册在构建静态页面访问localhost:8080/home，显示No input file specified.，新人求助。
routes.php文件内容如下：]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>Air2025</author>
      <pubDate>Mon, 20 Jan 2025 05:27:02 +0000</pubDate>
    </item>
    <item>
      <title>为什么分页到第二页报An uncaught Exception was encountered</title>
      <link>https://codeigniter.org.cn/forums/thread-31237-1-1.html</link>
      <description><![CDATA[php：7.4.33
web：nginx
同一个服务器上，很早以前写的网站分页程序正常，但是现在用同样的分页程序就报错：]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>eyouy</author>
      <pubDate>Tue, 07 Jan 2025 03:38:20 +0000</pubDate>
    </item>
    <item>
      <title>Shield适合CI4.5吗？</title>
      <link>https://codeigniter.org.cn/forums/thread-31236-1-1.html</link>
      <description><![CDATA[安装完感觉Shield的路径是错的，按照Shield官方文档安装过程也没出现错误，但是安装后默认显示的路由很奇怪。所以登录界面什么都是无效路径

 Method | Route                   | Name               | Handler                                                       ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>dearfaint</author>
      <pubDate>Thu, 28 Nov 2024 05:37:25 +0000</pubDate>
    </item>
    <item>
      <title>配置PHP开发环境的神器工具！</title>
      <link>https://codeigniter.org.cn/forums/thread-31235-1-1.html</link>
      <description><![CDATA[大佬们，相信大家都遇到过环境配置的麻烦，繁琐的搭建过程和各种潜在错误让人感到无从下手。
最近偶然发现一款专门适配PHP开发环境的配置工具，ServBay,它是一款可视化配置工具，可以大大简化环境搭建。它提供多版本管理、自动安装扩展、简化数据库配置和自动SSL证书管 ...]]></description>
      <category>开发利器</category>
      <author>westtan</author>
      <pubDate>Tue, 27 Aug 2024 09:24:25 +0000</pubDate>
    </item>
    <item>
      <title>CI 4.3 使用怎么使用predis？</title>
      <link>https://codeigniter.org.cn/forums/thread-31234-1-1.html</link>
      <description><![CDATA[如题，在4.3版本中使用redis作为缓存管理，在env中配置如下：


cache.handler = predis
cache.backupHandler = file
$cache = Services::cache();var_dump(get_class($cache)); 打印结果为：CodeIgniter\\Cache\\Handlers\\FileHandler。
看上去配置没有生效，但是把 hand ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>等等</author>
      <pubDate>Thu, 11 Jul 2024 08:28:47 +0000</pubDate>
    </item>
    <item>
      <title>workerman 和 codeigniter3 报错</title>
      <link>https://codeigniter.org.cn/forums/thread-31233-1-1.html</link>
      <description><![CDATA[workerman 和 codeigniter3 结合使用报错  报错有解决方案吗？]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>qingxing</author>
      <pubDate>Mon, 03 Jun 2024 04:30:08 +0000</pubDate>
    </item>
    <item>
      <title>开源一个基于Codeigniter4和React的企业建站系统</title>
      <link>https://codeigniter.org.cn/forums/thread-31232-1-1.html</link>
      <description><![CDATA[基于Codeigniter4和React的企业建站系统

github https://github.com/ponycool/kuma-cms

demo
web端demo https://kumacms.com
管理后台demo https://kumacms.com/admin/#/login
用户名: admin 密码: kumacms]]></description>
      <category>代码共享与下载</category>
      <author>缄默</author>
      <pubDate>Fri, 26 Apr 2024 08:51:47 +0000</pubDate>
    </item>
    <item>
      <title>有没有集成ucenter的教程啊</title>
      <link>https://codeigniter.org.cn/forums/thread-31231-1-1.html</link>
      <description><![CDATA[ci全系列，就没有一个完整集成ucenter的教程嘛]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>eyouy</author>
      <pubDate>Sat, 06 Apr 2024 11:03:50 +0000</pubDate>
    </item>
    <item>
      <title>CI4关于注入问题</title>
      <link>https://codeigniter.org.cn/forums/thread-31230-1-1.html</link>
      <description><![CDATA[使用构建器
-&gt;select($field)
-&gt;orderBy($order)
两个方法的参数如果通过前端传参获得直接赋值, 会造成注入问题

目前处理办法是
1. 对 $field 进行字符串处理, 转义及替换空格回车等
2. 对 $order 进行数组拆分后, 转义及替换空格回车等 



 ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>supposer</author>
      <pubDate>Wed, 06 Mar 2024 05:46:22 +0000</pubDate>
    </item>
    <item>
      <title>有开启事务，事务不回滚问题</title>
      <link>https://codeigniter.org.cn/forums/thread-31229-1-1.html</link>
      <description><![CDATA[有开启事务，事务不回滚问题]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>huangbo888</author>
      <pubDate>Mon, 04 Mar 2024 06:24:19 +0000</pubDate>
    </item>
    <item>
      <title>读取数据时，出现数据库异常的问题，解决一半现在是...</title>
      <link>https://codeigniter.org.cn/forums/thread-31228-1-1.html</link>
      <description><![CDATA[读取数据时，出现数据库异常的问题，解决一半现在是人工去捕捉，不是框架捕捉的，很麻烦，希望能在Exception里面去处理


$model = new IroboxWarehouse();
try{
    $model-&gt;db-&gt;transStart();

    $status = $model-&gt;select(\'11111\')-&gt;where(\'pc_name\',\'aa\')-&gt;first ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>huangbo888</author>
      <pubDate>Mon, 04 Mar 2024 06:19:10 +0000</pubDate>
    </item>
    <item>
      <title>问题，在创建、更新、删除数据时，若出现数据库异常，...</title>
      <link>https://codeigniter.org.cn/forums/thread-31227-1-1.html</link>
      <description><![CDATA[问题：在创建、更新、删除数据时，若出现数据库异常，希望在Exception里面捕捉到



$model = new IroboxWarehouse();
try{
    $model-&gt;db-&gt;transStart();
    $status = $model-&gt;insert($data);
    $model-&gt;db-&gt;transComplete();
} catch(Exception $e) {
    $model ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>huangbo888</author>
      <pubDate>Mon, 04 Mar 2024 06:14:55 +0000</pubDate>
    </item>
    <item>
      <title>CI3.1.13  force_download 没反应，附代码</title>
      <link>https://codeigniter.org.cn/forums/thread-31226-1-1.html</link>
      <description><![CDATA[前端为


到echo $data这·一行运行是正常的，浏览器能显示文本中的内容；但把下面两句注释去掉后执行，没有任何反应，浏览器调试，发现执行也是200，搜索N多，不明白是哪里有问题，新入CI请指教 ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>iginter</author>
      <pubDate>Thu, 04 Jan 2024 10:35:43 +0000</pubDate>
    </item>
    <item>
      <title>这论坛还有人没?</title>
      <link>https://codeigniter.org.cn/forums/thread-31225-1-1.html</link>
      <description><![CDATA[怎么感觉没人啊?你们都躲到哪去耍了?]]></description>
      <category>新人报到&amp;amp;网站发布</category>
      <author>forestghost</author>
      <pubDate>Thu, 07 Sep 2023 01:53:12 +0000</pubDate>
    </item>
    <item>
      <title>初学CODEIGNITE</title>
      <link>https://codeigniter.org.cn/forums/thread-31216-1-1.html</link>
      <description><![CDATA[本人按教程，去学习，为什么到了访问 news的时候出现其他访问像pages   home  about这些都可以，我严谨的学习，到底问题在哪，有谁能教一下]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>joeyuan</author>
      <pubDate>Wed, 16 Aug 2023 07:20:14 +0000</pubDate>
    </item>
    <item>
      <title>codeigniter4 使用update()更新数据库时，出现错误</title>
      <link>https://codeigniter.org.cn/forums/thread-31215-1-1.html</link>
      <description><![CDATA[codeigniter4 使用update()更新数据库时，出现错误，折腾了好久。

我的代码：
$model = new DepCategoryModel();

$where = array(\'dep_category_id\'=&gt;2);
$data = array(\'dep_category_title\'=&gt;\'888888888888888888\');
$model-&gt;update($data, $where);


最终打印出来 ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>gdcool</author>
      <pubDate>Tue, 08 Aug 2023 10:21:20 +0000</pubDate>
    </item>
    <item>
      <title>初学者提问 ,php.ini 文件找不到</title>
      <link>https://codeigniter.org.cn/forums/thread-31214-1-1.html</link>
      <description><![CDATA[我要找此文件的原因是在安装composer require phpoffice/phpspreadsheet ，是报错 [ErrorException]                                       
  pcntl_signal() has been disabled for security reasons                           
 
   查了原因，要在ini文件中修改此 ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>luowenwenyou</author>
      <pubDate>Wed, 26 Jul 2023 08:15:41 +0000</pubDate>
    </item>
    <item>
      <title>遇到问题，连接数据库DBDriver设置为ODBC时，访问出错</title>
      <link>https://codeigniter.org.cn/forums/thread-31213-1-1.html</link>
      <description><![CDATA[\'DSN\'         =&gt; \'DRIVER={DM8 ODBC DRIVER};Server=localhost:5236;Database=MAIN\',
        \'hostname\'    =&gt; \'localhost\',
        \'username\'    =&gt; \'SYSDBA\',
        \'password\'    =&gt; \'SYSDBA\',
        \'database\'    =&gt; \'MAIN\',
]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>chimlle</author>
      <pubDate>Sat, 24 Jun 2023 12:19:59 +0000</pubDate>
    </item>
    <item>
      <title>数据库读写分离</title>
      <link>https://codeigniter.org.cn/forums/thread-31209-1-1.html</link>
      <description><![CDATA[做数据库读写分离的时候。怎样能保证增删改走主节点，查随机走主或者从节点？并且保证当前web请求，走主节点后所有的后续各类查询都复用当前数据库连接，都走主节点，这样保证查询修改数据一致。

 ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>sunyp</author>
      <pubDate>Tue, 16 May 2023 06:21:45 +0000</pubDate>
    </item>
    <item>
      <title>关于CI4.3上传文件目录WRITEPATH的页面访问问题</title>
      <link>https://codeigniter.org.cn/forums/thread-31208-1-1.html</link>
      <description><![CDATA[在CI4.3中，默认上传文件时，只能上传到它已经配置的WRITEPATH目录（真实路径是 “项目名/writable”目录），而我们在页面中可以访问的映射路径的根目录base_url() [真实路径是“项目名/public” 目录]，默认的配置是可以上传文件 的目录 不能在页面中访问，而可以在php ...]]></description>
      <category>CodeIgniter 问答求助</category>
      <author>songfeng163</author>
      <pubDate>Wed, 19 Apr 2023 06:15:09 +0000</pubDate>
    </item>
  </channel>
</rss>