Results 1 to 6 of 6
Thread: php hosting question
10-27-2006, 08:14 AM #1RygeGuest
php hosting question
i am new to the web hosting scene and have a quick question. I have uploaded a php template to my web space but cannot access through my browser. When i try to it says "Direct Access to this location is not allowed." What confuses me is when i upload an HTML document i can see it fine.
if someone could tell me why this is i would greatly appreciate it.
Oh also, it was originally a joombla template, if that matters?
10-27-2006, 08:28 AM #2anandmaheshwariGuest
i will recommand u to check two things here
1. check it that all the files of the template are been uploaded to the template directory of your script.
2. Check if you uploaded that files one level up to the public_html folder.
10-27-2006, 08:33 AM #3RygeGuestOriginally Posted by anandmaheshwari
should i put them somewhere else?
10-27-2006, 08:40 AM #4anandmaheshwariGuest
if you are using a free GPL script for you then there sould be a folder 90% chances in name of "template" or "templates" check this if there is any folder in name of this you should uplaod the files in that folder
10-27-2006, 09:52 PM #5MxhubGuest
.htaccess in the templates folder could be preventing you from viewing the required file.
10-28-2006, 04:37 AM #6
- Join Date
- Oct 2004
Yes it matters HI there welcome to the forums. Well what you are having is normal. You can't access templates typing the name for them like that -I'm talking about joomla or mambo - because they have done that for security reasons.You will not be able to see the contents of the folder by accessing it like www.yoursite.com/mambo/templates/templatename (like javabeam, solar flare etc - the default templates )
This has nothing to do with .htaccess or any server related permissions. Also you can check at the top of every joomla page there is a code which says that and types that you can't access them directly.
If you want to see the template like trying to use it then you will need to login to the admin section and go to the site configuration > templates > then checking the name of the template you want to use and clicking on default so it becomes the default one ,most of the time there is a small image which will show when you hover the mouse over the name of the template that will show you how the templat you are about to choose will look like.
I hope that helps█ For Reliable and Affordable Web Hosting Packages, Please visit kooshin.com
█ KooshinDesigns.com- Version One Online
█ ArticleStorage.com- Your #1 Resource For Articles
█ 4Ulyrics.com -- The Lyrical Hideout, For Sale - Email me for details.