Página 1 de 1

No Puedo abrir archivo .xml

Publicado: 20 Mar 2011, 17:00
por zoby
Hola, pues resulta, que probando cosas con diferentes navegadores, me he dado cuenta, que un archivo .xml (del MOD Uploadtoolkit 3), solo se me abre en Mozilla Firefox
Con Google Chrome me se queda la pantalla en blanco, y con Internet Explorer 8, me sale que no se ha podido abrir y que hay un error, y pulse actualizar cuando lo solucione
Dejo el codigo del archivo .xml

Código: Seleccionar todo

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.-->
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD.\nAlthough MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD.\nNo support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
	<header>
		<meta name="generator" content="MODX file generated with PP MODX Creator 1.0.1 by tumba25 (phpBB version)"/>
		<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
		<title lang="en"><![CDATA[Upload Toolkit 3]]></title>
		<description lang="en"><![CDATA[The Upload Toolkit it's an script that allows user to upload files to the root/download, but each user will have an individual folder named with his user ID, like root/download/2 for the administrator.]]></description>
		<author-notes lang="en"><![CDATA[For the new verson of this mod, was only available prosilver style, so it is not advisable to wear styles that subsilver2 update the MOD to version 0.1.1]]></author-notes>
		<author-group>
			<author>
				<realname><![CDATA[Gabriel]]></realname>
				<username phpbbcom="no"><![CDATA[Leviatan21]]></username>
				<homepage><![CDATA[http://www.mssti.com/phpbb3]]></homepage>
			</author>
			<author>
				<realname><![CDATA[Salva]]></realname>
				<username phpbbcom="no"><![CDATA[Saske1]]></username>
				<homepage><![CDATA[http://espartapsp.zobyhost.com/index.php]]></homepage>
				<email><![CDATA[]]></email>
			</author>
		</author-group>
		<mod-version>0.1.2</mod-version>
		<installation>
			<level>easy</level>
			<time>3</time>
			<target-version>3.0.8</target-version>
		</installation>
		<history>
			<entry>
				<date>2009/9/21</date>
				<rev-version>0.0.1</rev-version>
				<changelog lang="en">
					<change><![CDATA[Initial release]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2011/3/15</date>
				<rev-version>0.1.0</rev-version>
				<changelog lang="en">
					<change><![CDATA[MOD Updated to version 3.0.8]]></change>
					<change><![CDATA[Code change css / html]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2011/3/16</date>
				<rev-version>0.1.1</rev-version>
				<changelog lang="en">
					<change><![CDATA[Fixed Errors]]></change>
				</changelog>
			</entry>
							<date>2011/3/20</date>
				<rev-version>0.1.2</rev-version>
				<changelog lang="en">
					<change><![CDATA[improved code of MOD]]></change>
				</changelog>
			</history>
		</header>

	<action-group>
		<copy>
			<file from="root/language/en/email/uploadtoolkit_email.txt" to="/language/en/email/uploadtoolkit_email.txt"/>
			<file from="root/language/en/mods/uploadtoolkit.php" to="/language/en/mods/uploadtoolkit.php"/>
			<file from="root/styles/prosilver/template/uploadtoolkit_body.html" to="/styles/prosilver/template/uploadtoolkit_body.html"/>
			<file from="root/styles/prosilver/theme/uploadtoolkit.css" to="/styles/prosilver/theme/uploadtoolkit.css"/>
			<file from="root/styles/prosilver/theme/images/icon_ut.gif" to="/styles/prosilver/theme/images/icon_ut.gif"/>
			<file from="root/uploadkit/*-*" to="/uploadkit/*-*"/>
		</copy>
		<open src="root/styles/prosilver/theme/stylesheet.css">
			<edit>
				<find><![CDATA[@import url("colours.css");]]></find>
			</edit>
			<edit>
				<action type="after-add"><![CDATA[@import url("uploadtoolkit.css");]]></action>
			</edit>
		</open>
		
		<open src="root/styles/prosilver/theme/bidi.css">
			<edit>
				<find><![CDATA[.rtl .icon-search]]></find>
			</edit>
			<edit>
				<action type="after-add"><![CDATA[, .rtl .icon-ut]]></action>
			</edit>
		</open>
		
		<open src="root/styles/prosilver/theme/buttons.css">
			<edit>
				<find><![CDATA[.icon-search]]></find>
			</edit>
			<edit>
				<action type="after-add"><![CDATA[, .icon-ut]]></action>
			</edit>
		</open>
		
		<open src="root/styles/prosilver/theme/colours.css">
			<edit>
			<find><![CDATA[.icon-search]]></find>
				<find><![CDATA[.icon-search               { background-image: url("{T_THEME_PATH}/images/icon_search.gif"); }]]></find>
			</edit>
			<edit>
				<action type="after-add"><![CDATA[.icon-ut              { background-image: url("{T_THEME_PATH}/images/icon_ut.gif"); }]]></action>
			</edit>
		</open>
		
		<open src="root/styles/prosilver/template/overall_header.html">
			<edit>
				<find><![CDATA[<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>]]></find>
			</edit>
			<edit>
				<action type="after-add"><![CDATA[<li class="icon-ut"><a href="{U_UPLOADTOOLKIT}" title="{L_UT_EXPLAIN}">{L_UPLOADTOOLKIT}</a></li>]]></action>
			</edit>
		</open>
		
		<open src="root/language/en/common.php">
			<edit>
				<find><![CDATA[
				));
				?>]]></find>
			</edit>
			<edit>
				<action type="before-add"><![CDATA[
				'UPLOADTOOLKIT'                  => 'UploadToolkit',
				'UT_EXPLAIN'            => 'UploadToolkit',]]></action>
			</edit>
		</open>
		
		<open src="root/includes/fuctions.php">
			<edit>
				<find><![CDATA['U_RESTORE_PERMISSIONS'   => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',]]></find>
			</edit>
			<edit>
				<action type="after-add"><![CDATA['U_NAME'            => append_sid("{$phpbb_root_path}uploadkit/index.$phpEx"),]]></action>
			</edit>
		</open>
		
		<diy-instructions lang="en"><![CDATA[1) Update your Style Theme
Enjoy MOD

Note: Forum Support Officer http://espartapsp.zobyhost.com/soporte-upload-toolkit-3-f99/]]></diy-instructions>
	</action-group>
</mod>
Cual es el error ?¿ :nolose:

Re: No Puedo abrir archivo .xml

Publicado: 20 Mar 2011, 17:13
por Orzak
No se, a mi me pasa lo mismo con el google chrome, el internet explorer 8 si que me funciona. Así que lo que hago es abrirlo con el mozilla o el internet.

Re: No Puedo abrir archivo .xml

Publicado: 20 Mar 2011, 17:20
por zoby
Orzak escribió:No se, a mi me pasa lo mismo con el google chrome, el internet explorer 8 si que me funciona. Así que lo que hago es abrirlo con el mozilla o el internet.
:shock: Pues a mi el IE8 no me funciona ...
Lo extraño, es que si subo el archivo .xml (y su .xsl) a mi foro, y abro el google chrome y voy a http://espartapsp.zobyhost.com/install_mod.xml si que me sale, también me funciona así en el IE8

No Puedo abrir archivo .xml

Publicado: 21 Mar 2011, 17:01
por zoby
Otra cosa que tampoco entiendo, es que si intento añadirlo en phpbb.com http://www.phpbb.com/customise/db/modifications-1/
Me da el siguiente error
XML error: Not well-formed (invalid token) at line 1. View the file ../files/contrib_temp/upload_toolkit_3_0_1_3/upload_toolkit_3_0_1_3/install_mod.xml in a web browser for a more detailed error message.
Que es lo que hay mal hecho ?¿ :nolose:

No Puedo abrir archivo .xml

Publicado: 22 Mar 2011, 15:55
por zoby
He Puesto el MOD en el ''MVP'' de phpbb.com, y me ha dado errores con todos los .xml
[ FAIL ] install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/install_mod.xml, line: 1

[ FAIL ] contrib/0.1.2 to 0.1.3/install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/contrib/0.1.2 to 0.1.3/install_mod.xml, line: 1

[ FAIL ] contrib/subsilver2/install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/contrib/subsilver2/install_mod.xml, line: 1

[ FAIL ] contrib/0.1.1 to 0.1.2/install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/contrib/0.1.1 to 0.1.2/install_mod.xml, line: 1
Puede que ese sea el problema por lo que solo los puedo abrir en mozilla firefox ?¿ :nolose:

Re: No Puedo abrir archivo .xml

Publicado: 09 Abr 2011, 17:18
por zoby
zoby escribió:He Puesto el MOD en el ''MVP'' de phpbb.com, y me ha dado errores con todos los .xml
[ FAIL ] install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/install_mod.xml, line: 1

[ FAIL ] contrib/0.1.2 to 0.1.3/install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/contrib/0.1.2 to 0.1.3/install_mod.xml, line: 1

[ FAIL ] contrib/subsilver2/install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/contrib/subsilver2/install_mod.xml, line: 1

[ FAIL ] contrib/0.1.1 to 0.1.2/install_mod.xml: XML error in MODX file DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in /var/www/phpbb/mpv.phpbb.com/lib/mpv/store/temp/mpv_825cbca3629c1f69571f2aa9d66813fb/contrib/0.1.1 to 0.1.2/install_mod.xml, line: 1
Puede que ese sea el problema por lo que solo los puedo abrir en mozilla firefox ?¿ :nolose:
Ya solucione eso, el problema era, que estaba haciendo los xml con el modx creator 4 versiones desactualizado (la 1.2.1 creo) y las mareciente es 1.2.5 :oops: :lol:
Sin embargo, me lanza error al formato de fecha en la ''historia''

[ FAIL ] twitter_button_1_0_0/install_mod.xml: Invalid XML/MODX

Código: Seleccionar todo

    Element '{http://www.phpbb.com/mods/xml/modx-1.2.5.xsd}date': '2011-2-5' is not a valid value of the atomic type 'xs:date'.
[ FAIL ] twitter_button_1_0_0/install_mod.xml: Invalid XML/MODX

Código: Seleccionar todo

    Element '{http://www.phpbb.com/mods/xml/modx-1.2.5.xsd}date': '2011-4-7' is not a valid value of the atomic type 'xs:date'.
Como soluciono eso ?¿
Al principio lo puse dia - mes - año, pero al ver que salia error, (el mismo que sale ahora) y que los otros mods tenien año - mes . dia lo cambie, pero sigue dando error ... :(