By alexm-1 on
I'm editing my theme on a fileshare by downloading files onto my PC and re-uploading new files onto the fileshare. When I tried to upload my page.tpl.php file, it morphed into page.tpl.php.txt. I'm fairly sure that it was a PHP file-type before the upload and I included php in the list of accepted file extensions. This strikes me as a bug and is seriously hindering my progress. Anyone have any ideas? Thanks.
Comments
1. Try renaming it (remove
1. Try renaming it (remove the .txt)
2. If you are using Windows and have the option set *not* to display file extensions (this is the default) then depending on what you used to edit the file the editor may have added .txt but this may not have been visible to you.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
1. Not sure how to rename it
1. Not sure how to rename it in the fileshare.
2. Extensions are not being hidden and it is definitely a .php file...any other ideas?
Possibly the fileshare has
Possibly the fileshare has been set up specifically not to allow files ending in .php since they contain executable code. Suggest you speak to the server/fileshare administrator.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk