Creating new templates from scratch, error loading form file

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.
Locked
Synthetronica
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Oct 21, 2011 5:00 pm
Contact:

Creating new templates from scratch, error loading form file

Post by Synthetronica » Sun Oct 23, 2011 6:27 pm

I'm new to Joomla. After experimenting with using templates, I've decided I'd like to build my own. I found this page:

http://docs.joomla.org/Creating_a_basic ... !_template

But after following these instructions, I get a "500 Error loading form file" message when I click on the template in administration.

I searched around for this problem but didn't find an answer that worked for me.

Is there another from-scratch template tutorial for 1.7 I should use? Why did this error occur and how should I correct it?
This signature literally has no URL's in it.

User avatar
duyet
Joomla! Guru
Joomla! Guru
Posts: 935
Joined: Wed Sep 21, 2011 8:21 pm
Location: on earth
Contact:

Re: Creating new templates from scratch, error loading form

Post by duyet » Tue Oct 25, 2011 4:01 pm

Check your server error log file to see where the problem is coming from.

Synthetronica
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Oct 21, 2011 5:00 pm
Contact:

Re: Creating new templates from scratch, error loading form

Post by Synthetronica » Thu Oct 27, 2011 1:13 pm

I could find no errors in my server logs. What else can I do to troubleshoot this?
This signature literally has no URL's in it.

Synthetronica
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Oct 21, 2011 5:00 pm
Contact:

Re: Creating new templates from scratch, error loading form

Post by Synthetronica » Thu Oct 27, 2011 1:20 pm

If I copy an existing working template and install the copy, I do not get this error. Since I followed the tutorial I mentioned above, it seems logical that either the tutorial is missing important information or I overlooked something in the tutorial. Either way, I'd appreciate further advice on this issue.
This signature literally has no URL's in it.

User avatar
duyet
Joomla! Guru
Joomla! Guru
Posts: 935
Joined: Wed Sep 21, 2011 8:21 pm
Location: on earth
Contact:

Re: Creating new templates from scratch, error loading form

Post by duyet » Thu Oct 27, 2011 2:43 pm

I think the tutorial was written for 1.5 and updated with some 1.6 info. I'm not sure if it's complete for 1.7.

I did a quick compare between the tutorial and an default template (/templates/beez_20/index.php) and saw that it has one line missing in the tutorial:

Code: Select all

JHtml::_('behavior.framework', true);
I've never done any template myself, so i don't know if this is the problem. But you can try.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30937
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Creating new templates from scratch, error loading form

Post by Per Yngve Berg » Thu Oct 27, 2011 6:11 pm


Synthetronica
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Oct 21, 2011 5:00 pm
Contact:

Re: Creating new templates from scratch, error loading form

Post by Synthetronica » Fri Oct 28, 2011 12:49 pm

What file does that line go in? index.php?
This signature literally has no URL's in it.

User avatar
duyet
Joomla! Guru
Joomla! Guru
Posts: 935
Joined: Wed Sep 21, 2011 8:21 pm
Location: on earth
Contact:

Re: Creating new templates from scratch, error loading form

Post by duyet » Fri Oct 28, 2011 1:19 pm

/templates/beez_20/index.php


Locked

Return to “Templates for Joomla! 2.5”