Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP/TPL Link Opens up As File Not Page Reply To: PHP/TPL Link Opens up As File Not Page

#149701
__
Participant

Your link is broken.

It sounds like the PHP parser is not being invoked. For .php files, this is unusual (unless your web host does not support php).

PHP files with a .tpl extension should work fine if they are included via PHP. Such files aren’t generally intended to be accessed directly.

Invoking the PHP parser can usually be done via your .htaccess file:

AddHandler php5-script .php .tpl

However, you should ask your web host before trying anything.