 |
 |
 |
 |
#129933 - 12/15/01 01:35 PM
Closing Topic Error
|
Member
Registered: 06/04/00
Posts: 510
Loc: USA
|
I get this error when I try to close a topic: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">An error has occured:
Can't obtain exclusive lock: Bad file descriptor at /home/coders-n/public_html/ultanime/cgi-bin/ubb_lib_files.cgi line 572.
Please inform the board administration of this error so that they may fix the problem. Thank you!</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">
Here are lines above and after line 572: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">sub sh_lock { flock(FILE, LOCK_SH) or die "Can't obtain shared lock: $!"; } #end shared lock sr
sub lock { flock(FILE, LOCK_EX) or die "Can't obtain exclusive lock: $! "; } #end lock sr
sub unlock { flock(FILE, LOCK_UN) or die "Can't release lock: $!"; } # end unlock sr</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">
_________________________
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#129934 - 12/15/01 01:39 PM
Re: Closing Topic Error
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
Make sure your files are uploaded int he prope forumat. All fiels have proper permissions (*.cgi = 755 : vars*.cgi = 777) Then if you still have the error revert back to your old copies (you did make backup right?) and try re-hacking.
I find I make simple little mistakes like these when I am working on the system...
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#129935 - 12/15/01 02:04 PM
Re: Closing Topic Error
|
Member
Registered: 06/04/00
Posts: 510
Loc: USA
|
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by 1QuickSI: Make sure your files are uploaded int he prope forumat. All fiels have proper permissions (*.cgi = 755 : vars*.cgi = 777) Then if you still have the error revert back to your old copies (you did make backup right?) and try re-hacking.
I find I make simple little mistakes like these when I am working on the system...</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif"> Yeah I CHMODed all fine, and uploaded all fine, but as for the backup, I'm not sure, well I mean I have a backup, but I was doing lots of hacks last night so I'm not sure which backup it's from and I don't wanna do alot of hacks over if I did this hack before a whole bunch. Also I can close the topic by clicking the close topic link when I reply, just can't from manually clicking the button. So if anyone could help me I'd be greatly appreciated. BTW I'm running 6.1.0.3, my forum url is http://www.ultanime.net/cgi-bin/ultimatebb.cgi & all of the hacks I have installed so far are: AIM ICQ YHOO Anchor Avatar Content Enforcer Custom Status Hyper Cells Last Post Profile Last Reply By Memberlist Mod Log Mod Wordlets MyStyle Name Effects Nick Ban No Count To Forum PM System Smile Mod Welcome PM Who's Online Who's Online Addon UBB Code Buttons Sticky Topics You can also contact me on AIM @ ptnmew. Thanks!
_________________________
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#129941 - 12/17/01 06:28 PM
Re: Closing Topic Error
|
Member
Registered: 06/04/00
Posts: 510
Loc: USA
|
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by tazman: take out the modlog hack then that should sort it as i just installed it and got the error again removed it and now works fine</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok thanks, I'll go and remove that hack now and report back here when i'm done hopefully that it'll work <img src="smile.gif" border="0" alt="" /> .
_________________________
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#129943 - 12/18/01 02:59 AM
Re: Closing Topic Error
|
Junior Member
Registered: 06/08/01
Posts: 22
Loc: uk
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|