Can't find templates [message #20961] |
Fri, 05 November 2004 13:44 |
Rose
Messages: 3 Registered: November 2004
Karma: 0
|
Junior Member |
|
|
In your explanation of the Templating System (thanks by the way, it's pretty good) - it says "If you look at the FUDForumData/thm/default folder, you'll see tons of .tmpl files."
The thing is, I don't see ANY .tmpl files - I don't even have a default folder. I didn't seem to have any problems when I installed the forum, and everything seems to be working fine (just testing it right now) - but on looking at the server directories, I don't seem to have anything in ANY of those folders.
Any suggestions?
Thanks!
|
|
|
Re: Can't find templates [message #20963 is a reply to message #20961] |
Fri, 05 November 2004 14:08 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Sounds like you simply don't have permissions to access those folders, I presume you are trying to browse them via FTP or SHELL?
To see them you need to unlock your forum or use the build-in file manager.
FUDforum Core Developer
|
|
|
|
Re: Can't find templates [message #20967 is a reply to message #20964] |
Fri, 05 November 2004 15:50 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Which version of the forum are you using?
The warning you saw was the result of a bug in a certain version of PHP, there is a workaround for it in later versions of the forum.
FUDforum Core Developer
|
|
|
|
|
Re: Can't find templates [message #20980 is a reply to message #20961] |
Sat, 06 November 2004 15:03 |
Abraxa
Messages: 72 Registered: August 2004 Location: Germany
Karma: 0
|
Member |
|
|
Quote: | I then tried to uninstall it manually (by removing the FUD files and directories, but I wasn't able to do that either, using my FTP client as well as the server file manager. I believe this to be a server problem.
|
I'm not sure how familiar you are with the unix/linux family of operating systems, however the explanation for that is rather simple:
For security reasons, the web server (usually Apache) has its own user account on the server that allows the server manager to only give that user the minimum permissions that the web server needs.
For every customer the server admin usually makes another account on the server so that he/she can do the things in his/her user directory that the server admin allows him/her to do.
The problem that arises here is that when you log in through FTP/SSH/SCP/whatever, you have the permissions that the admin granted your user account - meaning you can delete all files you created since they were created by... you.
Once you run the FUDforum installation script and install the forum, those files however were created by the web server (!), meaning they were created with the permissions that the user was granted that the web server runs under.
Those files cannot be deleted by you since your user account simply doesn't have the permission to access the files that the webserver user created.
That's the reason why you can't access any files in the forum's directories and why you can't delete them either.
The uninstall script runs under the same user as the installation script however - which means that if the uninstallation script fails, the server admins most likely messed up.
In theory you should've been able to delete the files from the server file manager but maybe they made it so it runs under your personal user just as if you were logged in from FTP. What could help you here is a file manager that runs with the web server's permissions. There are a couple of those and even though I couldn't find any that allows recursive CHMOD or recursive deletion of directories they still might be useful for you.
I'd personally recommend http://www.solitude.dk/filethingie/ since you can password-protect it, it's fast and it's only a single file.
-Abraxa
|
|
|