BotBrs online bug
BotB Academy Bug Reports and Feature Requests
 
 
Level 22 Chipist
uUni
 
 
 
post #49252 :: 2014.11.04 7:39pm ::
  
  goluigi liēkd this
 
 
Level 24 Grafxicist
Ktcmoop
 
 
 
post #49258 :: 2014.11.04 7:45pm ::
Kind of a similar "no such file or directory" error here too
http://puu.sh/cDOD6/05f952936c.jpg

Also what's with the votes still being open?
 
 
Level 30 Hostist
puke7
 
 
 
post #49277 :: 2014.11.05 12:13am ::
  
  goluigi and Savestate liēkd this
This is blowing my mind. The code reads --
if (is_file($this->file)) {
$this->content = '';
unlink ($this->file);
}
So how could it error on a missing file after it checks that it's there? I'd say maybe there's some weird chance that more than one user is resetting/clearing the cache at the same time. Has anyone else ever seen this?
 
 
Level 22 Playa
xterm
 
 
 
post #49314 :: 2014.11.06 6:42pm ::
if different requests are happening asynchronously and trying to access a file with an identical name, you could be getting a race condition. not sure how the guts of this thing work but maybe you can set it up to just ignore this error (i.e. not output it to the page)?
 
 
Level 30 Hostist
puke7
 
 
 
post #49403 :: 2014.11.10 12:47pm ::
  
  Savestate and uUni liēkd this
@unlink() seems to be the answer!
 
 
Level 22 Chipist
uUni
 
 
 
post #49406 :: 2014.11.10 1:46pm ::
awesome work!
 
 

LOGIN or REGISTER to add your own comments!