By: desbest
Date: 2009-11-13
Time: 20:52
|
Tinybutstrong fails to know what the php to execute code from if accessed from the root directory.Tinybutstrong fails to know what the php to execute code from if accessed from the root directory.
http://asurfer.co.tv looks weird doesn't it? It is showing http://asurfer.co.tv/index.html When http://asurfer.co.tv/index.php is shown TBS knows that index.php is the file being used. But it doesn't know that when accessed from the root directory. Any fix please? |
||
By: TomH
Date: 2009-11-13
Time: 23:28
|
Re: Tinybutstrong fails to know what the php to execute code from if accessed from the root directory.This is a problem of configuring the webserver to recognize the default index files in the order you want
For using TBS that way you have the pages written you want the order to be index.php, index.html If you cannot adjust the server configuration, try (1) remove the index.html file (temporarily rename it) (2) browse to http://asurfer.co.tv see if the server will detect the index.php file (temporary put an 'echo' statement to show on screen) If that works then you can rename the .html file to index.tpl and do $TBS->LoadTemplate(index.tpl) Keep us posted, TomH |
||
By: desbest
Date: 2009-11-15
Time: 19:41
|
Re: Tinybutstrong fails to know what the php to execute code from if accessed from the root directory.I fixed the error.
I had
I removed the stupid html and body tags and then it worked. By the way, those stupid html tags were unclosed. |