好的,问题是..我的joomla模块安装不正确. autobase.xml的orginial内容基于joomla 2.5 docs for HelloWorld.我在com_autobase.zip中有两个名为admin和site的目录.由于某些未知原因,来自站点的文件未被转移到Joomla / Components / Com_autobase中.但是来自admin的文件正在被转移到Components / com_autobase和Administrator / Components / com_autobase中
管理文件夹’com_autobase.zip’
admin folder installer http://iforce.co.nz/i/bf3m5asl.ofm.png
site folder installer http://iforce.co.nz/i/dfn4xw5o.0cv.png
来自’com_autobase’和’com_autobase / admin’的autobase.xml内容.
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: helloworld.xml 14 2009-11-02 18:35:20Z chdemko $-->
<extension type="component" version="1.6.0" method="upgrade">
<name>AutoBase</name>
<!-- The following elements are optional and free of formatting conttraints -->
<creationDate>July 2012</creationDate>
<authorUrl>http://www.triotech.co.nz</authorUrl>
<copyright>copyright Info</copyright>
<license>License Info</license>
<!-- The version string is recorded in the components table -->
<version>0.0.24</version>
<!-- The description is optional and defaults to the name -->
<description>This application has been built using PHP in house at Trio Technology Ltd as a third party
application for the AutoBase Car Yard</description>
<install> <!-- Runs on install -->
<sql>
<file driver="MysqL" charset="utf8">sql/install.MysqL.utf8.sql</file>
</sql>
</install>
<uninstall> <!-- Runs on uninstall -->
<sql>
<file driver="MysqL" charset="utf8">sql/uninstall.MysqL.utf8.sql</file>
</sql>
</uninstall>
<update> <!-- Runs on update; New in 1.6 -->
<schemas>
<schemapath type="MysqL">sql/updates/MysqL</schemapath>
</schemas>
</update>
<!-- Site Main File copy Section -->
<!-- Note the folder attribute: This attribute describes the folder
to copy FROM in the package to install therefore files copied
in this section are copied from /site/ in the package -->
<files folder="site">
<filename>index.html</filename>
<filename>autobase.PHP</filename>
<filename>controller.PHP</filename>
<filename>deFinitions.PHP</filename>
<filename>imageController.PHP</filename>
<folder>views</folder>
<folder>js</folder>
<folder>css</folder>
<folder>helpers</folder>
<folder>models</folder>
<folder>cache</folder>
<folder>images</folder>
</files>
<administration>
<!-- Administration Menu Section -->
<menu>AutoBase!</menu>
<!-- Administration Main File copy Section -->
<!-- Note the folder attribute: This attribute describes the folder
to copy FROM in the package to install therefore files copied
in this section are copied from /admin/ in the package -->
<files folder="admin">
<!-- Admin Main File copy Section -->
<filename>index.html</filename>
<filename>autobase.PHP</filename>
<filename>controller.PHP</filename>
<!-- sql files section -->
<folder>sql</folder>
<!-- tables files section -->
<folder>tables</folder>
<!-- models files section -->
<folder>models</folder>
<!-- views files section -->
<folder>views</folder>
<!-- views helpers section -->
<folder>helpers</folder>
</files>
</administration>
</extension>
‘com_autobase.zip’INSTALLER包预览
package http://iforce.co.nz/i/zcga3oyx.cs2.png
但是,当我安装我的打包的zip文件时,我收到此错误..“文件不存在:admin / deFinitions.PHP”(这应该是预期的,因为此文件位于站点组件而不是admin目录中).
joomla error http://iforce.co.nz/i/htlotipf.mgk.png
这告诉我它试图找到位于站点目录中的文件/文件夹,但是使用admin目录.如何将网站和管理员的扩展文件转移到正确的位置?在joomla CMS上.
站点文件夹’com_autobase.zip'(从windows预览,如你所见,deFinitions.PHP就在那里).
site windows installer http://iforce.co.nz/i/j5coups5.aqo.png
可以在here下载安装程序
解决方法:
好的找到了问题的解决方案.在admin文件夹中,删除autobase.xml文件,并将index.html文件添加到缓存文件夹.我认为Joomla不喜欢安装空的文件夹.一旦你完成了这个,它应该安装得很好.
问候.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。