移动Joomla的网站

出于某些精神病的原因,我已经接pipe了一个非盈利的Joomla网站的托pipe和pipe理工作。 不幸的是,前pipe理员不合作,所以我是盲目的。 我也有Joomla几乎没有经验,natch。

我得到了一个组织的董事会成员的技术精明的tarball,但我不知道如何去安装它 – 简单地解压缩到适当的目录会产生一个“数据库错误:无法连接到数据库:无法连接到MySQL“加载网站的错误。 根据Joomla文档,这个错误有三个原因:

"1) Sometimes you will see this message if MySQL has stopped running on your server. Your server administrator may temporarily turn MySQL off to run maintenance utilities. In such circumstances, your site will likely return shortly. 2) Your database user has been deleted. If this is the case, you will need to recreate your database user with the same username and password that existed when you first installed Joomla. Use your domain control panel to administer this or contact your server administrator. 3) Your database username or password has changed." 

configuration.php文件提供数据库$ user,但我不知道在创build此用户时使用了什么密码。 有没有什么办法恢复这个网站,因为它出现在以前的主机? 或者我可以告诉董事会,我们已经洗好了,重新开始一个CMS,我知道更好? (注意:他们想要保留现有的基于Jooomla的系统的原因是他们显然将一些成本降低到一些插件中。)

tarball是否包含数据库以及文件集?

如果没有,你需要得到一个数据库的转储,使用phpMYAdmin为该网站build立一个新的数据库,然后将旧的数据库导入到新的数据库。

一旦你这样做了,用新的数据库(db服务器(通常是本地主机),db用户和db用户pw)的适当的连接信息更新configuration.php文件。

要移动一个Joomla网站,你需要一个Joomla安装的整个目录的压缩tar,你需要一个MySQL转储。 在新系统上,解压缩Web服务器目录中的tar文件。 然后创build一个新的MySQL数据库。 然后更改configuration.php文件以反映MySQL数据库的新确切名称,并更改MySQL数据库用户名和密码。 还要更改目录path的日志区域。 然后用MySQL转储加载新创build的MySQL数据库。

如果您不知道“pipe理员”login的密码,则需要重置密码,这可以通过MySQL完成。