MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
queue-array-representation broken
Current time: 08-09-2020, 10:04 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
queue-array-representation broken
04-19-2012, 12:11 AM
Post: #1
queue-array-representation broken
Hi,
the file-representation of the queue of one of my agents (named ".tmp/[hash].queue") was an empty file. The effect was an error message "Sorry, that test location already has too many tests pending. Pleasy try again later." (from runtest.php) every time a test for respective agent was run.
I just deleted the hash-file representing the queue and everything works again (file was written newly).

Any experience with that? Any idea which process could clear the file-representation of queue?

Maybe line 1586 in function LoadJobQueue (common.inc)
Code:
if(is_file($queueFile))
should proof whether file is empty, too:
Code:
if(is_file($queueFile) && !(file_get_contents($queueFile) == ''))
Regards Nils
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
queue-array-representation broken - nilskuhn - 04-19-2012 12:11 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)