Peace2u Posted October 17, 2014 Share Posted October 17, 2014 Dear Jim, New post, other issue with the orders_by_vendors.php, tried and searched really a lot but with no results (still learning I guess....) Problem description / information: - There is no data displayed per vendor. - When the filters are clicked the values for the filters are not set and selected vendor_ID is set to 0. - OSC version 2.3.4 - MySQL 5.5.36 - PHP Version: 5.3.28 What I have done till now (besides Google a lot): - Tried the file in your link (rar file). - Changed all to _GET and _POST, no result for both. - Added code below in application_top: $HTTP_GET_VARS = $_GET; $HTTP_POST_VARS = $_POST; $HTTP_ENV_VARS = $_ENV; $HTTP_SERVER_VARS = $_SERVER; $HTTP_COOKIE_VARS = $_COOKIE; $_REQUEST = array_merge($_GET, $_POST, $_COOKIE); - Added code below at the end of the file: print '<pre>'; print '$vendors_id = ' . ($vendors_id) . '<br>'; print '$sent = ' . ($sent) . '<br>'; print '$line_filter = ' . ($line_filter) . '<br>'; print '$status = ' . ($status) . '<br>'; print '$sort_by_filter = ' . ($sort_by_filter) . '<br>'; print '$languages_id = ' . ($languages_id) . '<br>'; print '$vendors_orders_data_query = '; print_r ($vendors_orders_data_query); print '<br>'; print '$vendors_orders_data = '; print_r ($vendors_orders_data); print '<br>'; print '$vendors_orders = '; print_r ($vendors_orders); print '<br>'; print '</pre>'; exit; The result is displayed below when I select a vendor (on opening vendor_id = 0). When I click a filter the vendor_id is set to 0 again. $vendors_id = 1$sent =$line_filter = desc$status =$sort_by_filter = orders_id$languages_id = 2$vendors_orders_data_query = mysqli_result Object([current_field] => 0[field_count] => 2[lengths] =>[num_rows] => 7[type] => 0)$vendors_orders_data =$vendors_orders = Hope you / someone can help me with some directions where to search further (it will probably be the solution for the other problems). Kind Greetings, Fabien Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.