centos 部署 Vanilla 出错

edited 2013年06月17日 vps/主机

You are missing Vanilla's .htaccess file. Sometimes this file isn't copied if you are using ftp to upload your files because this file is hidden. Make sure you've copied the .htaccess file before continuing.
Are you sure you've entered the correct database host name? Maybe you mistyped it? The database reported:
SQLSTATE[HY000] [2005] Unknown MySQL server host 'Invalid' (74)
You must specify the name of the database in which you want to set up Vanilla.
Banner Title is required.




  • 第一段是说 .htaccess 文件丢失。如果你使用的是apache,而且根目录下的确没有.htaccess文件,可以从这里复制 https://raw.github.com/vanillaforums/Garden/master/.htaccess

    第二段是说 MySQL server host填写错误,你填写的是什么呢?一般localhost或者127.0.0.1 就可以了

    还有个“Banner Title is required.” Banner Title 指的就是首页的标题了


    在conf/config.php 里加上

    $Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
  • @chuck911 MySQL server host 填写 localhost和127.0.0.1都是提示这样的错误

登录注册 才能回复。