0

I just bought a new MacBook and, after reinstalling MAMP, I moved the folder containing my site located in htdocs in the "new" htdocs and now no longer works (Error displaying the error page: Application Instantiation Error). can someone help me?

4

1 回答 1

0

别担心,在将我的本地 joomla 设计及其数据库上传到实时服务器后,我遇到了类似此错误页面“显示错误页面时出错:应用程序实例化错误”的问题。我一直在尝试通过互联网搜索解决方案。但是一些解决方案可能会对您有所帮助,他们确实如此。

解决方案一:

转到您的文件夹文件搜索 configuration.php 然后单击进行编辑。

public $host = 'localhost';    --> change the localhost to your_localhost
public $user = 'root';         --> change the root to your_database_user
public $password = '12312';    --> change the 12312 to your_database_password
public $db = '_jos';           --? change the _jos to your_database_name

在您确认更改后。找到第 57 和 58 行更改路径并更改为 your_actual_paths

public $log_path = 'C:\wamp\www\east-horizon2\logs';
public $tmp_path =  'C:\wamp\www\east-horizon2\tmp'; --> change to 
  'home/easthori/public_html/east-horizon2/tmp';

解决方案二:

public $dbtype = 'mysqli';      --> change to 'mysql';

我希望这个解决方案能帮助你

于 2014-08-29T08:03:06.413 回答