Welcome,
Guest
|
|
Hello,
I have search the forum for an answer to this but have not been successful. I have installed JiFile on a local dev server (IIS 7.5 on Win 7) Joomla 2.5.9 and everything works great. I then installed on the production server and the XML is not validating against the XSD. The 'ifile' element content is not valid. I have tried changing the root-application path from ../ to the physical path on the server but no change. Here are the System settings... as you can see different than the dev set up. PHP Built On Linux unixvws3 2.6.9-100.ELsmp #1 SMP Tue Feb 1 12:17:32 EST 2011 i686 Database Version 5.1.61-log Database Collation utf8_general_ci PHP Version 5.2.9-20090427 Web Server Zeus/4.3 WebServer to PHP Interface cgi Joomla! Version Joomla! 2.5.9 Stable [ Ember ] 4-February-2013 14:00 GMT Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT Any assistance on this would be much appreciated as this is a great extension and I would really like to get it working. Thank you |
Last Edit: 26 Mar 2013 10:38 by Giampaolo.
The administrator has disabled public write access.
|
|
Hi,
you can send us the "IFileConfig.xml" at This email address is being protected from spambots. You need JavaScript enabled to view it. for verify your problem? Thanks |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
|
Ok,
I stripped down the files and discovered this... <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xs:schema xmlns:xs="www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="ifile"> <xs:complexType> <xs:all> <xs:element ref="root-application" /> <xs:element ref="duplicate" minOccurs="0" /> </xs:all> </xs:complexType> </xs:element> <xs:element name="root-application"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value = "[\s]*[\S][\s\S]*"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="duplicate"> <xs:simpleType> <xs:restriction base="xs:integer"> <xs:enumeration value="0"/> <xs:enumeration value="1"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:schema> does not validate to this and generates the error.... <?xml version="1.0" encoding="UTF-8" ?> <ifile> <root-application>../</root-application> <duplicate>0</duplicate> </ifile> But if I remove the root application references it validates. Seems like there is something not right with the pattern matching or the regular expression. I don't know. Does this help? Thank you |
The administrator has disabled public write access.
|
|
Hi Paul,
this check is not mandatory, you can comment the row where the IFile executed the check. This serves only for validate the file XML but if you not change manually this file (but you use JiFile configuration section), this check in not important. |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
|
I discovered that there were other validating errors on this server but as you suggested I bypassed the validation and everything seems to work now.
Thank you. |
The administrator has disabled public write access.
|
If you not change browser settings, you agree to it. Learn more