View Single Post
  #3  
Old 10th June 2008, 20:41
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default re: YSE v2.0 PRE7 by BoLaMN
Code:
Fatal error: Call to undefined function newerr() in C:\xampp\htdocs\include\functions.php on line 524
Sees to work fine if I comment out that line :)

bookmarks.php

FIND
Code:
?>
stdhead($tracker_lang['bookmarks']);
REPLACE
Code:
stdhead($tracker_lang['bookmarks']); ?>
takedelbookmark.php

FIND
Code:
newerr(($tracker_lang['error'], "No selection",true,true);
REPLACE
Code:
newerr($tracker_lang['error'], "No selection",true,true);
message.php

FIND
Code:
stdsuccsess($tracker_lang['success'] , $message_lang['sendsucessfull']);
REPLACE
Code:
stdsuccess($tracker_lang['success'] , $message_lang['sendsucessfull']);
FIND
Code:
$res = sql_query('SELECT * FROM ".TABLE_MESSAGES." WHERE id=' . sqlesc($pm_id) . ' AND (receiver=' . sqlesc($CURUSER['id']) . ' OR sender=' . sqlesc($CURUSER['id']) . ') LIMIT 1') or sqlerr(__FILE__,__LINE__);
REPLACE
Code:
$res = sql_query("SELECT * FROM ".TABLE_MESSAGES." WHERE id=" . sqlesc($pm_id) . " AND (receiver=" . sqlesc($CURUSER['id']) . " OR sender=" . sqlesc($CURUSER['id']) . ") LIMIT 1") or sqlerr(__FILE__,__LINE__);
include/functions_global.php

FIND
Code:
function stdsuccess($heading = '', $text = '') {
AFTER ADD
Code:
stdhead();
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\userdetails.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\userdetails.php:49) in C:\xampp\htdocs\include\functions.php on line 710

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\userdetails.php:49) in C:\xampp\htdocs\include\functions.php on line 711

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\userdetails.php:49) in C:\xampp\htdocs\include\functions.php on line 712

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\userdetails.php:49) in C:\xampp\htdocs\include\functions.php on line 713

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\userdetails.php:49) in C:\xampp\htdocs\include\functions.php on line 714
If I comment out the above lines all appears fine.
Reply With Quote