Page 1 of 1

Fehler: ERRORNOTFINDJOOMLAXMLSETUPFILE bei Komponenteninstallation

Posted: Thu Oct 19, 2006 12:02 pm
by musicones
Hallo,

habe meine XML-Datei für die Installation der Komponente an das neue Format anpassen wollen,
kriege aber andauernd diesen Fehler, egal wie ichs anstelle.

Ists ein Fehler in der aktuellen Beta oder mach ich da was falsch?

Hier mal die XML-Datei:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<install type="component" version="1.5.0">
	<name>Solar</name>
	<author>ACMedia - Antonio Cambule</author>
	<creationDate>17.08.2006</creationDate>
	<copyright>(C) Copyright 2006 by Antonio Cambule. All rights reserved!</copyright>
	<authorEmail>musicones@arcor.de</authorEmail>
	<version>1.0 SE</version>
    <description>This component manages Events and Dates</description>
	<files>
	</files>	
	<install>
		<sql>
			<file version="4.2.1">install.utf.sql</file>
		</slq>
	</install>
	<uninstall>
		<sql>
			<file version="4.2.1">uninstall.utf.sql</sql>
		</sql>
	</uninstall>	
	<administration>
		<menu>COM_SOLAR</menu>
		<submenu>			
			<menu task="events">SOLAR_ES</menu>
			<menu task="eventDate">SOLAR_EDS</menu>
			<menu link="option=com_categories&section=com_solarevents">Categories</menu>
			<menu task="info">SOLAR_INFO</menu>
		</submenu>
		<files>		
			<filename>admin.solar.php</filename>
			<filename>toolbar.solar.php</filename>
			<filename>toolbar.solar.html.php</filename>      						
			<filename>controllers/common.php</filename>      
			<filename>controllers/events.php</filename>			
			<filename>controllers/eventDate.php</filename>            
			<filename>tables/events.php</filename>			
			<filename>tables/eventDate.php</filename>    			
			<filename>views/common.php</filename>
			<filename>views/events.php</filename>
			<filename>views/eventDate.php</filename>
		</files>
		<languages>
			<language tag="en-GB">language/en-GB/en-GB.com_solar.ini</language>
			<language tag="de-DE">language/de-DE/de-DE.com_solar.ini</language>
		</languages>
	</administration>
	<params>
		<param name="menu_image" type="imagelist" directory="/images/stories" hide_default="1" default="" label="Menu Image" description="PARAMMENUIMAGE" />
		<param name="secure" type="radio" default="0" label="SSL Enabled" description="PARAMSECURE">
			<option value="-1">Off</option>
			<option value="0">Ignore</option>
			<option value="1">On</option>
		</param>
		<param name="pageclass_sfx" type="text" default="" label="Page Class Suffix" description="PARAMPAGECLASSSFX" />
		<param name="page_title" type="radio" default="1" label="Page Title" description="Show/Hide the pages Title">
			<option value="0">Hide</option>
			<option value="1">Show</option>
		</param>
		<param name="header" type="text" size="30" default="" label="Page Title" description="PARAMPAGETITLE" />
		<param name="@spacer" type="spacer" default="" label="" description="" />
		<param name="headings" type="radio" default="1" label="Table Headings" description="Show/Hide the Table Headings">
			<option value="0">Hide</option>
			<option value="1">Show</option>
		</param>
		<param name="item_description" type="radio" default="1" label="Descriptions" description="PARAMITEMDESC">
			<option value="0">Hide</option>
			<option value="1">Show</option>
		</param>
		<param name="@spacer" type="spacer" default="" label="" description="" />
		<param name="other_cat_section" type="radio" default="1" label="Category List - Section" description="PARAMOTHERCATSECTION">
			<option value="0">Hide</option>
			<option value="1">Show</option>
		</param>
		<param name="@spacer" type="spacer" default="" label="" description="" />
		<param name="other_cat" type="radio" default="1" label="Category List - Category" description="PARAMOTHERCAT">
			<option value="0">Hide</option>
			<option value="1">Show</option>
		</param>
		<param name="@spacer" type="spacer" default="" label="" description="" />
		<param name="description" type="radio" default="1" label="Description" description="Show/Hide the Description below">
			<option value="0">Hide</option>
			<option value="1">Show</option>
		</param>
		<param name="description_text" type="textarea" default="" label="Description Text" rows="5" cols="30" description="PARAMDESCTEXT"/>
		<param name="image" type="imagelist" directory="/images/stories" hide_default="1" default="" label="Image" description="PARAMIMAGE" />
		<param name="image_align" type="radio" default="right" label="Image Align" description="Alignment of the image">
			<option value="left">Left</option>
			<option value="right">Right</option>
		</param>
		<param name="solar_icons" type="imagelist" directory="/images/M_images" default="" label="Icon" description="PARAMLINKICONS" />
	</params>	
</install>
Danke und Gruß
musicones

Re: Fehler: ERRORNOTFINDJOOMLAXMLSETUPFILE bei Komponenteninstallation

Posted: Thu Oct 19, 2006 2:00 pm
by Predator
Haste legacy an in der Configuration?

Re: Fehler: ERRORNOTFINDJOOMLAXMLSETUPFILE bei Komponenteninstallation

Posted: Thu Oct 19, 2006 2:34 pm
by musicones
Hi,

ne natürlich nicht!! Will doch eine reine 1.5 er Komponente haben.

Das Problem hab ich mittlerweile auch gelöst, nur die Fehlermeldung war verwirrend.
Die XML-Datei hatte einen nicht geschlossenen tag.

Jetzt stimmt die auch und der Installer sucht nach der sql-datei die ich im
-tag drin habe. Leider wird die aber schon im abschließenden Installationsordner /com_componente/dateiname.sql
gesucht. Die Datei ist aber an der Stelle noch gar nicht dort reinkopiert.
Habe dafür die installer.php debugged (parse queries oder so).

Also hänge ich jetzt da dran.

EDIT:

Fehlermeldung: JInstallerComponent::install: SQL Fehler, fehlende oder nicht lesbare SQL Datei. DB function reports no errors
Warning: file_get_contents(C:\Programme\xampp\htdocs\joomlasvn\administrator\components\com_solar\install.utf.sql) [function.file-get-contents]: failed to open stream: No such file or directory in C:\Programme\xampp\htdocs\joomlasvn\libraries\joomla\installer\installer.php on line 645