Announcement

Collapse
No announcement yet.

Cannot set poll timeout

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #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


    • #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 5th Nov '18, 6:12am.

      Comment


      • #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 customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #19
          Originally posted by Wayne Luke View Post
          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


          • #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.
            vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
            Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters, FavIcon Notifications, Memberlist-Name-Search, New&Free: vB5 MemberMap

            Comment


            • #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 customization and demonstration site.
              vBulletin 5 Documentation - Updated every Friday. Report issues here.
              vBulletin 5 API - Full / Mobile
              I am not currently available for vB Messenger Chats.

              Comment


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

                Comment


                • #23
                  Resolved after upgrade to 5.4.5.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X