安装3.2遇到问题

我使用的是本机安装,环境是win8,安装了Apache2.4,php5.6.30,mysql5.6.35

使用本地访问 http://localhost/public/tipask-3.2.0/public/install

出错,不能显示网页
如果访问地址 http://localhost/public/tipask-3.2.0/public

会出一个很长的报错页面


Whoops, looks like something went wrong.


2/2QueryException in Connection.php line 662:SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tipaskx.ask_tags' doesn't exist (SQL: select `id` from `ask_tags`)


  1. in Connection.php line 662
  2. at Connection->runQueryCallback('select `id` from `ask_tags`', array(), object(Closure)) in Connection.php line 618
  3. at Connection->run('select `id` from `ask_tags`', array(), object(Closure)) in Connection.php line 324
  4. at Connection->select('select `id` from `ask_tags`', array(), true) in Builder.php line 1431
  5. at Builder->runSelect() in Builder.php line 1408
  6. at Builder->get(array('id')) in Builder.php line 1593
  7. at Builder->lists('id', null) in Builder.php line 312
  8. at Builder->lists('id')
  9. at call_user_func_array(array(object(Builder), 'lists'), array('id')) in Model.php line 3444
  10. at Model->__call('lists', array('id'))
  11. at Tag->lists('id')
  12. at call_user_func_array(array(object(Tag), 'lists'), array('id')) in Model.php line 3458
  13. at Model::__callStatic('lists', array('id')) in Taggable.php line 18
  14. at Tag::lists('id') in Taggable.php line 18
  15. at Taggable::hottest('all', '25') in Taggable.php line 37
  16. at Taggable::App\Models\{closure}() in Repository.php line 206
  17. at Repository->remember('hot_tags_all', '300', object(Closure))
  18. at call_user_func_array(array(object(Repository), 'remember'), array('hot_tags_all', '300', object(Closure))) in CacheManager


请先 登录 后评论

2 个回答

宋登峰 - 官方技术支持
擅长:tipask,php,服务器,网站建设

已解决。 修改Apache 的配置文件 httpd.conf 。将#LoadModule rewrite_module modules/mod_rewrite前面的#去掉 AllowOverride All #如果后面参数为None需要修改为All,大约有3处。

看来是apache没开启伪静态模块的原因。

如果访问  http://localhost/public/tipask-3.2.0/public/install   出错说明环境有问题,

确认一下php版本是否是php5.6+




请先 登录 后评论
陈生

我折腾了三个小时,也没有安装好!

请先 登录 后评论
  • 2 关注
  • 1 收藏,3892 浏览
  • logway 提出于 2017-04-11 22:42

相似问题