Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   few errors (http://www.bvlist.com/showthread.php?t=8809)

keijo 26th January 2013 09:08

few errors
 
Tested with IIS server, site works fine but tracker doesnt recognize any peers
with xampp tracker works fine but site throws these fatal errors:


I try upload torrent: Fatal error: Call to undefined function show_error_msg() in C:\xampp\htdocs\torrents-upload.php on line 278

When i try delete torrent: Fatal error: Call to undefined function show_error_msg() in C:\xampp\htdocs\torrents-edit.php on line 94

Try edit poll: Fatal error: Call to undefined function show_error_msg() in C:\xampp\htdocs\admincp.php on line 1667

Torrent category edit: Fatal error: Call to undefined function show_error_msg() in C:\xampp\htdocs\admincp.php on line 774

IIS Server: php 5.3

xampp: php 5.4.7

fireknight 26th January 2013 12:01

It is telling you, that a function is been called into use.
show_error_msg()

And it cannot find that function in the following files.

torrents-upload.php on line 278
torrents-edit.php on line 94
admincp.php on line 1667
admincp.php on line 774


You need to find where your functions are defined.
And see if the function is missing - or maybe commented out.

What version are you using ?

EDIT

I have this version
$site_config['ttversion'] = '2.00';

And in the folder backend - you will find functions.php.

You should have this function ( or something like it )
Code:

function show_error_msg($title, $message, $wrapper = "1") {
    if ($wrapper=="1") {
        stdhead($title);
        //echo "DEBUG: stdhead Wrapper ON/Kill php gen further";//remove later
    }
        begin_frame("". htmlspecialchars($title) ."");
        print("

" . stripslashes(sqlesc($message)) . "

\n");
        end_frame();

    if ($wrapper=="1"){
        stdfoot();
        die();
    }
}


keijo 26th January 2013 16:21

1 Attachment(s)
edit : nvm, sorted it out
thx fireknight

Bump: anyone could help with this?
tia

Bump: i meant that i cannot get avatars shown in torrent comments, in forum they work fine.
sorry for hassle and multiedits :P


All times are GMT +2. The time now is 22:48.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.