Thread: few errors
View Single Post
  #2  
Old 26th January 2013, 12:01
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
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 "<b>DEBUG: stdhead Wrapper ON/Kill php gen further</b>";//remove later
    }
        begin_frame("<font color=red>". htmlspecialchars($title) ."</font>");
        print("<p><CENTER><B>" . stripslashes(sqlesc($message)) . "</B></CENTER></p>\n");
        end_frame();

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

Last edited by fireknight; 26th January 2013 at 12:08. Reason: Found a version on my HDD
Reply With Quote
The Following User Says Thank You to fireknight For This Useful Post:
keijo (27th January 2013)