Two problems...
1. ../skin/common_files/order_info.tpl doesn't exist. This is in the 2nd step of your guide, where you say to add the long Javascript code. Should it be skin/common_files/main/order_info.tpl instead?
2. The code
Code:
$orders = func_query("SELECT $sql_tbl[orders].* $search_condition ORDER BY $sort_string LIMIT $first_page, $objects_per_page");
doesn't exist in my includes/orders.php. The only thing similar is
Code:
$orders = func_query("SELECT $sql_tbl[orders].*, $sql_tbl[customers].id AS existing_userid, $sql_tbl[customers].login $search_condition ORDER BY $sort_string LIMIT $first_page, $objects_per_page");
The version I have for 4.4.4 is marked
$Id: orders.php,v 1.126.2.12 2011/09/19 05:46:13 aim Exp $