Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] ...please wait -1 seconds before attempting....
#1
Got this when I just tried to post:

Quote:Sorry, but you can only perform one search every 30 seconds. Please wait another -1 seconds before attempting to search again.
[Image: gfxsig0em.jpg]
Please visit GFX-Depot | My theme | Google Battle
----------------- Vote for MyBB
-----------------
#2
xiao Wrote:Got this when I just tried to post:

Quote:Sorry, but you can only perform one search every 30 seconds. Please wait another -1 seconds before attempting to search again.

-1 second? I got something like that but it was 0 seconds though Toungue wonder if it goes to -2
[Image: jag100sigaf5.jpg]
[Image: poptartFINALTINY.gif]
#3
This happens just rarely when you do a refresh at an exact moment - I don't think we can fix this, it's just a minor glitch.
#4
If a 0 props up, it means you refreshed with a fraction of a second to go, but MyBB will only show you a whole number.
#5
it probably some kind of $timeleft=$delay-$lastposttime
And the message would be shown with an IF?
But I don't see how the -1 gets through the IF...

But that might just be because I stink at PHP :p
[Image: gfxsig0em.jpg]
Please visit GFX-Depot | My theme | Google Battle
----------------- Vote for MyBB
-----------------
#6
Yeah I got that the other day. Is it worth it to put an extra few lines to make it a non-negative integer when this case only happens one in out of ten-thousand times? Toungue
Dennis Tsang
http://dennistt.net
#7
You know you could just use abs() to make it look like a positive integer Smile
#8
but that would be lying :p
[Image: gfxsig0em.jpg]
Please visit GFX-Depot | My theme | Google Battle
----------------- Vote for MyBB
-----------------
#9
xiao Wrote:but that would be lying :p

You have a problem with 1 second? >.>
#10
no, but -1 seconds is not 1 seconds Toungue
[Image: gfxsig0em.jpg]
Please visit GFX-Depot | My theme | Google Battle
----------------- Vote for MyBB
-----------------


Forum Jump:


Users browsing this thread: 1 Guest(s)