Cannot set poll timeout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • In Omnibus
    Senior Member
    • Apr 2010
    • 2310

    #16
    There is enough in the screenshots to see that it is a 500 error. That's a server issue. Are polls the only JS that you're getting errors from? Does your server require a different time format? If it's based outside the U.S. it probably uses something other than the default h:i A 12 hour format. You would need to ask your hosting provider but it might require H:i 24 hour time format or d-m-y date format. I can't think of anything else that might be causing that specific issue.

    Comment

    • BulliM
      Senior Member
      • Oct 2012
      • 497

      #17
      Shure it is. In Germany we use an other format. I use normally %d.%m.%Y. But that error also results within english language format.

      My php.ini says:

      ; Default timestamp format.
      ibase.timestampformat = "%Y-%m-%d %H:%M:%S"

      ; Default date format.
      ibase.dateformat = "%Y-%m-%d"

      ; Default time format.
      ibase.timeformat = "%H:%M:%S"
      But I think, you're right, because in first screenshot, you see date format is 11-7-2018 12:00 and cannot be set. So I set timeout in database for that node and when I now edit this post, date format displays 07-11-2018 12:00 PM. Maybe that english format will not well translated to timestamp by any script function?

      EDIT: I now try to set 11-11-2018 12:00 PM by editing post but this also not work properly.
      Last edited by BulliM; Mon 5 Nov '18, 6:12am.

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74123

        #18
        The time is saved as a UNIX timestamp so the format of the time and date should only be applied afterward. As far as I am aware, we don't use the values specified in the php.ini and those wouldn't apply to Javascript anyway. What are the Locale values that you have set in the AdminCP for your language? The date picker should inherit these values.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • BulliM
          Senior Member
          • Oct 2012
          • 497

          #19
          Originally posted by Wayne Luke
          What are the Locale values that you have set in the AdminCP for your language? The date picker should inherit these values.
          German: d-m-Y H:i
          English: default

          Data picker works as you say. English: 11-07... German 07-11..

          Comment

          • delicjous
            Senior Member
            • Mar 2014
            • 499
            • 6.X

            #20
            I could also recreate this on my forum.

            HTML Code:
               x @ footer-rollup-544rc1.js:320  
            setTimeout (async)      
            t @ footer-rollup-544rc1.js:320  
            a.fn.ajaxSubmit @ footer-rollup-544rc1.js:320  
            (anonymous) @ footer-rollup-544rc1.js:320  
            dispatch @ jquery.js:4435  
            r.handle @ jquery.js:4121
            Code:
            n.Event = function(a, b) {
                    return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a,
                    this.type = a.type,
                    this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? Z : $) : this.type = a,
                    b && n.extend(this, b),
                    this.timeStamp = a && a.timeStamp || n.now(),
                    void (this[n.expando] = !0)) : new n.Event(a,b)
                }
            This is what chrome show as the error code-region.

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 74123

              #21
              Please create a bug report so we can have the developers look into the issue.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              • BulliM
                Senior Member
                • Oct 2012
                • 497

                #22
                I've reported issue there: https://tracker.vbulletin.com/vbulle...sues/VBV-18918

                Comment

                • BulliM
                  Senior Member
                  • Oct 2012
                  • 497

                  #23
                  Resolved after upgrade to 5.4.5.

                  Comment

                  Related Topics

                  Collapse

                  Working...