Please upgrade here. These earlier versions are no longer being updated and have security issues.

Explanation Needed for JSConnect

This discussion is related to the Vanilla jsConnect addon.

Hi,
I have JSConnect working and when it works it's awesome! Thank you!

But every now and then, we get an error: "Whoops! Timestamp is invalid".

I've found where the error comes from: Lines 48-49 in this file https://github.com/vanilla/jsConnectPHP/blob/master/functions.jsconnect.php

But I don't know they why is it caused? And what can I do to prevent it for my clients (if anything)?

Thank you in advance!

Sincerely,
Chris Martinez

Comments

  • Either your users are timing out or there is a problem with your timestamp. I guess you should dig to see clearer what is happening when this error is produced.

    Timeout code is near the top of that file.
    define('JS_TIMEOUT', 24 * 60);

    chrismartinez99
  • Thanks!!

Sign In or Register to comment.