Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 7 of 7

Thread: Error in vbet_getRedirectionLanguage ()

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    5

    Default Error in vbet_getRedirectionLanguage ()

    Text automatically translated from: German to: English
    Translated text
    Hi,

    I have thousands of such errors in the error.log:

    Code:
    Call to undefined function vbet_getRedirectionLanguage() in /includes/vbenterprisetranslator_functions_hooks.php on line 952
    Line 952 or line 947, depending on which redirection method used.

    The forum and the translations work obviously. How can this be fixed?

    Thanks & Regards

    Hangman
    Original text

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Please try this quick fix:
    1. Edit file includes/vbenterprisetranslator_functions_hooks.php
    2. Find:
    PHP Code:
    function vbet_global_bootstrap_init_start2() { 
    3. Add BELOW:
    PHP Code:
    require_once(DIR'/includes/vbenterprisetranslator_functions_lang.php'); 
    Please answer me after this edit.

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    5

    Default

    Text automatically translated from: German to: English
    Translated text
    Hello,

    the fix seems to be working. Thank you.

    Now there remains one final sporadic error message:

    Code:
    PHP Fatal error:  Class 'vB_Template_Runtime' not found in /includes/vbenterprisetranslator_functions.php on line 352
    Greetings,
    Hangman
    Original text

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    can you paste here a url to the site with this message?
    Thanks

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Posts
    5

    Default

    Text automatically translated from: German to: English
    Translated text
    Yes, I can.

    The URL is Mobile FAQs

    Before the fix from the second post in my opinion, no flags were displayed when you are in a post and the language was not the default language of the forum was. That would explain the error message, but now anything goes. Error message
    Code:
    Class 'vB_Template_Runtime' not found
    is still sporadic.

    Greetings,
    Hangman
    Original text

  6. #6
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    This class: vB_Template_Runtime is automatically use by vB when vB generate your site.
    When you have this issue - your page is probably generated by mod (not vB) and this class vB_Template_Runtime (file with this class) is not in use.

    So, you should find a conflict. To do this:
    firstly: try to reproduce this issue on your site (find a thread, site, forum etc. when the message of issue is showed)
    secondly: try to disable all mods (one by one) without vBET and try to notice, When the issue disappears.

    Please, if you can find this mod - write here about it.

  7. #7
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    no answer. I think - solved. If not, please write here and I will open this thread again.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •