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 4 of 4

Thread: HELP - getting PHP Fatal error -

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    4

    Question HELP - getting PHP Fatal error -

    Hi there,

    I've just bought vBET and followed all the instructions twice (after restoring) and getting the same error message - I just get a blank screen when trying to just view the forum index.


    I'm getting

    "PHP Fatal error: Class 'vB_Template' not found in /(my server path)/httpdocs/forum/includes/vbenterprisetranslator_functions_hooks.php on line 689 (in Bold below)

    Whilst I'm reasonable on some PHP I really don't know where to look to discover what is right or not, so would really appreciate some help please.

    function vbet_parse_templates(&$template_hook) {
    $template_hook['headinclude_css'] .= '<link rel="stylesheet" type="text/css" href="images/vbet/flags/vbet.css"/>';
    require_once(DIR. '/includes/vbenterprisetranslator_functions_url.php');
    if ($_REQUEST['language']) {
    vbet_handleTextDirection($_REQUEST['language']);
    vB_Template_Runtime::addStyleVar('languagecode', $_REQUEST['language']);
    $encoding = &vB_Template_Runtime::fetchStyleVar('charset');
    if ($encoding != 'utf-8') {
    define('VBET_ORIGINAL_ENCODING', $encoding);
    vB_Template_Runtime::addStyleVar('charset', 'utf-8');
    }
    }
    global $vbenterprisetranslatorflags, $vbulletin;
    $vbenterprisetranslatorflags = '';
    if (!VBET_IS_ACTUAL_IGNORED && (!$vbulletin->options['vbenterprisetranslator_flags_guestsonly'] || !$vbulletin->userinfo['userid'])) {
    $templater = vB_Template::create('vbenterprisetranslator_flags');
    $linkstitle = $vbulletin->options['vbenterprisetranslator_linkstitle'];
    $translations =& vbet_getActiveTranslationsForUser();
    foreach ($translations as $code => $name) {


    I am using vbSEO (v3.5.2) with vBulletin 3.8.6 PL1 and made all the file changes appropriate for "vbSEO installed" but getting nowhere fast..


    I'd really appreciate any pointers in the right direction please

    Many thanks in advance.
    gmhastings

  2. #2
    Junior Member
    Join Date
    Aug 2010
    Posts
    4

    Default

    Also should add my charset is ISO-8859-1 (not utf-8)

  3. #3
    Junior Member
    Join Date
    Aug 2010
    Posts
    4

    Default

    Jeez I'm such a fool! I downloaded V4 but I'm using the earlier version of vBulletin.. gonna restore and try again ..

    Please set this to resolved for now

    Sorry to waste your time

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

    Default

    Thanks for confirmation - solved

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
  •