Joomla 1.7 installation problem

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
mohamedkalith85
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 11, 2011 4:38 am

Joomla 1.7 installation problem

Post by mohamedkalith85 » Mon Nov 14, 2011 12:09 pm

subject:
Joomla1.7 I had create a new template ....but i install error msg will occured..These is my error msg ..


Failed loading XML file
/home/osmodels/public_html/subdomains/test/tmp/install_4ec0f91a3482e/OSM_kalith/templateDetails.xml
XML: Input is not proper UTF-8, indicate encoding ! Bytes: 0xA9 0x20 0x32 0x30
JInstaller: :Install: Cannot find Joomla XML setup file




anybody know the solution ......

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: Joomla 1.7 installation problem

Post by mbrsolution » Mon Nov 14, 2011 4:47 pm

Your xml file is not properly declared that is why you see that error. Make sure you include on the top of the xml file the following

<?xml version="1.0" encoding="utf-8"?>

Kind regards

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: Joomla 1.7 installation problem

Post by mbrsolution » Mon Nov 14, 2011 4:48 pm


mohamedkalith85
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 11, 2011 4:38 am

Re: Joomla 1.7 installation problem

Post by mohamedkalith85 » Tue Nov 15, 2011 12:09 pm

still not working .....

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: Joomla 1.7 installation problem

Post by mbrsolution » Tue Nov 15, 2011 9:41 pm

Are you sure you pointing to the correct path in your xml file?

Blue Man
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Nov 16, 2011 12:00 am
Location: In my chair
Contact:

Re: Joomla 1.7 installation problem

Post by Blue Man » Wed Nov 16, 2011 12:47 am

I really think its safest to use either absolute or root relative paths. That way a lot of such errors could easily be avoided.

Blue Man
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Nov 16, 2011 12:00 am
Location: In my chair
Contact:

Re: Joomla 1.7 installation problem

Post by Blue Man » Wed Nov 16, 2011 12:52 am

Sorry.. I dont think its the paths, i had the same issue on a site that didnt use Joomla..

The problem seems to be that your file isnt proper UTF-8, as indicated by the error message. You should be able to fix this by opening the file in a editor like notepad++, and then converting and saving the file as UTF-8.

I dont remember the exact steps to do it, and i remember having loads of problems with some .php files that refused to convert for some reason. But such data can really create problems when working with XML, so its important always to make sure your server is using the correct character encoding.

It may simply be that your xml file aint UTF-8, and you need to deliver it using iso-8859-1 or something like that..
Last edited by Blue Man on Wed Nov 16, 2011 1:13 am, edited 1 time in total.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44089
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla 1.7 installation problem

Post by Webdongle » Wed Nov 16, 2011 1:03 am

You need to open it in a plain text editor and then save it.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Blue Man
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Nov 16, 2011 12:00 am
Location: In my chair
Contact:

Re: Joomla 1.7 installation problem

Post by Blue Man » Wed Nov 16, 2011 1:19 am

Maybe its possible to just deliver the file using the proper encoding? Because sometimes i just dont seem to get how to convert these files.

Simply opening the file in a text-editor and saving it is not enough i think, at least not on windows. Have no idea on other systems..

I got this problem with a file once, and the only thing which seems to solve it, is to re-write the entire file. Maybe im just doing it wrong though.

Anyway, better get back to installing Joomla, ill be back later to check this theed.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44089
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla 1.7 installation problem

Post by Webdongle » Wed Nov 16, 2011 2:02 am

Blue Man wrote:...
I got this problem with a file once, and the only thing which seems to solve it, is to re-write the entire file. Maybe im just doing it wrong though.
...
Opening it up in notepad then saving should 're-write the entire file' ?

But yes it was saved in the wrong format before.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Blue Man
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Nov 16, 2011 12:00 am
Location: In my chair
Contact:

Re: Joomla 1.7 installation problem

Post by Blue Man » Wed Nov 16, 2011 6:44 am

Webdongle wrote: Opening it up in notepad then saving should 're-write the entire file' ?

But yes it was saved in the wrong format before.
Yes, but i dont think that will replace/convert all the characters to the character set that the file is re-saved in.

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: Joomla 1.7 installation problem

Post by mbrsolution » Wed Nov 16, 2011 7:04 am

Why don't you compare your xml file with another xml file of a working template?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44089
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla 1.7 installation problem

Post by Webdongle » Wed Nov 16, 2011 3:28 pm

Blue Man wrote:
Webdongle wrote:....
Yes, but i dont think that will replace/convert all the characters to the character set that the file is re-saved in.
Perhaps not, but the char set of the saved file should be in the format it is saved in not the format that was there before ? But yes deleting the original before saving again may well help ?

But we both appear to agree that the format of the file is incorrect.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Simmoniz
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Oct 24, 2010 4:42 pm

Re: Joomla 1.7 installation problem

Post by Simmoniz » Wed Jan 18, 2012 4:58 pm

I had the same problem. In my case the problem was the special characters. For example, I had a "menu" tag that looked like this :

Code: Select all

<menu>Carcatères spéciaux</menu>
This is not a valid xml tag. I had to wrap it's content with a CDATA and encode every special characters to make it work.

Code: Select all

<menu><![CDATA[Caract&egrave;res spé&eacute;ciaux]]></menu>
That worked for me

Hope that helps


Locked

Return to “Installation Joomla! 2.5”