structure or name of file: .xml is not exactly

Everything to do with Joomla! 2.5 templates and templating.

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.
dizaztah
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Sat Jul 03, 2010 5:08 am
Contact:

structure or name of file: .xml is not exactly

Postby dizaztah » Tue Jul 12, 2011 9:05 am

i installed the free template yt news and after selecting dat template when i goto homepage i get ""structure or name of file: .xml is not exactly"" this message what does this mean?
http://www.easyflashgames.com -> play flash games
http://webhostsfree.co.cc -> free webhosting lists

vcgs_net
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 18, 2011 7:49 am

Re: structure or name of file: .xml is not exactly

Postby vcgs_net » Thu Aug 18, 2011 7:54 am

I solved this problem (works for me):

1. Edit file
includes/frame_inc.php


2. Go to line 47:

Code: Select all

elseif($bool == true){ // Windows Overwrite Layouts
   $yt_render = new YtRenderXML($layoutItem.'.xml');
   $main_layout = $layoutItem;
}else{ // Windows Layout default
   $yt_render = new YtRenderXML($windows_main_layout); 
}


3. Change for this:

Code: Select all

elseif($bool == true){ // Windows Overwrite Layouts
   if($layoutItem == "") {
      $yt_render = new YtRenderXML($windows_main_layout);
   }
   else {
      $yt_render = new YtRenderXML($layoutItem.'.xml');
      $main_layout = $layoutItem;
   }
}else{ // Windows Layout default
   $yt_render = new YtRenderXML($windows_main_layout); 
}


I don't know if this is a valid solution or no, but it works for me.

PaolaChiesa
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Feb 12, 2012 4:52 pm

Re: structure or name of file: .xml is not exactly

Postby PaolaChiesa » Sun Feb 12, 2012 4:57 pm

It works for me too !

Many thanks, it was really a problem with YT News 17 template :eek:

komir
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Sat Jul 03, 2010 1:52 pm

Re: structure or name of file: .xml is not exactly

Postby komir » Wed Jan 21, 2015 3:10 pm

Hi have the same problem, but, dont have this part in my template. Do you maybe have a clue what to change in my? It is News template , but, oblivious my is newer :(
Thank you
You do not have the required permissions to view the files attached to this post.


Return to “Templates for Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 7 guests