Maximum execution time exceeded when uninstalling? [message #23121] |
Sat, 05 March 2005 13:10 |
likesthisforum
Messages: 18 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
I get this error in FUDForum 2.6.11 when I did a test install then tried to uninstall the test install.
"Fatal error: Maximum execution time of 30 seconds exceeded in /home/me/public_html/tmp/uninstall_safe.php on line 52"
Interestingly, installing the forum itself doesn't have this error, only uninstallation. I can also make forum data dumps and restore the data dumps without ever reaching the maximum execution time, yet every uninstall attempt results in it hitting the max execution time of 30 seconds on my hoster.
My hoster is using php 4.3.10, mysql 4.0.22, apache 1.3.33 and safe mode is on in their PHP.
Any ideas?
|
|
|
|
Re: Maximum execution time exceeded when uninstalling? [message #23128 is a reply to message #23126] |
Sat, 05 March 2005 17:56 |
likesthisforum
Messages: 18 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
I added that and got:
/home/me/public_html/test (the directory where I installed the test forum on my hoster) output over and over and over... until I got the error "Fatal error: Maximum execution time of 30 seconds exceeded in /home/me/public_html/tmp/uninstall_safe.php on line 53"
|
|
|
|
Re: Maximum execution time exceeded when uninstalling? [message #23146 is a reply to message #23129] |
Sun, 06 March 2005 17:58 |
likesthisforum
Messages: 18 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Hmm. I tried applying that patch and doing the uninstall of my test forum and it still says maximum execution time exceeded with that patch. I applied the patch by hand to uninstall.php so it now looks like this (with the old lines commented out):
(Starting at line 97)
/* remove files on disk */
// fud_rmdir($SERVER_DATA_ROOT);
fud_rmdir($SERVER_DATA_ROOT.'/');
if ($SERVER_ROOT != $SERVER_DATA_ROOT && $SERVER_ROOT) {
// fud_rmdir($SERVER_ROOT);
fud_rmdir($SERVER_ROOT.'/');
}
It outputs:
"/home/me/public_html/test" (the dir where I installed my forum) over and over and over as usual until I get the error:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/me/public_html/tmp/uninstall_safe.php on line 57.
|
|
|
|
|