|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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 |
The Following User Says Thank You to fireknight For This Useful Post: | ||
keijo (27th January 2013)
|
#3
|
|||
|
|||
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 Last edited by keijo; 26th January 2013 at 17:51. |
Tags |
errors |
|
|