Templates Joomla模板更新出现错误
今天我尝试更新Joomla 2.5的一个模板。我总是遇到以下错误:Templates Joomla模板更新出现错误,templates,joomla,Templates,Joomla,今天我尝试更新Joomla 2.5的一个模板。我总是遇到以下错误: There is already a Template using the named directory: Install. Are you trying to install the same template again? 当我删除模板并再次安装时,不会出现此问题。导致此错误的原因是什么?如何在不首先删除模板的情况下更新模板?解决方案是将method=“upgrade”添加到模板声明中: 在mytemplateDetai
There is already a Template using the named directory: Install.
Are you trying to install the same template again?
当我删除模板并再次安装时,不会出现此问题。导致此错误的原因是什么?如何在不首先删除模板的情况下更新模板?解决方案是将
method=“upgrade”
添加到模板声明中:
在mytemplateDetails.xml中,确保该行如下所示:
<extension version="2.5" type="template" client="site" method="upgrade">
如果没有method=“upgrade”
,则必须始终卸载模板,然后在需要升级时重新安装模板。您也可以尝试以下方法:
转到extensions>extensions manager,在管理选项卡上,确保选择了相关模板并点击卸载。然后重新安装它
我遇到了这个错误或类似的错误,因为我删除了我的模板,而不是卸载它。将Joomla 1.5模板升级到Joomla 2.5
将模板从Joomla 1.5迁移到3.x
这就是使用method=“upgrade”
的全部意义,它省去了卸载然后重新安装的麻烦