Because you did not read.
Read carefully and follow instructions
From which file?
Because you did not read.
Read carefully and follow instructions
From which file?
config.php
I donāt see how that code would make any connections.
All what it will do is to retrieve the full link base on a relative path, and thatās all.
I know that you have codes above, but since you explicity asked for this part, thatās all of my answer.
Because there is no index file in the folder. When a hosting server tries to load a website folder, it will look for a file called index.php, index.html or index.htm, which will be loaded as the āhome pageā of that folder. If no such file exists, youāll see a 403 error.
Please choose which page you want to have as your websiteās home page, and rename it to index.php so it gets loaded as the main page.
Defining a constant and a function in PHP isnāt go to do anything if the PHP code isnāt triggered. Which is the case here: our servers have no idea how to use your website code to render a page because the right files donāt exist in the expected location.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.