2 bugs fixed:
open account.php & find :
Code:
htmlspecialchars($CURUSER["age"]) . "\" disabled
& replace with:
Code:
htmlspecialchars($CURUSER["age"]) . "\" readonly
Open torrents-upload.php , find
Code:
$descr = sqlesc($_POST['descr']);
& replace with:
Code:
$descr = $_POST['descr'];
(this will fix "rnrn" chars from torrent description) (on windows)
if i will found another bugs , i will post in the same topic,
My advice: watch every time this topic
Last fix 17.04.2009
for who receive this error
Code:
Warning: Invalid argument supplied for foreach() in Q:\trackerwindows\xampp\htdocs\torrents-details.php on line 357
Just replace your old files with this
11.05.2009
open uploadapps.php
find:
Code:
if ($action == "show")
$hide = "[<a href=/uploadapps.php>Hide accepted/rejected</a>]";
else {
$hide = "[<a href=/uploadapps.php?action=show>Show accepted/rejected</a>]";
$where = "WHERE status = 'pending'";
$where1 = "WHERE uploadapp.status = 'pending'";
}
replace with:
Code:
if (!$action || $action == "show") {
if ($action == "show")
$hide = "[<a href=".$site_config['SITEURL']."/uploadapps.php>Hide accepted/rejected</a>]";
else {
$hide = "[<a href=".$site_config['SITEURL']."/uploadapps.php?action=show>Show accepted/rejected</a>]";
$where = "WHERE status = 'pending'";
$where1 = "WHERE uploadapp.status = 'pending'";
}
tnx to Markus Torstensson