Announcement

Collapse
No announcement yet.

Bug 5.1.1 /core/includes/functions.php on line 4277

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

  • Bug 5.1.1 /core/includes/functions.php on line 4277

    Есть: return vB_String::convertUnicodeCharToCharset(hexdec($matches[1], $charset));
    Нужно: return
    vB_String::convertUnicodeCharToCharset(hexdec($matches[1]), $charset);

  • #2
    Please see this thread and provide the information requested:
    http://www.vbulletin.com/forum/forum...swered-quickly
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      I refer a syntax error in functions.php

      Installation should be carried out before releasing the release!

      Comment


      • #4
        This isn't happening on a default installation, if it was then hundreds of people would be reporting it.

        Therefore we need the information requested by Wayne to try and diagnose the issue.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.6.0 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          this occurs when you installed, do not update

          <b>Warning</b>: hexdec() expects exactly 1 parameter, 2 given in ***/core/includes/functions.php on line <b>4277</b><br />
          <b>Warning</b>: Missing argument 2 for vB_String::convertUnicodeCharToCharset(), called in ***/core/includes/functions.php on line 4277 and defined in <b>***/core/vb/string.php</b> on line <b>623</b><br />

          hexdec requires 1 argument

          Comment


          • #6
            попробуйте произвести начальную инсталляцию vbulletin 5.1.1.
            не произвести обновление версии, а именно инсталяцию

            try the make the initial installation vbulletin 5.1.1.
            not upgrade versions, namely install the

            ----------------------------

            after correcting functions.php, line 4277
            Need: vB_String::convertUnicodeCharToCharset(hexdec($matches[1]), $charset); // «)» not there
            everything worked
            Last edited by Arnowt; Wed 14th May '14, 12:28pm.

            Comment


            • #7
              What version of PHP and MySQL is on your server? For vB5, you must have PHP5.3.7 or greater and MySQL 5.1.5 or greater and also requires that you have cURL installed. It is recommended to use PHP 5.4, or later and MySQL 5.5 or later.

              Please don't PM or VM me for support - I only help out in the threads.
              vBulletin Manual & vBulletin 4.0 Code Documentation (API)
              Want help modifying your vbulletin forum? Head on over to vbulletin.org
              If I post CSS and you don't know where it goes, throw it into the additional.css template.

              W3Schools &lt;- awesome site for html/css help

              Comment


              • #8
                not important version php and mysql
                open the file «/core/includes/functions.php» and look at you there is a syntax error

                http://php.net/manual/en/function.hexdec.php

                Comment


                • #9
                  This is my line 4277 in the functions.php file of 5.1.1:

                  PHP Code:
                              return vB_String::convertUnicodeCharToCharset(hexdec($matches[1], $charset)); 
                  I don't know how yours could be missing the ending ")"

                  Your's also has one right after the [1] which isn't in my line.

                  Please don't PM or VM me for support - I only help out in the threads.
                  vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                  Want help modifying your vbulletin forum? Head on over to vbulletin.org
                  If I post CSS and you don't know where it goes, throw it into the additional.css template.

                  W3Schools &lt;- awesome site for html/css help

                  Comment


                  • #10
                    /core/includes/functions.php line 4277

                    have: return vB_String::convertUnicodeCharToCharset(hexdec($matches[1], $charset)); //error
                    need: return vB_String::convertUnicodeCharToCharset(hexdec($matches[1]), $charset);//good
                    Last edited by Arnowt; Wed 14th May '14, 1:31pm.

                    Comment


                    • #11
                      I see what you mean now. But it is very odd that you are the only one who is getting this error. I will enter it into Jira. http://tracker.vbulletin.com/browse/VBV-12679

                      Please don't PM or VM me for support - I only help out in the threads.
                      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                      Want help modifying your vbulletin forum? Head on over to vbulletin.org
                      If I post CSS and you don't know where it goes, throw it into the additional.css template.

                      W3Schools &lt;- awesome site for html/css help

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X