2013-03-31 1 views
0

최근에 localhost에서 완벽하게 작동하는 클라이언트 용 사용자 정의 블로그 구성 요소를 작성했습니다.이 구성 요소를 제공하기 위해이 구성 요소의 패키지를 준비해야합니다. 나는이 링크 여기joomla 1.5.x에서 사용자 정의 구성 요소가 올바르게 설치되지 않았습니다.

http://docs.joomla.org/Components:xml_installfile

에 따라 패키지를 준비 여기에 XML 파일

<?xml version="1.0"?> 
<install type="component" version="1.5.0"> 
    <name>customblog</name> 
    <author>Jogesh Sharma</author> 
    <creationDate>March 2013</creationDate> 
    <copyright>Copyright (C) 2013 Open Source Matters. All rights reserved.</copyright> 
    <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license> 
    <authorEmail>[email protected]</authorEmail> 
    <authorUrl>http://webomnizz.com</authorUrl> 
    <version>1.5.0</version> 
    <description>This component manage all the Blog sections!</description> 
    <installfile>install.customblog.php</installfile> 
    <uninstallfile>uninstall.customblog.php</uninstallfile> 
    <files> 
     <filename>customblog.php</filename> 
     <filename>customblog.html.php</filename> 
     <filename>images/style.css</filename> 
     <filename>images/plus-icon.png</filename> 
     <filename>images/twitter-icon.png</filename> 
     <filename>images/facebook-icon.png</filename> 
    </files> 

    <install> 
     <sql> 
      <file driver="mysql">install.mysql.sql</file> 
     </sql> 
    </install> 

    <uninstall> 
     <sql> 
      <file driver="mysql">uninstall.mysql.sql</file> 
     </sql> 
    </uninstall> 


    <administration> 
     <menu img="js/ThemeOffice/component.png">Blog Component</menu> 
     <submenu> 
      <menu link="option=com_customblog">Blog</menu> 
     </submenu> 

     <files> 
      <filename>install.mysql.sql</filename> 
      <filename>uninstall.mysql.sql</filename> 
      <filename>admin.customblog.php</filename> 
      <filename>admin.customblog.html.php</filename> 
      <filename>toolbar.customblog.php</filename> 
      <filename>toolbar.customblog.html.php</filename> 
      <filename>admin.customblog.php</filename> 
      <filename>index.html</filename> 
      <filename>tables/customblog.php</filename> 
     </files> 
    </administration> 
</install> 

입니다 구성 요소 디렉토리 구조에 대한 screenshoot입니다 : enter image description here

그러나 우편으로 변환 한 후 파일, 내가 이상한 오류있어 내 구성 요소를 설치하려고 :

JInstaller::install: There is already a folder called 'C:\wamp\www\joom_new\administrator\components\com_customblog\admin.customblog.php'. Please initially check whether: 
• the Extension is already installed 
• the file names in the XML file are spelled correctly 
• there are no XML files listed inside the extension.xml file 
• all of the files (not including XML files) are correctly listed in the extension.xml file and there are no duplicate entries 
• there is an empty folder listed from a previous installation attempt 

내가없는 모르는, 내가 별도의 joomla1.5.x를 설치 한 후, 누군가가 나를 도와주세요 수 이러한 오류를 제거하기 위해 그 다음이 문제에 갇히지에 설치하려고 ?? 나는이 버전의 내 고객의 필요 원인로 Joomla 1.5.26을 사용하고

...

답변

2

당신은 두 번

<filename>admin.customblog.php</filename> 

관리 섹션에 포함되어 있습니다.

그리고 "이상한"오류가 실제로 잘못

Please initially check whether:

  • all of the files (not including XML files) are correctly listed in the extension.xml file and there are no duplicate entries
+0

감사 남자, 내가 짓을 정말 어리석은 실수 무엇을 말 ... :) –