[Help] Fatal error: The requested language does not exist

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thienhi228
    New Member
    • Aug 2010
    • 15
    • 4.1.x

    [Forum] [Help] Fatal error: The requested language does not exist

    My forum of error:
    Fatal error: The requested language does not exist, reset via tools.php. in [path]\includes\functions.php on line 1905
    functions.php
    1903 if (!isset($vbphrase) AND $user['lang_options'] === null)
    1904 {
    1905 trigger_error('The requested language does not exist, reset via tools.php.', E_USER_ERROR);
    1906 }
    1907
    1908 $user['languageid'] = (!empty($languageid) ? $languageid : $user['languageid']);
    Help me, please!
  • Merjawy
    Senior Member
    • Sep 2002
    • 2613

    #2
    Are you using other language pack(s) than English language?
    To be or not to be... Where the hell is the question????
    My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

    Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
    CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
    Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

    Comment

    • thienhi228
      New Member
      • Aug 2010
      • 15
      • 4.1.x

      #3
      I am used tools.php import Language defaults and setting up [Default Language]-English but still was this error.

      Comment

      • Merjawy
        Senior Member
        • Sep 2002
        • 2613

        #4
        I guess that answers my question. Can you access AdminCP or not? If you can, try to reimport that language.
        To be or not to be... Where the hell is the question????
        My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

        Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
        CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
        Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

        Comment

        • thienhi228
          New Member
          • Aug 2010
          • 15
          • 4.1.x

          #5
          It has been corrected

          Thanks a lot!

          Comment

          • Merjawy
            Senior Member
            • Sep 2002
            • 2613

            #6
            Care to share what fixed it?
            To be or not to be... Where the hell is the question????
            My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

            Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
            CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
            Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

            Comment

            • thienhi228
              New Member
              • Aug 2010
              • 15
              • 4.1.x

              #7
              1. Added the bellow <? Php in config.php
              define ('disable_hooks', true);
              2. Upload tools.php on install folder, run it

              3. Imports default Language (In some cases, additional imports default style)

              4. Set default Language -> English

              Comment

              • Merjawy
                Senior Member
                • Sep 2002
                • 2613

                #8
                Good to hear it's been corrected.
                To be or not to be... Where the hell is the question????
                My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                Comment

                • thienhi228
                  New Member
                  • Aug 2010
                  • 15
                  • 4.1.x

                  #9
                  But now it is a new error, related to cache?


                  Do you know how to fix it? ^_^

                  Comment

                  • postcd
                    Member
                    • Feb 2012
                    • 65
                    • 4.2.5

                    #10
                    In my case it helped to do upgrade of vbuleltin (i just uploaded original /install directory) and pointed my browser to it.
                    vBulletin hosting from $0.5 monthly

                    Comment

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