安装mediawiki错误
2014-01-04 13:49
316 查看
================安装mediawiki错误及解决方法=====================
错误提示一:
PHP Fatal error: require_once(): Failed opening required
'/var/www/html/mwiki/LocalisationUpdate/LocalisationUpdate.php'
(include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/mwiki/LocalSettings.php
//文件路径错误
解决方法:
修改LocalSettings.php,
找到
"require_once( "$EXT/LocalisationUpdate/LocalisationUpdate.php" );"
修改为:
"require_once( "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php" );"
错误提示二:
页面提示:
"Fatal exception of type MWException Error",apache日志没有信息提示。
解决方法:
修改LocalSettings.php,
在合适的位置添加:
$wgShowExceptionDetails = true;
错误提示三:
CACHE_ACCEL requested but no suitable object cache is present. You may want to install APC.
Backtrace:
0 [internal function]: ObjectCache::newAccelerator(Array)
1 /home/liquidfr/public_html/lf_wiki/includes/objectcache/ObjectCache.php(62): call_user_func('ObjectCache::ne...', Array)
2 /home/liquidfr/public_html/lf_wiki/includes/objectcache/ObjectCache.php(50): ObjectCache::newFromParams(Array)
3 /home/liquidfr/public_html/lf_wiki/includes/objectcache/ObjectCache.php(23): ObjectCache::newFromId(3)
4 /home/liquidfr/public_html/lf_wiki/includes/GlobalFunctions.php(3600): ObjectCache::getInstance(3)
5 /home/liquidfr/public_html/lf_wiki/includes/Setup.php(402): wfGetMainCache()
6 /home/liquidfr/public_html/lf_wiki/includes/WebStart.php(157): require_once('/home/liquidfr/...')
7 /home/liquidfr/public_html/lf_wiki/index.php(53): require('/home/liquidfr/...')
8 {main}
解决方法:
修改LocalSettings.php,
将
"#$wgMainCacheType = CACHE_ACCEL;"
替换为:
"$wgMainCacheType = CACHE_ANYTHING;"
本文出自 “人生在勤,不索何获” 博客,请务必保留此出处http://wangjun51.blog.51cto.com/6124567/1348392
错误提示一:
PHP Fatal error: require_once(): Failed opening required
'/var/www/html/mwiki/LocalisationUpdate/LocalisationUpdate.php'
(include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/mwiki/LocalSettings.php
//文件路径错误
解决方法:
修改LocalSettings.php,
找到
"require_once( "$EXT/LocalisationUpdate/LocalisationUpdate.php" );"
修改为:
"require_once( "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php" );"
错误提示二:
页面提示:
"Fatal exception of type MWException Error",apache日志没有信息提示。
解决方法:
修改LocalSettings.php,
在合适的位置添加:
$wgShowExceptionDetails = true;
错误提示三:
CACHE_ACCEL requested but no suitable object cache is present. You may want to install APC.
Backtrace:
0 [internal function]: ObjectCache::newAccelerator(Array)
1 /home/liquidfr/public_html/lf_wiki/includes/objectcache/ObjectCache.php(62): call_user_func('ObjectCache::ne...', Array)
2 /home/liquidfr/public_html/lf_wiki/includes/objectcache/ObjectCache.php(50): ObjectCache::newFromParams(Array)
3 /home/liquidfr/public_html/lf_wiki/includes/objectcache/ObjectCache.php(23): ObjectCache::newFromId(3)
4 /home/liquidfr/public_html/lf_wiki/includes/GlobalFunctions.php(3600): ObjectCache::getInstance(3)
5 /home/liquidfr/public_html/lf_wiki/includes/Setup.php(402): wfGetMainCache()
6 /home/liquidfr/public_html/lf_wiki/includes/WebStart.php(157): require_once('/home/liquidfr/...')
7 /home/liquidfr/public_html/lf_wiki/index.php(53): require('/home/liquidfr/...')
8 {main}
解决方法:
修改LocalSettings.php,
将
"#$wgMainCacheType = CACHE_ACCEL;"
替换为:
"$wgMainCacheType = CACHE_ANYTHING;"
本文出自 “人生在勤,不索何获” 博客,请务必保留此出处http://wangjun51.blog.51cto.com/6124567/1348392
相关文章推荐
- C# WPF 寻找可用端口
- 关于C++中的友元函数的总结
- WEB开发者不应该害怕的五件事
- 动画学习之Animating Views with Blocks
- 搭建红外遥控arm-hadoop集群过程
- 未分类--Windows API--CPlApplet
- 免费电子书网站大全
- 安装cscope出错
- setsockopt 设置socket 详细用法
- MongoDB 高级查询条件操作符
- Angularjs
- ios使用自带git respository管理项目
- MD5
- [转]Linux下转换字符集(UTF8转换)
- MySQL 5.1 与 MySQL 5.5 性能测试对比
- 正则表达式
- 我的VIM的vimrc
- sicily 1091.Maximum Sum
- SQL解决过去M天内连续N天符合某条件问题
- 对I2C总线的时钟同步和总线仲裁的深入理解