Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Content management system 在configuration.php中找不到mosConfig\u绝对路径_Content Management System_Joomla_Website Hosting - Fatal编程技术网

Content management system 在configuration.php中找不到mosConfig\u绝对路径

Content management system 在configuration.php中找不到mosConfig\u绝对路径,content-management-system,joomla,website-hosting,Content Management System,Joomla,Website Hosting,我正在尝试将Joomla1网站从localhost移动到bluehost.com域。为了测试,我在我的域上创建了一个子目录用于测试,并移动了我所有的Joomla!文件到这个。我已经在public_html文件夹下创建了这个子目录 我在头版自定义页面和剩余页面上使用不同的菜单。我的问题是,首页上的菜单项在名为joomla的子目录中查找页面,而不是在我的子目录中查找页面 根据一些网站的建议,我认为更改mosConfig_absolute_path会有所帮助,但测试子目录中的configuration

我正在尝试将Joomla1网站从localhost移动到bluehost.com域。为了测试,我在我的域上创建了一个子目录用于测试,并移动了我所有的Joomla!文件到这个。我已经在public_html文件夹下创建了这个子目录

我在头版自定义页面和剩余页面上使用不同的菜单。我的问题是,首页上的菜单项在名为joomla的子目录中查找页面,而不是在我的子目录中查找页面

根据一些网站的建议,我认为更改mosConfig_absolute_path会有所帮助,但测试子目录中的configuration.php文件没有名为mosConfig_absolute_path的属性。我在其他页面的任何菜单项上都没有遇到这个问题


有人能帮我解决这个问题吗?我该如何克服它。谢谢。

您谈论的变量是$mosConfig\u absolute\u path,而不是$msConfig\u absolute\u path。您还需要重置$mosConfig\u live\u站点


还有,迁移到Joomla!1.5将完全避免这个问题;它会自动检测您的基本路径和URL。

谢谢。后来我才知道是mosConfig,但我也看不出来。并且基本路径未被识别。如果您看到这个问题,第一页上的菜单链接就不在正确的位置。您是否尝试过将$mosConfig_live_site添加到configuration.php?这个文件中有$mosConfig变量吗?