UBB.Dev
Posted By: josh Closing Topic Error - 12/15/2001 9:35 PM
I get this error when I try to close a topic:
quote:
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!



Here are lines above and after line 572:
quote:
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

Posted By: 1QuickSI Re: Closing Topic Error - 12/15/2001 9:39 PM
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...
Posted By: josh Re: Closing Topic Error - 12/15/2001 10:04 PM
quote:
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...


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!
Posted By: josh Re: Closing Topic Error - 12/16/2001 8:09 AM
^bump^
Posted By: josh Re: Closing Topic Error - 12/16/2001 7:58 PM
^bump^

Sorry to bump again but I really need help to get this fixed ;_;.
Posted By: tazman Re: Closing Topic Error - 12/17/2001 2:58 PM
hello mate i had the same problem and then upgraded to 6.1.0.3 and that sorted it
Posted By: josh Re: Closing Topic Error - 12/17/2001 5:06 PM
i am on 6.1.0.3
Posted By: tazman Re: Closing Topic Error - 12/17/2001 10:21 PM
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
Posted By: josh Re: Closing Topic Error - 12/18/2001 2:28 AM
quote:
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

Ok thanks, I'll go and remove that hack now and report back here when i'm done hopefully that it'll work .
Posted By: josh Re: Closing Topic Error - 12/18/2001 2:39 AM
Thank you so much, I took out that hack and now everything works great.

Thank you so much man ^_____^!!!
Posted By: tazman Re: Closing Topic Error - 12/18/2001 10:59 AM
no problem mate anytime
© UBB.Developers