i cannot delete the server root and data root folders.. [message #8726] |
Tue, 18 February 2003 04:11 |
genqs
Messages: 4 Registered: February 2003 Location: qScity
Karma: 0
|
Junior Member |
|
|
hi there,
i have installed, no, i have tried to install the forum, but i have done something wrong. however, now i want to delete the files and folders, that have been generated during the installation.
when i try to delete a folder (i.e. "server root/images") with my ftp client says "permission denied".
how can i delete the folders, generated during the installation?
..to install the forum in another directory after that.
info: there is php safe mode on my web-server.
thanks a lot in advance
bye
gen
hey, great forum btw. nice spell-checking
--update
my ftp client program told me, that the folders, which were created during the installation, are created by user "wwwrun"
... can ich delete all the files and folders with a php-scipt or something like that?
server root and server data are installed in a folder called "forum". does anyone know a php-scipt, that maybe can delete everything in that specified folder, no matter if these files were created by "wwwrun"?
please help
gen
[Updated on: Tue, 18 February 2003 19:47] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: I need help with this too... [message #10124 is a reply to message #10122] |
Tue, 20 May 2003 18:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
uninstall.php is part of the 2.5.0 release. You can download that release and inside it you will find the un-install script which can be used against any FUDforum release.
FUDforum Core Developer
|
|
|
|
Re: I need help with this too... [message #10128 is a reply to message #10127] |
Tue, 20 May 2003 18:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Just download the intall archive from the webiste and decompress it with your favorite decompression utility. You should get a few files one of them being install.php (don't need it) and the other uninstall.php (you need it).
FUDforum Core Developer
|
|
|
|
|
Re: I need help with this too... [message #10132 is a reply to message #10131] |
Tue, 20 May 2003 18:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you want to 'unprotect' the files, you can use the "Lock/Unlock Forum's Files" admin control panel to unlock all of the forum's files.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: I need help with this too... [message #10157 is a reply to message #10155] |
Wed, 21 May 2003 13:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Un-protect script or more precisely option already exists. Just go to the admin control panel and use the "Lock/Unlock Forum's Files" option to either protect or un-protect forum's files.
FUDforum Core Developer
|
|
|
Re: I need help with this too... [message #10160 is a reply to message #10157] |
Wed, 21 May 2003 13:18 |
|
stevie
Messages: 35 Registered: May 2003 Location: Boston area, USA
Karma: 0
|
Member |
|
|
either I'm missing your point or you're missing mine
The built-in script is fine if fudforum is running.
But if for some reason fudforum isn't running, it would be good to have an external php script to unprotect those folders.
For instance, let's say that you have fudforum running fine, and then all of the sudden some problem happens that disables fudforum. For instance, one of the crucial php scripts is corrupted, or the mysql server goes down, or something like that. There are various conditions that could cause fudforum to not operate. In a situation like that the admin would want to debug the problem which might involve poking around in the fodforum folders (looking at logs, figuring out if one of the php scripts is bad, etc.)
I'm a newbie but maybe I'll try to figure out such a script - I just assume it would be trivial for you and may help us to debug our own problems rather than rely on you so much. -Steve
|
|
|
Re: I need help with this too... [message #10178 is a reply to message #10160] |
Thu, 22 May 2003 14:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
hmm...
I guess I could write an unprotect.php that would 'unlock' the forum's files. Although the situation you've described is pretty darn unlikely. Because even if you messed up the forum's file you usually will still be able to login via the admin control panel.
FUDforum Core Developer
|
|
|