简体   繁体   English

Joomla模块错误

[英]Joomla Module Error

I have an assignment to develop module in Joomla. 我有一个任务要在Joomla中开发模块。 I am following Joomla.org documentation. 我正在关注Joomla.org文档。 All is going well but I am facing an issue while uploading XML file. 一切进展顺利,但是在上传XML文件时遇到了问题。 It gives an error when I try to upload it. 尝试上传时出现错误。

Error is: 错误是:

JInstaller: :Install: File does not exist C:\\xampp11\\htdocs\\Joomla\\tmp\\Mod_Helloworld\\index.html JInstaller::Install:文件不存在C:\\ xampp11 \\ htdocs \\ Joomla \\ tmp \\ Mod_Helloworld \\ index.html

Module %s: Could not copy files from the source. 模块%s:无法从源复制文件。

Documentation link: https://docs.joomla.org/J3.x:Creating_a_simple_module/Developing_a_Basic_Module 文档链接: https : //docs.joomla.org/J3.x : Creating_a_simple_module/Developing_a_Basic_Module

I exactly followed this documentation. 我完全按照本文档进行操作。 And I also tried the other way, this way is simply copy to module file and save in Joomla temp folder but both are same error. 我也尝试了另一种方法,这种方法只是复制到模块文件并保存在Joomla临时文件夹中,但是两者都是相同的错误。

May be you put a copy of the xml file inside the admin/ folder in addition to in the root folder. 除了将根目录下的xml文件复制到admin /文件夹外之外,还可以将它复制一份。 If there is any copy of that templateDetails.xml file then just delete it and hope it works. 如果该templateDetails.xml文件有任何副本,则将其删除并希望它可以工作。

If your templateDetails.xml is declaring a folder named and there is no such folder then it will give you this error. 如果您的templateDetails.xml声明了一个名为的文件夹,但没有这样的文件夹,那么它将给您此错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM