View Single Post
  #3  
Old 02-17-2021, 01:46 PM
PixelRobot PixelRobot is offline
Member
 
Join Date: Feb 2021
Posts: 16
Gender: Female
Credits: 2,631
PixelRobot is on a distinguished road
Default

Quote:
Originally Posted by parayna View Post
Are you talking about the index.php file? That should be in your public_html folder (the root folder) not in your templates folder. If you mean index.htm file, that shouldn't affect whether your site can access the index page. I was able to remove index.htm from my templates folder and the site was fine.

Check if you have an index.php page

Also if you're using an online host for your site and all the files are as they should be then it might be an issue with your host. I have a script hosted on GoDaddy and I had so much trouble setting it up. Everything was a fresh install and yet it couldn't find the index page and just said it didn't exist.

I ended up having to wait a few days, change the PHP version my site used multiple times, reset all the files, reinstall the script... and it finally worked. Still not entirely sure why it didn't work the first few times
It is in the public_html folder. I'm using Altervista to host, and haven't had problems with it before (although not with this particular script).

The error is:

The directory / does not contain an index file.

You have to create a page called index.html, index.htm or index.php (lower case).

Warning: if you have just activated your site you might have to wait up to 24 hours before it is visible.
Reply With Quote