Template Error:Direct Access to this location is not allowed

Discuss the development and implementation of Joomla! 1.0.x templates here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
robtastik
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Sep 22, 2007 1:16 am

Template Error:Direct Access to this location is not allowed

Post by robtastik » Tue Feb 03, 2009 5:03 am

I am using Joomla 1.015.

I was attempting to create a template from scratch. When I uploaded it and set it to default all i get is this: "Direct Access to this location is not allowed."

To make things worse I now get the same message no matter what template I set as default. I deleted the one I made and uploaded a new template and still the same thing. So as of now I can't view my site.

Does anyone now what I could have done to cause this and how I can fix it?
Last edited by robtastik on Tue Feb 03, 2009 4:30 pm, edited 1 time in total.

robtastik
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Sep 22, 2007 1:16 am

Re: Template Error:Direct Access to this location is not allowed

Post by robtastik » Tue Feb 03, 2009 4:28 pm

I figured it out, it was a simple mistake. For anyone who might make the same mistake, I accidentally uploaded my template index.php to the root of my joomla installation (dreamweaver ftp always gets me). To fix it I just re-uploaded the original index.php.

aylara
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed May 24, 2006 11:32 pm

Re: Template Error:Direct Access to this location is not all

Post by aylara » Thu Apr 07, 2011 1:11 am

Thank you so much! I have been going nuts all day trying to figure out why my changed template wouldnt work and then I reuploaded the original one with the same problem. I checked my root directory after reading your post and... yup.... i had done the same thing! replaced with original root index.php file and it is all fixed...

thank you thank you thank you :)


Locked

Return to “Templates & CSS - 1.0.x”