Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Fatal error - help needed!

$
0
0

Hi all,

 

I was trying to update Tapatalk (from 3.9 to 4.2) on my forum (phpBB 3.0.12) and I get this error when I get to the external installer link (if anyone here's familiar with Tapatalk?) 

 

 

 

Fatal error: Cannot redeclare get_tapatlk_location() (previously declared in /forum/mobiquo/include/function_hook.php:4) /forum/mobiquo/hook/function_hook.php on line 62

 

Here is some of the code from that file, starting at line 50 going down to 62.

 break;
        case "viewonline.php":
            $param_arr['location'] = 'online';
            break;
        default:
            $param_arr['location'] = 'index';
            break;
    }
    $queryString = http_build_query($param_arr);
    $url = generate_board_url() . '/?' .$queryString;
    $url = preg_replace('/^(http|https)/isU', 'tapatalk', $url);
    return $url;
    }

Any ideas? 


Viewing all articles
Browse latest Browse all 13200

Trending Articles