|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
After upgrading to version 7.4 and loading the home page I get:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\WEB SITES\GIFTEDISSUESTHREADS\BB\libs\smarty\internals\core.write_file.php on line 27
Any ideas on how I can fix this? Help please!!
Travis
|
|
|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
LINE 26:// write to tmp file, then rename it to avoid file locking race condition
LINE27:$_tmp_file = tempnam($_dirname, 'wrt');
Looks like a permission issue. Where do I have to adjust this?
Travis
|
|
|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
Hmmm......
More Info.....
The \templtes\compile folder now has about 3,000 wrtxxxx.tmp files in it and growing....off the charts...
|
|
|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
Correction - It created 65,535 tmp files.....server coming to knees...
|
|
|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
I just deleted all of them, and now it loads again, but it has already created 400 new tmp files.....
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Hmm, I'd wipe out everything in the templates/compile folder, excluding the index.html file. It could be that one of the old compiled templates wasn't writeable, and it got stuck in a loop (I need to see if that's actually happening and why it didn't die instead).
|
|
|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
Also......the sess_ files have grown to about 30,000 or so as well.
TR
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Also check the perms on the folder itself. If you're on a windows server, make sure it has full control. It's supposed to be deleting tmp files when it's done with them.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
UBB.threads doesn't do any explicit deletes on the session files since session cleanup is supposed to be handled by php itself. It sounds like for some reason files can't/aren't being deleted.
|
|
|
|
Joined: Feb 2004
Posts: 138
member
|
member
Joined: Feb 2004
Posts: 138 |
OK - deleting the index.html file as well as all of the other wrt*.tmp files and all is good again....phew....
Travis
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
879
guests, and
150
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|