Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Unable to install example template from tutorial videos

Unable to install example template from tutorial videos 1 year 1 month ago #44253

Hi,

I am attempting to install the zipped example template folder that I created from the files after watching and re-watching the template tutorial index.php videos.

While in the Extension Manager: Install pane I receive this error message and do not know how to fix it:
Failed loading XML file
/Applications/MAMP/htdocs/design/tmp/install_4f948da65100c/template1_trial/templateDetails.xml
XML: Premature end of data in tag install line 3
JInstaller: :Install: Cannot find Joomla XML setup file


I copied, word for word, the top of my XML file from the tutorial videos and yet can't figure out how to correct this. Here is the code:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "www.joomla.org/xml/dtd/1.6/template-install.dtd">
<install version="1.6" type="template" client="site">

Has anyone else had trouble with uploading the example templates as seen in the tutorials?

Thanks.
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44289

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16846
  • Thank you received: 394
  • Karma: 57
Hi WriterDesigner,

Could you upload the zipped file to this forum post please? I'll take a look for you.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44318

Hello,

I have uploaded the zipped file.

Thanks,
Eric
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44324

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16846
  • Thank you received: 394
  • Karma: 57
Hi Eric,

Please try changing the following:
<install version="1.6" type="template" client="site">

to:
<extension version="1.6" type="template" client="site">

That hopefully should work better for you. We'll get the video updated as well.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44335

Hello,

When I try to install it through the Extension Manager it is now giving me this error message:
"XML: Premature end of data in tag extension line 3" when I changed the word install to extension. Is it because between the version tags I have 2.5 listed?


Edit:
I went on Joomla's website and it showed a closing </extension> tag at the bottom of the XML file. I added it to my file, and while it fixed the other error message I now see this:

JInstaller: :Install: File does not exist /Applications/MAMP/htdocs/design/tmp/install_4f95c04f21c86/template1_trial/params.ini

What I don't understand is that I created a params.ini file as directed by the tutorial instructor (it is blank) -- yet it is telling me it does not exist.

Thanks,
Eric
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44338

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16846
  • Thank you received: 394
  • Karma: 57
Hi Eric,

Yes, include the closing tag:
</extension>

Also, be sure to have the template name (in the templateDetails.xml) the same as the folder name.

The params.ini file that you created is actually params.ini.doc because it was created as a Microsoft Word file. Try using a text editor such as notepad++ instead to create it as params.ini:
notepad-plus-plus.org/

That will help to create regular files and not have to worry about additional formatting.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44342

Hello,

It turns out the params.ini file was in fact saved as params.ini.rtf. Thanks for that tip. I just uploaded the template file successfully.

I set it as the main template, and nothing is formatted, so I am hoping the tutorial videos I haven't watched will help me figure out why. (I did set each module to it's own position, say "top1" for example, but nothing formatted itself).

Thanks again.
Please become a member of OSTraining to reply to this post.

Unable to install example template from tutorial videos 1 year 1 month ago #44344

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16846
  • Thank you received: 394
  • Karma: 57
Hi Eric,

Congratulations! You're done with the hard part! :)

Yes, the class will teach you how to format the rest. We're here to help if you need anything.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.