Closed bluesky0341 closed 2 years ago
什么问题
1.2.0版本用不了啊
可以启用插件,但是启用了,里面开启缓存,就白屏
测试启动无问题, 1.2 + php8
测试启动 redis 缓存,全局和局部缓存 无问题
插件Tpcache的配置信息没有找到
请确认你的插件目录名叫TpCache
开启了redis全局和局部缓存 但是 Database Query Error
cofig.inc.php 加入 define('__TYPECHO_DEBUG__', true);
开启debug模式
加了,还是Database Query Error
没加上或者加错了
<?php // site root path define('TYPECHO_ROOT_DIR', dirname(FILE));
// plugin directory (relative path) define('TYPECHO_PLUGIN_DIR', '/usr/plugins');
// theme directory (relative path) define('TYPECHO_THEME_DIR', '/usr/themes');
// admin directory (relative path) define('TYPECHO_ADMIN_DIR', '/admin/');
// register autoload require_once TYPECHO_ROOT_DIR . '/var/Typecho/Common.php';
// init \Typecho\Common::init();
// config db $db = new \Typecho\Db('PdoMysql', 'typecho'); $db->addServer(array ( 'host' => 'localhost', 'port' => 3306, 'user' => 'aluminiu_aluminiumnitride', 'password' => 'aYmAI7Zrw0', 'charset' => 'utf8mb4', 'database' => 'aluminiu_aluminiumnitride', 'engine' => 'InnoDB', ), \Typecho\Db::READ | \Typecho\Db::WRITE); \Typecho\Db::set($db); define('TYPECHO_DEBUG', true);
define('__TYPECHO_DEBUG__', true); 有两个杠,这里被和谐了
__TYPECHO_DEBUG__
T前面和最后G后面,有下划线参考文件里其他
发布新文章也不行了,显示
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aluminiu_aluminiumnitride.typecho_tepass_posts' doesn't exist
已知问题,稍等会
插件禁用后,一切又正常了
我的也是php8.0 1.2.0版本
不好意思,说错了,刚才我的php版本是7.4,可以启用插件
现在换成php8.0,点启用插件,屏幕什么都没有
1.2.0版本 php7.4可以启用插件,可以启动 redis 缓存,全局和局部缓存可以,但是发布文章 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aluminiu_aluminiumnitride.typecho_tepass_posts' doesn't exist
1.2.0版本 php8.0 插件无法启动,点启用插件,屏幕什么都没有
更新了上面有地址,不行的话就不知道什么问题了,本地测试同配置无问题。
php8.1+typecho最新开发版照样白屏,调试模式没有任何显示
都是用的1.2.0正式版啊
我是1.2 + php 8 无问题,想debug的可以qq联系
什么时候可以支持1.2.0版本啊 这个不能用在1.2.0版本啊