WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000631WeBidAuctionspublic2017-09-10 18:092017-10-25 12:55
ReporterCiervo 
Assigned To 
PrioritynormalSeverityminorReproducibilityrandom
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.2.2 
Target VersionFixed in Version 
Summary0000631: Auctions
DescriptionI select the category for a new auction but it does not work stops, it stays on the link:

https://www.e-tictacshop.com/select_category.php#goto [^]

thanks for the help
Steps To Reproduce// Process category selection
$box = (isset($_POST['box']) && !empty($_POST['box'])) ? $_POST['box'] + 1 : 0;
$catscontrol = new MPTTcategories();
$cat_no = (isset($_REQUEST['cat_no'])) ? $_REQUEST['cat_no'] : 1;
$i = 0;
$POST = [];
while (true) 
{
    if (!isset($_POST['cat' . $i])) 
    {
        break;
    }
    $POST['cat' . $i] = $_POST['cat' . $i];
    $i++;
}




if (isset($_POST['action']) && $_POST['action'] == 'process' && $_POST['box'] == '') 
{
    $_SESSION['action'] = 1;
    $VARNAME = 'cat' . (count($POST) - 1);
    $_SESSION['SELL_sellcat' . $cat_no] = $POST[$VARNAME];
    $query = "SELECT left_id, right_id FROM " . $DBPrefix . "categories WHERE cat_id = :sellcat";
    $params = array();
    $params[] = array(':sellcat', $_POST[$VARNAME], 'int');
    $db->query($query, $params);
    $lft_rgt = $db->result();
    if ($lft_rgt['left_id'] + 1 == $lft_rgt['right_id']) 
    {
        if ($system->SETTINGS['extra_cat'] == 'n' || ($cat_no == 2 && $system->SETTINGS['extra_cat'] == 'y')) 
        {
            header('location: sell.php');
            exit;
        } 
        else 
        {
            header('location: select_category.php?cat_no=2');
            exit;
        }
    } 
    else 
    {
        $ERR = $ERR_25_0001;
    }
}
TagsNo tags attached.
import_id
Thread
Attached Files

- Relationships
has duplicate 0000633closedrenlok Category Selection Produces Blank Page 
has duplicate 0000632closedrenlok Auctions 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-09-10 18:09 Ciervo New Issue
2017-10-25 12:55 renlok Relationship added has duplicate 0000633
2017-10-25 12:55 renlok Relationship added has duplicate 0000632


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker