Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 26th January 2013, 09:08
keijo keijo is offline
Member
 
Join Date: Jul 2012
P2P
Posts: 2
Default 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
Reply With Quote
  #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)
  #3  
Old 26th January 2013, 16:21
keijo keijo is offline
Member
 
Join Date: Jul 2012
P2P
Posts: 2
Default
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
Attached Thumbnails
noava.jpg  

Last edited by keijo; 26th January 2013 at 17:51.
Reply With Quote
Reply

Tags
errors

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 13:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.