Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'REDIRECTED_URLS_LIST' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'REDIRECTED_URLS_LIST' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'REDIRECTED_URLS_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'REDIRECTED_URLS_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'REDIRECTED_URLS_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'REDIRECTED_URLS_LIST' LIMIT 0,1
1: return WriteCanonicalTag();
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: run_template / line: 143 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: load_template / line: 65 / file: /home/cyber/public_html/core/global/loader_sitepages.php / class: template / object:  / type: ::
    [2] => function: preg_replace_callback / line: 223 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [3] => function: addmodule / line:  / file:  / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitepage/mod_sitepage.php / class: mod_sitepage / object:  / type: ::
    [7] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitepage/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT * 
FROM sitepages 
WHERE showing='YES'  AND (InStr(url,'products.php')>0) AND ( InStr(url,'?action=search')>0 OR InStr(url,'&action=search')>0 ) AND ( InStr(url,'?cat={STRING_VARIABLE}')=0 AND InStr(url,'&cat=')=0 ) AND ( InStr(url,'?menucode={STRING_VARIABLE}')=0 AND InStr(url,'&menucode=')=0 ) AND ( InStr(url,'?id={INT_VARIABLE}')=0 AND InStr(url,'&id=')=0 ) AND ( InStr(url,'?code={STRING_VARIABLE}')=0 AND InStr(url,'&code=')=0 ) AND ( InStr(url,'?page={INT_VARIABLE}')>0 OR  InStr(url,'&page={INT_VARIABLE}')>0 OR ( InStr(url,'?page=products')>0 OR InStr(url,'&page=products')>0 ) ) AND ( InStr(url,'?txt_search={STRING_VARIABLE}')=0 AND InStr(url,'&txt_search=')=0 ) AND ( InStr(url,'?catcode={STRING_VARIABLE}')=0 AND InStr(url,'&catcode=')=0 ) AND ( InStr(url,'?category={STRING_VARIABLE}')=0 AND InStr(url,'&category=')=0 ) AND ( InStr(url,'?sortby={STRING_VARIABLE}')=0 AND InStr(url,'&sortby=')=0 ) AND ( InStr(url,'?com_category={STRING_VARIABLE}')>0 OR  InStr(url,'&com_category={STRING_VARIABLE}')>0 OR ( InStr(url,'?com_category=02')>0 OR InStr(url,'&com_category=02')>0 ) ) AND ( InStr(url,'?com_categoryid={STRING_VARIABLE}')=0 AND InStr(url,'&com_categoryid=')=0 ) AND ( InStr(url,'?tpl={STRING_VARIABLE}')>0 OR  InStr(url,'&tpl={STRING_VARIABLE}')>0 OR ( InStr(url,'?tpl=')>0 OR InStr(url,'&tpl=')>0 ) ) AND ( InStr(url,'?key={STRING_VARIABLE}')=0 AND InStr(url,'&key=')=0 ) AND ( InStr(url,'?q={STRING_VARIABLE}')=0 AND InStr(url,'&q=')=0 ) AND ( InStr(url,'?s={STRING_VARIABLE}')=0 AND InStr(url,'&s=')=0 ) AND ( InStr(url,'?pagenum={INT_VARIABLE}')>0 OR  InStr(url,'&pagenum={INT_VARIABLE}')>0 OR ( InStr(url,'?pagenum=2')>0 OR InStr(url,'&pagenum=2')>0 ) ) AND ( InStr(url,'?brand={STRING_VARIABLE}')=0 AND InStr(url,'&brand=')=0 ) AND ( InStr(url,'?brandcode={STRING_VARIABLE}')=0 AND InStr(url,'&brandcode=')=0 ) AND ( InStr(url,'?value={STRING_VARIABLE}')=0 AND InStr(url,'&value=')=0 ) AND ( InStr(url,'?lang={STRING_VARIABLE}')=0 AND InStr(url,'&lang=')=0 ) AND ( InStr(url,'?jobid={STRING_VARIABLE}')=0 AND InStr(url,'&jobid=')=0 ) AND ( InStr(url,'?login={STRING_VARIABLE}')=0 AND InStr(url,'&login=')=0 ) 
ORDER BY rowsid DESC LIMIT 0, 1
Error Sql:
SELECT * 
FROM sitepages 
WHERE showing='YES'  AND (InStr(url,'products.php')>0) AND ( InStr(url,'?action=search')>0 OR InStr(url,'&action=search')>0 ) AND ( InStr(url,'?cat={STRING_VARIABLE}')=0 AND InStr(url,'&cat=')=0 ) AND ( InStr(url,'?menucode={STRING_VARIABLE}')=0 AND InStr(url,'&menucode=')=0 ) AND ( InStr(url,'?id={INT_VARIABLE}')=0 AND InStr(url,'&id=')=0 ) AND ( InStr(url,'?code={STRING_VARIABLE}')=0 AND InStr(url,'&code=')=0 ) AND ( InStr(url,'?page={INT_VARIABLE}')>0 OR  InStr(url,'&page={INT_VARIABLE}')>0 OR ( InStr(url,'?page=products')>0 OR InStr(url,'&page=products')>0 ) ) AND ( InStr(url,'?txt_search={STRING_VARIABLE}')=0 AND InStr(url,'&txt_search=')=0 ) AND ( InStr(url,'?catcode={STRING_VARIABLE}')=0 AND InStr(url,'&catcode=')=0 ) AND ( InStr(url,'?category={STRING_VARIABLE}')=0 AND InStr(url,'&category=')=0 ) AND ( InStr(url,'?sortby={STRING_VARIABLE}')=0 AND InStr(url,'&sortby=')=0 ) AND ( InStr(url,'?com_category={STRING_VARIABLE}')>0 OR  InStr(url,'&com_category={STRING_VARIABLE}')>0 OR ( InStr(url,'?com_category=02')>0 OR InStr(url,'&com_category=02')>0 ) ) AND ( InStr(url,'?com_categoryid={STRING_VARIABLE}')=0 AND InStr(url,'&com_categoryid=')=0 ) AND ( InStr(url,'?tpl={STRING_VARIABLE}')>0 OR  InStr(url,'&tpl={STRING_VARIABLE}')>0 OR ( InStr(url,'?tpl=')>0 OR InStr(url,'&tpl=')>0 ) ) AND ( InStr(url,'?key={STRING_VARIABLE}')=0 AND InStr(url,'&key=')=0 ) AND ( InStr(url,'?q={STRING_VARIABLE}')=0 AND InStr(url,'&q=')=0 ) AND ( InStr(url,'?s={STRING_VARIABLE}')=0 AND InStr(url,'&s=')=0 ) AND ( InStr(url,'?pagenum={INT_VARIABLE}')>0 OR  InStr(url,'&pagenum={INT_VARIABLE}')>0 OR ( InStr(url,'?pagenum=2')>0 OR InStr(url,'&pagenum=2')>0 ) ) AND ( InStr(url,'?brand={STRING_VARIABLE}')=0 AND InStr(url,'&brand=')=0 ) AND ( InStr(url,'?brandcode={STRING_VARIABLE}')=0 AND InStr(url,'&brandcode=')=0 ) AND ( InStr(url,'?value={STRING_VARIABLE}')=0 AND InStr(url,'&value=')=0 ) AND ( InStr(url,'?lang={STRING_VARIABLE}')=0 AND InStr(url,'&lang=')=0 ) AND ( InStr(url,'?jobid={STRING_VARIABLE}')=0 AND InStr(url,'&jobid=')=0 ) AND ( InStr(url,'?login={STRING_VARIABLE}')=0 AND InStr(url,'&login=')=0 ) 
ORDER BY rowsid DESC LIMIT 0, 1
Error Sql:
SELECT * 
FROM sitepages 
WHERE showing='YES'  AND (InStr(url,'products.php')>0) AND ( InStr(url,'?action=search')>0 OR InStr(url,'&action=search')>0 ) AND ( InStr(url,'?cat={STRING_VARIABLE}')=0 AND InStr(url,'&cat=')=0 ) AND ( InStr(url,'?menucode={STRING_VARIABLE}')=0 AND InStr(url,'&menucode=')=0 ) AND ( InStr(url,'?id={INT_VARIABLE}')=0 AND InStr(url,'&id=')=0 ) AND ( InStr(url,'?code={STRING_VARIABLE}')=0 AND InStr(url,'&code=')=0 ) AND ( InStr(url,'?page={INT_VARIABLE}')>0 OR  InStr(url,'&page={INT_VARIABLE}')>0 OR ( InStr(url,'?page=products')>0 OR InStr(url,'&page=products')>0 ) ) AND ( InStr(url,'?txt_search={STRING_VARIABLE}')=0 AND InStr(url,'&txt_search=')=0 ) AND ( InStr(url,'?catcode={STRING_VARIABLE}')=0 AND InStr(url,'&catcode=')=0 ) AND ( InStr(url,'?category={STRING_VARIABLE}')=0 AND InStr(url,'&category=')=0 ) AND ( InStr(url,'?sortby={STRING_VARIABLE}')=0 AND InStr(url,'&sortby=')=0 ) AND ( InStr(url,'?com_category={STRING_VARIABLE}')>0 OR  InStr(url,'&com_category={STRING_VARIABLE}')>0 OR ( InStr(url,'?com_category=02')>0 OR InStr(url,'&com_category=02')>0 ) ) AND ( InStr(url,'?com_categoryid={STRING_VARIABLE}')=0 AND InStr(url,'&com_categoryid=')=0 ) AND ( InStr(url,'?tpl={STRING_VARIABLE}')>0 OR  InStr(url,'&tpl={STRING_VARIABLE}')>0 OR ( InStr(url,'?tpl=')>0 OR InStr(url,'&tpl=')>0 ) ) AND ( InStr(url,'?key={STRING_VARIABLE}')=0 AND InStr(url,'&key=')=0 ) AND ( InStr(url,'?q={STRING_VARIABLE}')=0 AND InStr(url,'&q=')=0 ) AND ( InStr(url,'?s={STRING_VARIABLE}')=0 AND InStr(url,'&s=')=0 ) AND ( InStr(url,'?pagenum={INT_VARIABLE}')>0 OR  InStr(url,'&pagenum={INT_VARIABLE}')>0 OR ( InStr(url,'?pagenum=2')>0 OR InStr(url,'&pagenum=2')>0 ) ) AND ( InStr(url,'?brand={STRING_VARIABLE}')=0 AND InStr(url,'&brand=')=0 ) AND ( InStr(url,'?brandcode={STRING_VARIABLE}')=0 AND InStr(url,'&brandcode=')=0 ) AND ( InStr(url,'?value={STRING_VARIABLE}')=0 AND InStr(url,'&value=')=0 ) AND ( InStr(url,'?lang={STRING_VARIABLE}')=0 AND InStr(url,'&lang=')=0 ) AND ( InStr(url,'?jobid={STRING_VARIABLE}')=0 AND InStr(url,'&jobid=')=0 ) AND ( InStr(url,'?login={STRING_VARIABLE}')=0 AND InStr(url,'&login=')=0 ) 
ORDER BY rowsid DESC LIMIT 0, 1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT * 
FROM statussite LIMIT 0, 1
Error Sql:
SELECT * 
FROM statussite LIMIT 0, 1
Error Sql:
SELECT * 
FROM statussite LIMIT 0, 1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
1: 
2:                global $get_base_name;
3: 
4:                $vars = ( array( 
5:                                          "value" => ( $get_base_name == "dashboard.php" || 
6:                                                       $get_base_name == "login.php" ||
7:                                                       $get_base_name == "logout.php" ?
8:                                                       array(
9:                                                       )
10:                                                       :
11:                                                       array(
12:                                                          //"{template_dir}/js/js/login.js" ,
13: 
14:                                                           "{template_dir}/js/js/slider/jquery.min.js" ,
15:                                                           "{template_dir}/js/js/slider/owl.carousel.min.js" ,
16:                                                           "{template_dir}/js/js/slider/script.js" ,
17:                                                           "{template_dir}/js/js/jalalidatepicker.js" ,
18: 
19:                                                           "{js_jquery_dir}/plugins/jquery-form/jquery.form.min.js" , 
20:                                                           "{js_jquery_plugins_dir}/easing/jquery.easing.1.3.min.js" ,
21:                                                           "{js_jquery_plugins_dir}/modernizr/modernizr-2.8.3.min.js" ,
22:                                                           "{js_jquery_plugins_dir}/jquery-switch/jquery-jtoggler/jtoggler.js" ,
23:                                                           "{js_jquery_plugins_dir}/jquery-customscrollbar/jquery-customscrollbar-v0.5.5/jquery.custom-scrollbar.min.js" ,
24:                                                           "{js_jqueryui_dir}/jquery-ui-1.11.2.lightness/jquery-ui.min.js" ,
25:                                                           "{js_jquery_plugins_dir}/jquery-jscrollpane/jscrollpane-v1.0.0/jquery.mousewheel.js" ,
26:                                                           "{js_jquery_plugins_dir}/jquery-jscrollpane/jscrollpane-v1.0.0/jquery.jscrollpane.min.js" ,
27:                                                           "{js_jquery_plugins_dir}/jquery-chosen/jquery-chosen-v1.8.2/chosen.jquery.min.js" ,
28: 
29:                                                           "{js_jquery_components_dir}/sidebar/flexiblesidepanel-v1.0.0/simpler-sidebar.min.js" ,
30: 
31:                                                           "{js_jquery_func_dir}/isevent.js" ,
32:                                                           "{js_jquery_func_dir}/readonly.js" ,
33:                                                           "{js_jquery_func_dir}/findinputs.js" ,
34:                                                           "{js_jquery_func_dir}/focusfield.js" ,
35:                                                           "{js_jquery_func_dir}/selecttext.js" ,
36:                                                           "{js_jquery_func_dir}/renameattr.js" ,
37:                                                           "{js_jquery_func_dir}/hasattr.js" ,
38:                                                           "{js_jquery_func_dir}/rotate.js" ,
39: 
40:                                                           "{js_jquery_classes_dir}/spin.js" ,
41:                                                           "{js_jquery_classes_dir}/ajax_button.js" ,
42:                                                           "{js_jquery_classes_dir}/exists.js" ,
43:                                                           "{js_jquery_classes_dir}/load_componet_form.js" ,
44:                                                           "{js_jquery_classes_dir}/ajax_button.js" ,
45:                                                           "{js_jquery_classes_dir}/active_tab.js" ,
46:                                                           "{js_jquery_classes_dir}/md5.min.js" ,
47:                                                           "{js_jquery_classes_dir}/browser_detect.js" ,
48:                                                           "{js_jquery_classes_dir}/thumb_image.js" ,
49:                                                           "{js_jquery_classes_dir}/cover_image.js" ,
50:                                                           "{js_jquery_classes_dir}/labelholder.js" ,
51: 
52:                                                           "{js_jquery_components_dir}/spinner/jquery.spin.js" ,
53:                                                           "{js_jquery_components_dir}/gallery/viewerjs/viewer.min.js" ,
54: 
55:                                                           "{js_func_dir}/copy_reference_type.js" ,
56:                                                           "{js_func_dir}/trim.js" ,
57:                                                           "{js_func_dir}/number_functions.js" ,
58:                                                           "{js_func_dir}/string_functions.js" ,
59:                                                           "{js_func_dir}/number_format.js" ,
60:                                                           "{js_func_dir}/urlencode.js" ,
61:                                                           "{js_func_dir}/urldecode.js" ,
62:                                                           "{js_func_dir}/is_html.js" ,
63:                                                           "{js_func_dir}/set_get_var.js" ,
64:                                                           "{js_func_dir}/html_alert.js" ,
65:                                                           "{js_func_dir}/get_query_by_key.js" ,
66:                                                           "{js_func_dir}/array_functions.js" ,
67:                                                           "{js_func_dir}/is_device_mobile.js" ,
68:                                                           "{js_func_dir}/update_provincecity.js" ,
69:                                                           "{js_func_dir}/form_ajax_submit.js" ,
70:                                                           "{js_func_dir}/submit_form.js" ,
71:                                                           "{js_func_dir}/check_online_errors.js" ,
72:                                                           "{js_func_dir}/isvalidate.js" ,
73:                                                           "{js_func_dir}/split.js" ,
74:                                                           "{js_func_dir}/change_on_invalid.js" ,
75:                                                           "{js_func_dir}/reverse.js" ,
76:                                                           "{js_func_dir}/strip_html.js" ,
77:                                                           "{js_func_dir}/validate_email.js" ,
78:                                                           "{js_func_dir}/pad.js" ,
79:                                                           "{js_func_dir}/correct_arabic_chars.js" ,
80:                                                           "{js_func_dir}/list_fields.js" ,
81:                                                           "{js_func_dir}/is_functions.js" ,
82:                                                           "{js_func_dir}/keycheck.js" ,
83:                                                           "{js_func_dir}/catch_enter_change_tab.js" ,
84:                                                           "{js_func_dir}/scroll_top.js" ,
85:                                                           "{js_func_dir}/convert_to_fa_number.js" , 
86:                                                           "{js_func_dir}/parse_url.js" ,
87:                                                           "{js_func_dir}/parse_query_string.js" ,
88:                                                           "{js_func_dir}/time_functions.js" ,
89: 														  "{js_func_dir}/random.js" ,
90: 														  "{js_func_dir}/lazy_loading.js" ,
91:                                                           
92:                                                           "{js_components_dir}/datepicker/persian_calendar_v0.2.1/js-persian-cal.min.js" ,
93:                                                           "{js_components_dir}/datepicker/persian_calendar_v0.2.1/js-persian-cal-jquery.js" ,
94:                                                           "{js_jquery_plugins_dir}/jquery-caret/jquery-caret-v1.3.2/jquery.caret.min.js" ,
95: 
96:                                                           "{template_dir}/js/js/script.js" ,
97: 
98:                                                           ( $get_base_name == "club.php" || trim( Ucase( GetQueryString( "signout" ) ) ) == "CLUB" ? "{template_dir}/js/js/script-club.js" : "" ) ,
99:                                                         
100:                                                       )
101:                                                     ) ,  
102: 
103:                                          "minify" => false ,
104:                                          "merge" => true ,
105:                                          "use_minify_class" => false ,
106:                                          "js_loader_file" => ( $get_base_name == "dashboard.php" || 
107:                                                                $get_base_name == "login.php" ||
108:                                                                $get_base_name == "logout.php" ?
109:                                                                 "{template_dir}/js/combine-dashboard.min.js"
110:                                                                 :
111:                                                                 "{template_dir}/js/combine-site.min.js"
112:                                                              ) ,
113:                                          "async" => false ,
114:                                          "query_string" => "14030306" ,
115:                                          "extra_js_files" => array(
116:                                                                    "{js_platforms_dir}/gsap/gsap-v3.11.3/minified/gsap.min.js" ,
117:                                                                    "{js_platforms_dir}/gsap/gsap-v3.11.3/minified/ScrollTrigger.min.js" ,
118:                                                                   ) ,
119: 
120:                                         )
121:                                  );
122: 
123:                 return ArrayToString( $vars );
124:               
Array
(
    [type] => 2
    [message] => mysqli_select_db() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 111
)
Array
(
    [0] => function: run_template / line: 143 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: load_template / line: 65 / file: /home/cyber/public_html/core/global/loader_sitepages.php / class: template / object:  / type: ::
    [2] => function: preg_replace_callback / line: 223 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [3] => function: addmodule / line:  / file:  / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_CLOSE_UPDATING_SITE' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_CLOSE_UPDATING_SITE' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_CLOSE_UPDATING_SITE' LIMIT 0,1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_CACHE_PAGES' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_CACHE_PAGES' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_CACHE_PAGES' LIMIT 0,1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_ACTIVE_SEO_LINK' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_ACTIVE_SEO_LINK' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_ACTIVE_SEO_LINK' LIMIT 0,1
1: return Replace( GetQueryStringForFieldValue( "q" ) , array( Quote( "<" ) , Quote( ">" ) , Quote( '"' ) , Quote( "'" ) , "/" , "\\" ) , "" );
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 128 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitemenu/mod_sitemenu.php / class: mod_sitemenu / object:  / type: ::
    [7] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitemenu/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'PHONE_NUMBER' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'PHONE_NUMBER' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'PHONE_NUMBER' LIMIT 0,1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'PHONE_NUMBER' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'PHONE_NUMBER' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'PHONE_NUMBER' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT * 
FROM sitemenu 
WHERE ((((( ( departments LIKE '%:SITE' ) ) OR ( ( departments LIKE '%:SITE,%' ) ))))) AND ( menustatus='MENU' OR menustatus='MENUONLY' ) AND showing='YES' AND showasuppermenu='YES' 
ORDER BY sortlevel ASC,menucode ASC,upmenuid ASC
Error Sql:
SELECT * 
FROM sitemenu 
WHERE ((((( ( departments LIKE '%:SITE' ) ) OR ( ( departments LIKE '%:SITE,%' ) ))))) AND ( menustatus='MENU' OR menustatus='MENUONLY' ) AND showing='YES' AND showasuppermenu='YES' 
ORDER BY sortlevel ASC,menucode ASC,upmenuid ASC
Error Sql:
SELECT * 
FROM sitemenu 
WHERE ((((( ( departments LIKE '%:SITE' ) ) OR ( ( departments LIKE '%:SITE,%' ) ))))) AND ( menustatus='MENU' OR menustatus='MENUONLY' ) AND showing='YES' AND showasuppermenu='YES' 
ORDER BY sortlevel ASC,menucode ASC,upmenuid ASC
1:  return WEBSITE_ADDRESS;
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 128 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitemenu/mod_sitemenu.php / class: mod_sitemenu / object:  / type: ::
    [7] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitemenu/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT 1 
FROM sitemenu 
WHERE ( menustatus<>'MENU' AND menustatus<>'MENUONLY' AND upmenuid LIKE '' ) AND showing='YES' AND ((((( ( departments LIKE '%:SITE' ) ) OR ( ( departments LIKE '%:SITE,%' ) )))))
1: 
2:        global $href , $href_tag;
3:   
4:        $menu_code = "";
5:        $sitemenu_url = "";
6:        $sitemenu_code = "";
7:        
8:        $data = CreateSeoSiteLink( $sitemenu_url , "javascript:void(0)" , "" );
9:        $href = $data["href"];
10:        $href_tag = $data["tag"];
11: 
12:        $menu_index++;
13:        $sitemenu_url = "";
14: 
15:        $has_sub_menu = HasSubMenu( $menu_code );
16: 
17:        $mega_menu .= ( trim( $menu_code ) != "" ?
18:               ( $has_sub_menu == false ?
19:                "
20:                 <li class='menu-item'>
21:                  <a " . $href_tag . " title=''></a>  
22:                 </li>
23:                "
24:                :
25:                "
26:                 <li class='menu-item drop'>
27:                  <div class='sub-menu d-none'>
28:                   
29:                   " .             
30:                    RunModule( "sitemenu" , "/tpl/site/index/submenu.tpl" , "FIND_SUBMENU_BY_CODE" , -1 , ArrayToString( Array( "value" => $menu_code ) ) , "" ) .
31:                   " 
32:                   
33:                  </div>
34:                 </li>
35:                "     
36:               )
37:              :
38:              ""
39:             );
40: 
41:        $hs_navigation .= ( trim( $menu_code ) != "" ?
42:               ( $has_sub_menu == false ?
43:                "
44:                 <div class='title-list title-level1'>
45:                  <span><a " . $href_tag . " title=''></a></span>
46:                 </div>
47:                "
48:                :
49:                "
50:                 <div class='title-list title-level1'>
51:                  <span></span>
52:                  <div class='updown down'></div>
53:                 </div>
54:                 <ul class='child-list'>
55:                  <li class='child-item  bordertop'>
56:                   " .             
57:                    RunModule( "sitemenu" , "/tpl/site/index/submenu_navigation.tpl" , "FIND_SUBMENU_BY_CODE" , -1 , ArrayToString( Array( "value" => $menu_code ) ) , "" ) .
58:                   " 
59:                  </li>
60:                 </ul>
61:                "     
62:               )
63:              :
64:              ""
65:             );            
66:       
Array
(
    [type] => 2
    [message] => mysqli_num_rows() expects parameter 1 to be mysqli_result, null given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 461
)
Array
(
    [0] => function: RunModule / line: 128 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitemenu/mod_sitemenu.php / class: mod_sitemenu / object:  / type: ::
    [7] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_sitemenu/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SELECT menucode 
FROM productcategory 
WHERE menucode = '02' LIMIT 0,1
Error Sql:
SELECT menucode 
FROM productcategory 
WHERE menucode = '02' LIMIT 0,1
Error Sql:
SELECT menucode 
FROM productcategory 
WHERE menucode = '02' LIMIT 0,1
Error Sql:
SELECT menucode,title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '01' LIMIT 0,1
Error Sql:
SELECT menucode,title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '01' LIMIT 0,1
Error Sql:
SELECT menucode,title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '01' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '01' LIMIT 0,1
Error Sql:
SELECT title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '01' LIMIT 0,1
Error Sql:
SELECT title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '01' LIMIT 0,1
Error Sql:
SELECT id,title,code,landingbrand,url 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT id,title,code,landingbrand,url 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT id,title,code,landingbrand,url 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'ACTIVE_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'ACTIVE_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'ACTIVE_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'ACTIVE_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'ACTIVE_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'ACTIVE_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'EXCLUSIONS_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'EXCLUSIONS_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'EXCLUSIONS_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'EXCLUSIONS_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'EXCLUSIONS_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'EXCLUSIONS_PRODUCT_CATEGORY_LIST' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT code 
FROM productcategory 
WHERE menucode = '02' LIMIT 0,1
Error Sql:
SELECT code 
FROM productcategory 
WHERE menucode = '02' LIMIT 0,1
Error Sql:
SELECT code 
FROM productcategory 
WHERE menucode = '02' LIMIT 0,1
1: 
2:       global $active_product_categories , $exclusions_product_categories;
3:       $active_product_categories = InsertVariable( "ACTIVE_PRODUCT_CATEGORY_LIST" );
4:       $active_product_categories = explode( "\n" , $active_product_categories );
5:       $active_product_categories = TrimArray( $active_product_categories );
6: 
7:       $exclusions_product_categories = InsertVariable( "EXCLUSIONS_PRODUCT_CATEGORY_LIST" );
8:       $exclusions_product_categories = explode( "\n" , $exclusions_product_categories );
9:       $exclusions_product_categories = TrimArray( $exclusions_product_categories );
10:       
11:       $old_site = GetQueryString( "old_site" );
12:       if( trim( Ucase( $old_site ) ) == "TRUE" )
13:       {
14:        $old_categoryid = trim( GetQueryString( "com_categoryid" ) );
15:        $old_cats = trim( InsertVariable( "OLD_PRODUCT_CATEGORIES" ) );
16:        $old_cats = explode( "\n" , $old_cats );
17:        if( IsArray( $old_cats ) == true )
18:        {
19:         foreach( $old_cats as $key => $val )
20:         {
21:          $list = explode( "|" , $val );
22:          $old_id = ( isset( $list[0] ) ? $list[0] : "" );
23:          $new_id = ( isset( $list[1] ) ? $list[1] : "" );
24:          if( $old_categoryid == $old_id )
25:          {
26:           $_GET["com_categoryid"] = "";
27:           $_GET["com_category"] = FindInRecordsViaRequest( $new_id , "productcategory" , "rowsid" , "menucode" );
28:           break;
29:          }
30:         } 
31:        }
32: 
33:        $get_brands = GetQueryString( "brand" );
34: 
35:        if( IsArray( $get_brands ) == true )
36:        {
37:         $old_brands = trim( InsertVariable( "OLD_PRODUCT_BRANDS" ) );
38:         $old_brands = explode( "\n" , $old_brands );
39:         if( IsArray( $old_brands ) == true )
40:         {
41:          foreach( $old_brands as $key => $val )
42:          {
43:           $list = explode( "|" , $val );
44:           $old_brandid = ( isset( $list[0] ) ? $list[0] : "" );
45:           $new_brandid = ( isset( $list[1] ) ? $list[1] : "" );
46:           $pos = InArrayKey( $old_brandid , $get_brands );
47:           if( $pos != false )
48:           {
49:            $get_brands[$pos[0]] = $new_brandid;
50:           }
51:          } 
52:          $_GET["brand"] = $get_brands;
53:         } 
54:        }
55:        
56:        if( isset( $_GET["sort"] ) == true )
57:        {
58:         $_GET["sort"] = "";
59:        }
60: 
61:        $uncode = GetQueryString( "uncode" );
62:        if( $uncode == "true" )
63:        {
64:         $_GET["txt_search"] = Replace( GetQueryString( "keyword" ) , "-" , " " );
65:        }
66: 
67:       }
68: 
69:       global $val_block , $val_block_page;
70:       $get_page = TrimArray( Ucase( GetQueryString( "page" ) ) );
71:       $get_stock = trim( GetQueryString( "stock" ) );
72:       
73:       $get_sortby = trim( GetQueryString( "sortby" ) );
74:       switch( $get_sortby )
75:       {
76:        case "0":
77:         $order_by = "siteprice = 0 , products.visitors DESC";
78:        break;
79: 
80:        case "1":
81:         $order_by = "siteprice = 0 , products.regdatesolar DESC, products.regtime DESC";
82:        break;
83: 
84:        //case "2":
85:        //break;
86: 
87:        case "":
88:        case "3":
89:         $order_by = "siteprice = 0 , products.discount DESC , products.siteprice ASC , products.regdatesolar DESC, products.regtime DESC";
90:        break;
91: 
92:        case "4":
93:         $order_by = "siteprice = 0, products.siteprice ASC";
94:        break;
95: 
96:        case "5":
97:         $order_by = "siteprice = 0, products.siteprice DESC";
98:        break;
99: 
100:        default:
101:         $order_by = "siteprice = 0, products.siteprice ASC";
102:        break;
103:       }
104: 
105:       $val_block = ReturnProductListModuleValOnSite( $get_page , null , $order_by , array() , $get_stock );
106:       
107:       $val_block_page = array(
108:                                     "value" => $active_product_categories ,
109:                                     "exclusions" => $exclusions_product_categories,
110:                                     "page" => GetQueryString("pagenum"),
111:                                     "page_format" => "<li><a href='{page_number_url->none}'>{page_number->ConvertToFaNumber}</a></li>" , 
112:                                     "page_format_selected" => "<li class='active'><a href='{page_number_url->none}'>{page_number->ConvertToFaNumber}</a></li>" , 
113:                                     "total_show_pages" => 5 , 
114:                                     "rows_per_page" => 24 ,
115:                                     "page_key" => "pagenum",
116:                                     "sort_key" => "sort" ,
117:                                     "use_search_word" => false ,
118:                                     "order_by" => $order_by,
119:                                     "query_string" => GetPageNumberQuery( "POSTGET" , "pagenum" , "sort" , null , array( "smallimagepath" , "com_categoryid" , "___" , "cat" , "lang" , "range_price_from" , "range_price_to" , "price_from" , "price_to" , "method" ) ) ,
120:                                     "template_query_strings" => $template_query_strings ,
121:                                     "seo_url_querystrings" => array(
122:                                                                     "page_number->urlencode" => "{page_number->urlencode}" ,
123:                                                                     "productcategory-code->urlencode" => FindRecordViaRequest( "productcategory" , "menucode" , "code" , GetQueryString( "com_category" ) , 1 ) ,
124:                                                                    ),
125: 
126:                               );
127: 
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [16] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [17] => function: RunModule / line: 3 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [18] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [19] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [20] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [21] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [22] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [23] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [24] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [25] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [26] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_SPECIFICATIONS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_SPECIFICATIONS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_SPECIFICATIONS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_SPECIFICATIONS_OPTIONS'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های مشخصه محصول','COM_PRODUCT_SPECIFICATIONS_OPTIONS','0:(key:SIZE,value:%D8%A7%D9%86%D8%AF%D8%A7%D8%B2%D9%87),1:(key:COLOR,value:%D8%B1%D9%86%DA%AF),2:(key:COUNTRY,value:%DA%A9%D8%B4%D9%88%D8%B1+%D8%B3%D8%A7%D8%B2%D9%86%D8%AF%D9%87),3:(key:SUPPORT,value:%D9%BE%D8%B4%D8%AA%DB%8C%D8%A8%D8%A7%D9%86%DB%8C),4:(key:DIMENSION,value:%D8%A7%D8%A8%D8%B9%D8%A7%D8%AF+%28%D8%B3%D8%A7%D9%86%D8%AA%DB%8C+%D9%85%D8%AA%D8%B1%29),5:(key:GARANTEE,value:%DA%AF%D8%A7%D8%B1%D8%A7%D9%86%D8%AA%DB%8C)','DIMENSION','com_product')
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_PRICEOPTIONS_OPTIONS'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های آپشن قیمتی محصول','COM_PRODUCT_PRICEOPTIONS_OPTIONS','0:(key:CLIENTPRICE,value:%D9%82%DB%8C%D9%85%D8%AA+%D9%87%D9%85%DA%A9%D8%A7%D8%B1+%28%D8%B1%DB%8C%D8%A7%D9%84%29),1:(key:MODEL,value:%D9%85%D8%AF%D9%84),2:(key:SIZE,value:%D8%A7%D9%86%D8%AF%D8%A7%D8%B2%D9%87),3:(key:COLOR,value:%D8%B1%D9%86%DA%AF)','CLIENTPRICE','com_product')
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_FLAGS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_FLAGS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_FLAGS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_FLAGS_OPTIONS'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های برچسب محصول','COM_PRODUCT_FLAGS_OPTIONS','0:(key:NEW,value:%D8%AC%D8%AF%DB%8C%D8%AF),1:(key:SPECIAL,value:%D9%85%D8%AD%D8%B5%D9%88%D9%84+%D9%88%D9%8A%DA%98%D9%87),2:(key:OUR_OFFER,value:%D9%BE%DB%8C%D8%B4%D9%86%D9%87%D8%A7%D8%AF+%D9%85%D8%A7),3:(key:WEEKLY_OFFER,value:%D9%BE%DB%8C%D8%B4%D9%86%D9%87%D8%A7%D8%AF+%D9%87%D9%81%D8%AA%D9%87),4:(key:DISCOUNTED,value:%D8%AF%D8%A7%D8%B1%D8%A7%DB%8C+%D8%AA%D8%AE%D9%81%DB%8C%D9%81),5:(key:COMMING_SOON,value:%D8%A8%D8%B2%D9%88%D8%AF%DB%8C)','NEW','com_product')
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_STATUS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_STATUS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_STATUS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_STATUS_OPTIONS'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های وضعیت محصول','COM_PRODUCT_STATUS_OPTIONS','0:(key:EXISTS,value:%D9%85%D9%88%D8%AC%D9%88%D8%AF),1:(key:NOT_EXISTS,value:%D9%86%D8%A7%D9%85%D9%88%D8%AC%D9%88%D8%AF),2:(key:STOP,value:%D8%AA%D9%88%D9%82%D9%81+%D8%AA%D9%88%D9%84%DB%8C%D8%AF),3:(key:COMMING_SOON,value:%D8%A8%D8%B2%D9%88%D8%AF%DB%8C),4:(key:CALL,value:%D8%AA%D9%85%D8%A7%D8%B3+%D8%A8%DA%AF%DB%8C%D8%B1%DB%8C%D8%AF)','EXISTS','com_product')
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_COLOR' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_COLOR' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_COLOR' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_PRICEOPTIONS_COLOR'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های رنگ در آپشن قیمتی محصول','COM_PRODUCT_PRICEOPTIONS_COLOR','0:(key:01,value:%D8%A8%D8%AF%D9%88%D9%86+%D8%B1%D9%86%DA%AF)','01','com_product')
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_STATUS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_STATUS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_PRICEOPTIONS_STATUS' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_PRICEOPTIONS_STATUS'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های وضعیت در آپشن قیمتی محصول','COM_PRODUCT_PRICEOPTIONS_STATUS','0:(key:ACTIVE,value:%D9%81%D8%B9%D8%A7%D9%84),1:(key:INACTIVE,value:%D8%BA%DB%8C%D8%B1+%D9%81%D8%B9%D8%A7%D9%84)','ACTIVE','com_product')
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_GROUPS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_GROUPS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT options 
FROM controlpaneloptions 
WHERE varname = 'COM_PRODUCT_GROUPS_OPTIONS' LIMIT 0,1
Error Sql:
SELECT 1 
FROM controlpaneloptions 
WHERE varname='COM_PRODUCT_GROUPS_OPTIONS'
Error Sql:
INSERT INTO controlpaneloptions (title,varname,options,defaultoption,relatedcomponet) VALUES ('گزینه های گروه بندی محصولات','COM_PRODUCT_GROUPS_OPTIONS','0:(key:PRICE_LIST,value:%D9%84%DB%8C%D8%B3%D8%AA+%D9%82%DB%8C%D9%85%D8%AA)','PRICE_LIST','com_product')
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT MIN(siteprice) as min_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.subcategorieslist,products.brand,products.model,products.title,products.name,products.code,products.description,products.advantages,products.disadvantages,products.intro,products.productusage,products.keywords,products.metatagdescription,products.specifications,products.weight,products.dimension,products.garantee,products.country,products.support,products.siteprice,products.discount,products.clientprice,products.clientpriceslist,products.minprice,products.maxprice,products.minbuyprice,products.maxbuyprice,products.tax,products.point,products.refpoint,products.commission,products.commissionsamount,products.units,products.priceoptions,products.modeloptions,products.tooltipsonlargegalleryimages,products.smallimagepath,products.largeimagepath,products.videopath,products.regdatesolar,products.regtime,products.smallgalleryimagespath,products.largegalleryimagespath,products.showing,products.allowtolike,products.allowtocomment,products.status,products.label,products.flags,products.groups,products.comparepriceslist,products.likes,products.unlikes,products.totalusersrate,products.sumrate,products.usersrate,products.siterate,products.visitors,products.datetime,products.lastupdatebuypricedatetime,products.lastreadpricesdatetime,products.lasteditorusername,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products 
WHERE siteprice > 0 LIMIT 0,1
Error Sql:
SELECT MIN(siteprice) as min_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.subcategorieslist,products.brand,products.model,products.title,products.name,products.code,products.description,products.advantages,products.disadvantages,products.intro,products.productusage,products.keywords,products.metatagdescription,products.specifications,products.weight,products.dimension,products.garantee,products.country,products.support,products.siteprice,products.discount,products.clientprice,products.clientpriceslist,products.minprice,products.maxprice,products.minbuyprice,products.maxbuyprice,products.tax,products.point,products.refpoint,products.commission,products.commissionsamount,products.units,products.priceoptions,products.modeloptions,products.tooltipsonlargegalleryimages,products.smallimagepath,products.largeimagepath,products.videopath,products.regdatesolar,products.regtime,products.smallgalleryimagespath,products.largegalleryimagespath,products.showing,products.allowtolike,products.allowtocomment,products.status,products.label,products.flags,products.groups,products.comparepriceslist,products.likes,products.unlikes,products.totalusersrate,products.sumrate,products.usersrate,products.siterate,products.visitors,products.datetime,products.lastupdatebuypricedatetime,products.lastreadpricesdatetime,products.lasteditorusername,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products 
WHERE siteprice > 0 LIMIT 0,1
Error Sql:
SELECT MIN(siteprice) as min_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.subcategorieslist,products.brand,products.model,products.title,products.name,products.code,products.description,products.advantages,products.disadvantages,products.intro,products.productusage,products.keywords,products.metatagdescription,products.specifications,products.weight,products.dimension,products.garantee,products.country,products.support,products.siteprice,products.discount,products.clientprice,products.clientpriceslist,products.minprice,products.maxprice,products.minbuyprice,products.maxbuyprice,products.tax,products.point,products.refpoint,products.commission,products.commissionsamount,products.units,products.priceoptions,products.modeloptions,products.tooltipsonlargegalleryimages,products.smallimagepath,products.largeimagepath,products.videopath,products.regdatesolar,products.regtime,products.smallgalleryimagespath,products.largegalleryimagespath,products.showing,products.allowtolike,products.allowtocomment,products.status,products.label,products.flags,products.groups,products.comparepriceslist,products.likes,products.unlikes,products.totalusersrate,products.sumrate,products.usersrate,products.siterate,products.visitors,products.datetime,products.lastupdatebuypricedatetime,products.lastreadpricesdatetime,products.lasteditorusername,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products 
WHERE siteprice > 0 LIMIT 0,1
Error Sql:
SELECT MAX(siteprice) as max_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.subcategorieslist,products.brand,products.model,products.title,products.name,products.code,products.description,products.advantages,products.disadvantages,products.intro,products.productusage,products.keywords,products.metatagdescription,products.specifications,products.weight,products.dimension,products.garantee,products.country,products.support,products.siteprice,products.discount,products.clientprice,products.clientpriceslist,products.minprice,products.maxprice,products.minbuyprice,products.maxbuyprice,products.tax,products.point,products.refpoint,products.commission,products.commissionsamount,products.units,products.priceoptions,products.modeloptions,products.tooltipsonlargegalleryimages,products.smallimagepath,products.largeimagepath,products.videopath,products.regdatesolar,products.regtime,products.smallgalleryimagespath,products.largegalleryimagespath,products.showing,products.allowtolike,products.allowtocomment,products.status,products.label,products.flags,products.groups,products.comparepriceslist,products.likes,products.unlikes,products.totalusersrate,products.sumrate,products.usersrate,products.siterate,products.visitors,products.datetime,products.lastupdatebuypricedatetime,products.lastreadpricesdatetime,products.lasteditorusername,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products 
WHERE siteprice > 0 LIMIT 0,1
Error Sql:
SELECT MAX(siteprice) as max_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.subcategorieslist,products.brand,products.model,products.title,products.name,products.code,products.description,products.advantages,products.disadvantages,products.intro,products.productusage,products.keywords,products.metatagdescription,products.specifications,products.weight,products.dimension,products.garantee,products.country,products.support,products.siteprice,products.discount,products.clientprice,products.clientpriceslist,products.minprice,products.maxprice,products.minbuyprice,products.maxbuyprice,products.tax,products.point,products.refpoint,products.commission,products.commissionsamount,products.units,products.priceoptions,products.modeloptions,products.tooltipsonlargegalleryimages,products.smallimagepath,products.largeimagepath,products.videopath,products.regdatesolar,products.regtime,products.smallgalleryimagespath,products.largegalleryimagespath,products.showing,products.allowtolike,products.allowtocomment,products.status,products.label,products.flags,products.groups,products.comparepriceslist,products.likes,products.unlikes,products.totalusersrate,products.sumrate,products.usersrate,products.siterate,products.visitors,products.datetime,products.lastupdatebuypricedatetime,products.lastreadpricesdatetime,products.lasteditorusername,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products 
WHERE siteprice > 0 LIMIT 0,1
Error Sql:
SELECT MAX(siteprice) as max_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.subcategorieslist,products.brand,products.model,products.title,products.name,products.code,products.description,products.advantages,products.disadvantages,products.intro,products.productusage,products.keywords,products.metatagdescription,products.specifications,products.weight,products.dimension,products.garantee,products.country,products.support,products.siteprice,products.discount,products.clientprice,products.clientpriceslist,products.minprice,products.maxprice,products.minbuyprice,products.maxbuyprice,products.tax,products.point,products.refpoint,products.commission,products.commissionsamount,products.units,products.priceoptions,products.modeloptions,products.tooltipsonlargegalleryimages,products.smallimagepath,products.largeimagepath,products.videopath,products.regdatesolar,products.regtime,products.smallgalleryimagespath,products.largegalleryimagespath,products.showing,products.allowtolike,products.allowtocomment,products.status,products.label,products.flags,products.groups,products.comparepriceslist,products.likes,products.unlikes,products.totalusersrate,products.sumrate,products.usersrate,products.siterate,products.visitors,products.datetime,products.lastupdatebuypricedatetime,products.lastreadpricesdatetime,products.lasteditorusername,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products 
WHERE siteprice > 0 LIMIT 0,1
1: 
2:           global $val_block , $val_block_page , $product_category;
3:           RunModule( "object" , "/tpl/site/list-product/products_valblock.tpl" , "" , 1 , "" , "" );
4: 
5:           $val_block_minprice = $val_block;
6:           $val_block_maxprice = $val_block;
7: 
8:           $val_block_minprice["order_by"] = "siteprice=0 , products.siteprice ASC";
9:           $val_block_maxprice["order_by"] = "siteprice=0 , products.siteprice DESC";
10: 
11:           $product_category = GetProductCategoryCodeFromQueryString();
12:           $str_product_brand = GetArrayProductBrandCodeFromQueryString( false , "_" );
13: 
14:           Unset( $val_block_minprice["advance_search_sql"]["price_from"] );
15:           Unset( $val_block_minprice["advance_search_sql"]["price_to"] );
16:           Unset( $val_block_maxprice["advance_search_sql"]["price_from"] );
17:           Unset( $val_block_maxprice["advance_search_sql"]["price_to"] );
18: 
19:           /*
20:           Unset( $val_block["advance_search_sql"]["price_from"] );
21:           Unset( $val_block["advance_search_sql"]["price_to"] );
22:           $minmax_sql_statement = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_FIND_BY_SEARCH_COUNT" , $val_block_minprice , 1 , "{SQL_STATEMENT}" ) );
23:           $minprice = GetValueRecord( Replace( $minmax_sql_statement , "COUNT(*)" , "MIN(siteprice)" ) . " WHERE siteprice > 0"  , "count_" );
24:           $maxprice = GetValueRecord( Replace( $minmax_sql_statement , "COUNT(*)" , "MAX(siteprice)" ) . " WHERE siteprice > 0"  , "count_" );
25:           */
26: 
27:           $min_sql_statement = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_FIND_BY_SEARCH_pagenumber" , $val_block_minprice , 1 , "{SQL_STATEMENT}" , null , false ) );
28:           $max_sql_statement = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_FIND_BY_SEARCH_pagenumber" , $val_block_maxprice , 1 , "{SQL_STATEMENT}" , null , false ) );
29: 
30:           //$minprice = GetValueRecordViaRequest( Replace( $min_sql_statement , array( " * " , "#LIMIT#" ) , array( " MIN(siteprice) as min_ " , "LIMIT 0,1" ) ) . " WHERE siteprice > 0" , "min_" );
31:           $minprice = GetValueRecordViaRequest( Replace( $min_sql_statement , array( " * " , "#LIMIT#" , "ORDER BY siteprice =0,products.siteprice ASC,products.regdatesolar DESC" ) , array( " MIN(siteprice) as min_ " , "" , "" ) ) . " WHERE siteprice > 0" , "min_" );
32:           //$minprice = GetValueRecordViaMemCache( "CACHE_MIN_PRICE_" . $product_category . "_" . $str_product_brand , Replace( $min_sql_statement , array( " * " , "#LIMIT#" , "ORDER BY siteprice =0,products.siteprice ASC,products.regdatesolar DESC" ) , array( " MIN(siteprice) as min_ " , "" , "" ) ) . " WHERE siteprice > 0" , "min_" );
33: 
34:           //$maxprice = GetValueRecordViaRequest( Replace( $max_sql_statement , array( " * " , "#LIMIT#" ) , array( " MAX(siteprice) as max_ " , "LIMIT 0,1" ) ) . " WHERE siteprice > 0" , "max_" );
35:           $maxprice = GetValueRecordViaRequest( Replace( $max_sql_statement , array( " * " , "#LIMIT#" , "ORDER BY siteprice =0,products.siteprice DESC,products.regdatesolar DESC" ) , array( " MAX(siteprice) as max_ " , "" , "" ) ) . " WHERE siteprice > 0" , "max_" );
36:           
37:           $range_price_from = Int( GetQueryString( "range_price_from" ) );
38:           if( $range_price_from > 0 && $range_price_from >= $minprice && $range_price_from <= $maxprice )
39:           {
40:            $minprice = $range_price_from;
41:           }
42: 
43:           $range_price_to = Int( GetQueryString( "range_price_to" ) );
44:           if( $range_price_to > 0 && $range_price_to >= $minprice && $range_price_to <= $maxprice )
45:           {
46:            $maxprice = $range_price_to;
47:           }
48:        
49:           $minprice = ConvertToToman( $minprice );
50:           $maxprice = ConvertToToman( $maxprice );
51:           
52:           $str_minprice = FormatNumber( $minprice );
53:           $str_maxprice = FormatNumber( $maxprice );
54:           
55:           return "
56:                 <ul class='nav nav-pills nav-stacked pricingrange'>
57:                  <li class='price-min'>
58:                    <input id='txt_price_minamount' class='amountmin' readonly='' type='text' value='$str_minprice'>
59:                    <span class='from'>تومان</span>
60:                  </li>
61:                  <li class='price-max'>
62:                   <input id='txt_price_maxamount' class='amountmax' readonly='' type='text' value='$str_maxprice'>
63:                    <span class='to'>تومان</span>
64:                  </i>
65:                 </ul>
66:                 <div class='h20m relative'>
67:                  <div id='price_slider_range' data-minprice='$minprice' data-maxprice='$maxprice'></div>
68:                 </div>
69:                 <input name='price_from' id='price_from' value='' type='hidden'>
70:                 <input name='price_to' id='price_to' value='' type='hidden'>
71:                ";
72:         
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SELECT code 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT code 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT code 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT colors 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT colors 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT colors 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
1: 
2:  $check_cat_colors = false;
3:  $category = GetProductCategoryCodeFromQueryString();
4:  $code = FindRecordViaRequest( "productcategory" , "menucode" , "code" , $category );        
5: 
6:  $val = ArrayToString( Array( 
7:                              "value" => $category ,
8:                              "check_parent" => true ,
9:                             )
10:                      );
11:  $colors = trim( InsertModuleBlock( "productcat" , "GET_PRODUCT_CATEGORY_COLORS" , $val , 1 , "{RESULT}" ) );
12:  $colors = StringToArray( $colors );
13: 
14:  $colors_list = GetQueryStringForFieldValue( "color" , "POSTGET" , true , false , "" , null , null , null );
15:  $attr_qs = ArrayToQueryString( GetQueryString("attr") , "attr" , array() , GetQueryString("attr") ); 
16:          
17:  $price_from = Int( GetQueryString( "price_from" ) );
18:  $price_to = Int( GetQueryString( "price_to" ) );
19: 
20:  $output = "";
21: 
22:  if( IsArray( $colors ) == true )
23:  {
24:   foreach( $colors as $key => $color )
25:   {
26:    $fields = FindRecordViaRequest( "colors" , "id" , array( "title" , "colorcode" ) , $color );
27:    $colors_title = $fields["title"];
28:    $colors_name = $fields["colorcode"];
29: 
30:    $qs = CreateInlineArrayQueryString( $color , "color" , $colors );
31: 
32:    $qs_values = CreateInlineArrayQueryString( $color , "color" , $colors , 1 );
33:    $qs_values_title = array();
34:    foreach( $qs_values as $k => $v )
35:    {
36:     if( $v == $color )
37:     {
38:      $qs_values_title[] = $colors_title;
39:     }
40:     else
41:     {
42:      $qs_values_title[] = FindRecordViaRequest( "colors" , "id" , "title" , $v ); 
43:     }
44:    }
45:    $qs_values_title = implode( "/" , $qs_values_title );
46: 
47:    $template_query_strings["code"][2]["productcategory-code->urlencode"] = urlencode( $code );
48:    $template_query_strings["code"][2]["COLORS"] = $qs_values_title;
49:    
50:    $url = "/templates/101cyber-v2/fa-IR/products.php?cat=" . urlencode( $code ) . 
51:           "&action=search&filter=color" . 
52:           ( trim( $qs ) != "" ? "&" . $qs : "" ) . 
53:           ( trim( $attr_qs ) != "" ? "&" . $attr_qs : "" ) .
54:           "&price_from=" . $price_from . 
55:           "&price_to=" . $price_to . 
56:           "&tpl=";
57:           
58:    $seo_url = ConvertToSeoUrl( $url , $template_query_strings );
59:    
60:    if( $url != $seo_url )
61:    {
62:     $url = $seo_url;
63:    }
64: 
65:    $output .=
66:             "
67:              <li data-title='" . Quote( $colors_title ) . "' class='checkbox " . ( InArray( $color , $colors_list ) == true ? 'active' : '' ) . "'>
68:              <input type='checkbox' id='op_color_" . $color . "' name='color[]' value='" . $color .  "' " . ( InArray( $color , $colors_list ) == true ? "checked" : "" ) . " />
69:              <label name='chk_color' for='op_color_" . $color . "'>" . $colors_title . "
70:              <span class='floatleft color' style='background-color:$colors_name'></span>
71:              </label>
72:              </li>
73:             ";
74: 
75:    /*
76:    $output .=
77:       "
78:        <li class='checkbox " . ( InArray( $color , $colors_list ) == true ? 'active' : '' ) . "'>
79:         <a name='chk_color' class='" . ( InArray( $color , $colors_list ) == true ? 'active-color' : '' ) . "' data-color='" . $color . "' href='" . $url . "'>
80:         " .
81:          "<span>" . $colors_title . "</span>" .
82:          "<span class='floatleft color' style='background-color:$colors_name'></span>" .
83:         "
84:         </a>
85:        </li>
86:       ";
87:    */
88:      
89:   }
90:  }
91: 
92:  return ( IsEmpty( $output ) == false ? 
93:         "
94:          <div class='sidbarmenu active'>
95:           <div class='title' name='sidbarmenu_title'>STR_PRODUCTS_COLORS</div>
96:           <div class='nav-container nodisplay'>
97:            <div class='sidbarmenu-search iconic-before nodisplay'><input name='txt_search_sidbarmenu' type='text' class='form-control input-md'/></div>
98:            <ul class='nav nav-pills nav-stacked'>
99:            " .
100:            $output .
101:            "
102:            </ul>
103:           </div>
104:          </div> 
105:         "
106:         :
107:         ""
108:       ) ;
109: 
Array
(
    [type] => 2
    [message] => mysqli_select_db() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 111
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [16] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [17] => function: RunModule / line: 23 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [18] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [19] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [20] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [21] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [22] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [23] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [24] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [25] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [26] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SELECT landingbrand 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT landingbrand 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT landingbrand 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT brands 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT brands 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT brands 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT * 
FROM (SELECT DISTINCT brand 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE products.showing='YES' AND productcategory.showing='YES' AND TRIM(brand)<>''  AND (( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) )))) as products   
Error Sql:
SELECT * 
FROM (SELECT DISTINCT brand 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE products.showing='YES' AND productcategory.showing='YES' AND TRIM(brand)<>''  AND (( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) )))) as products   
Error Sql:
SELECT * 
FROM (SELECT DISTINCT brand 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE products.showing='YES' AND productcategory.showing='YES' AND TRIM(brand)<>''  AND (( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) )))) as products   
1: 
2:  $page_landing_brand = CheckIsPageForLandingBrand();
3: 
4:  if( $page_landing_brand == false )
5:  {
6:  
7:  $check_cat_brands = false;
8:  
9:  $brandcode = GetQueryString( "brandcode" );
10:  if( trim( $brandcode ) != "" ) 
11:  {
12:   $brandid = FindRecordViaRequest( "brands" , "code" , "id" , $brandcode , 1 );
13:   $_POST["brand"] = $brandid;
14:   $_GET["brand"] = $brandid;
15:  }
16: 
17:  /*
18:  $category = ( trim( GetQueryString( "com_category" ) ) != "" ?
19:                GetQueryString( "com_category" )
20:                :
21:                ( trim( GetQueryString( "cat" ) ) != "" ? 
22:                  FindRecord( "productcategory" , "code" , "menucode" , GetQueryString( "cat" ) )
23:                  :
24:                  FindRecord( "productcategory" , "rowsid" , "menucode" , GetQueryString( "com_categoryid" ) )
25:                )
26:              );
27:  */
28:  $category = GetProductCategoryCodeFromQueryString();
29: 
30:  $code = FindRecordViaRequest( "productcategory" , "menucode" , "code" , $category );        
31: 
32:  $val = ArrayToString( Array( 
33:                              "value" => $category ,
34:                              "check_parent" => true ,
35:                             )
36:                      );
37:  $brands = trim( InsertModuleBlock( "productcat" , "GET_PRODUCT_CATEGORY_BRANDS" , $val , 1 , "{RESULT}" ) );
38:  $brands = TrimArray( StringToArray( $brands ) );
39: 
40:  if( IsEmpty( $brands ) == true && $check_cat_brands == true )
41:  {
42:   $get_page = TrimArray( Ucase( GetQueryString( "page" ) ) );
43:   $val_block = ReturnProductListModuleValOnSite( $get_page , null , "" , array( "brand" , "q" , "txt_search" ) );
44:   $brands = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_GROUP_BRAND_FIND_BY_SEARCH" , $val_block , -1 , "{products-brand->Quote}\n" ) );
45:   $brands = explode( "\n" , $brands );
46:   $brands = TrimArray( $brands );
47:  }
48:  else
49:  {
50:   $get_page = TrimArray( Ucase( GetQueryString( "page" ) ) );
51:   $val_block = ReturnProductListModuleValOnSite( $get_page , null , "" , array( "brand" , "q" , "txt_search" ) );
52:   $product_brands = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_GROUP_BRAND_FIND_BY_SEARCH" , $val_block , -1 , "{products-brand->Quote}\n" ) );
53:   $product_brands = explode( "\n" , $product_brands );
54:   $product_brands = TrimArray( $product_brands );
55:   $brands = UniqueArray( ArrayMerge( $brands , $product_brands , true ) );
56:  }
57:  
58:  $brands_list = GetQueryStringForFieldValue( "brand" , "POSTGET" , true , false , "" , null , null , null );
59:  
60:  if( IsArray( $brands_list , false ) == false )
61:  {
62:   $brands_list = array( $brands_list );
63:  }
64:  
65:  $attr_qs = ArrayToQueryString( GetQueryString("attr") , "attr" , array() , GetQueryString("attr") ); 
66:  $price_from = Int( GetQueryString( "price_from" ) );
67:  $price_to = Int( GetQueryString( "price_to" ) );
68: 
69:  $output = "";
70:  
71:  if( IsArray( $brands ) == true )
72:  {
73:   foreach( $brands as $key => $brand )
74:   {
75:    $fields = FindRecordViaRequest( "brands" , "id" , array( "title" , "name" ) , $brand );
76:    $brands_title = $fields["title"];
77:    $brands_name = $fields["name"];
78:    
79:    //$qs = ArrayToQS( array( $key => $brand ) , "brand" , $brands );
80:    $qs = CreateInlineArrayQueryString( $brand , "brand" , $brands );
81: 
82:    $qs_values = CreateInlineArrayQueryString( $brand , "brand" , $brands , 1 );
83:    $qs_values_title = array();
84:    foreach( $qs_values as $k => $v )
85:    {
86:     if( $v == $brand )
87:     {
88:      $qs_values_title[] = $brands_title;
89:     }
90:     else
91:     {
92:      $qs_values_title[] = FindRecordViaRequest( "brands" , "id" , "title" , $v ); 
93:     }
94:    }
95:    $qs_values_title = implode( "/" , $qs_values_title );
96:    
97:    //$url = "/templates/101cyber-v2/fa-IR/products.php?com_category=" . urlencode( $category ) . "&action=search" . ( trim( $qs ) != "" ? "&" . $qs : "" ) . "&tpl=";
98: 
99:    $template_query_strings["code"][2]["productcategory-code->urlencode"] = urlencode( $code );
100:    $template_query_strings["code"][2]["BRANDS"] = $qs_values_title;
101: 
102:    $url = "/templates/101cyber-v2/fa-IR/products.php?cat=" . urlencode( $code ) . 
103:           "&action=search&filter=brand" . 
104:           ( trim( $qs ) != "" ? "&" . $qs : "" ) . 
105:           ( trim( $attr_qs ) != "" ? "&" . $attr_qs : "" ) .
106:           "&price_from=" . $price_from . 
107:           "&price_to=" . $price_to . 
108:           "&tpl=";
109:           
110:    $seo_url = ConvertToSeoUrl( $url , $template_query_strings );
111:    
112:    if( $url != $seo_url )
113:    {
114:     $url = $seo_url;
115:    }
116: 
117:    $output .=
118:       "
119:        <li data-title='" . Quote( $brands_title . " " . ( $brands_name ) . " " . Ucase( $brands_name ) . " " . lcase( $brands_name ) ) . "' class='checkbox " . ( InArray( $brand , $brands_list ) == true ? 'active' : '' ) . "'>
120:         <input type='checkbox' id='op_brand_" . $brand . "' name='brand[]' value='" . $brand .  "' " . ( InArray( $brand , $brands_list ) == true ? "checked" : "" ) . " />
121:         <label name='chk_brand' for='op_brand_" . $brand . "'>" . $brands_title . "
122:          <span class='floatleft'>" . $brands_name . "</span>
123:         </label>
124:        </li>
125:       ";
126: 
127:    /*
128:    $output .=
129:       "
130:        <li for='op_brand_" . $brand . "' class='checkbox " . ( InArray( $brand , $brands_list ) == true ? 'active' : '' ) . "'>
131:         <a name='chk_brand' class='" . ( InArray( $brand , $brands_list ) == true ? 'active-brand' : '' ) . "' data-brand='" . $brand . "' href='" . $url . "'>
132:         " .
133:          "<span>" . $brands_title . "</span>" .
134:          "<span class='floatleft'>" . $brands_name . "</span>" .
135:         "
136:         </a>
137:        </li>
138:       ";
139:    */
140:    
141:   }
142:  }
143: 
144:  return ( IsEmpty( $output ) == false ? 
145:         "
146:          <div class='sidbarmenu active'>
147:           <div class='title' name='sidbarmenu_title'>برند</div>
148:           <div class='nav-container nodisplay'>
149:            <div class='sidbarmenu-search iconic-before nodisplay'><input name='txt_search_sidbarmenu' type='text' class='form-control input-md'/></div>
150:            <ul class='nav nav-pills nav-stacked'>
151:         " .
152:         $output .
153:         "
154:            </ul>
155:           </div>
156:          </div> 
157:         "
158:         :
159:         ""
160:       ) ;
161:  }
162:  else
163:  {
164:   $brand = GetProductBrandCodeFromQueryString();
165:   return "<input type='checkbox' class='hidden' checked id='op_brand_" . $brand . "' name='brand[]' value='" . $brand .  "'/>";
166:  }
167: 
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [16] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [17] => function: RunModule / line: 23 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [18] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [19] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [20] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [21] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [22] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [23] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [24] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [25] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [26] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
1: 
2:       global $active_product_categories , $exclusions_product_categories;
3:       $active_product_categories = InsertVariable( "ACTIVE_PRODUCT_CATEGORY_LIST" );
4:       $active_product_categories = explode( "\n" , $active_product_categories );
5:       $active_product_categories = TrimArray( $active_product_categories );
6: 
7:       $exclusions_product_categories = InsertVariable( "EXCLUSIONS_PRODUCT_CATEGORY_LIST" );
8:       $exclusions_product_categories = explode( "\n" , $exclusions_product_categories );
9:       $exclusions_product_categories = TrimArray( $exclusions_product_categories );
10:       
11:       $old_site = GetQueryString( "old_site" );
12:       if( trim( Ucase( $old_site ) ) == "TRUE" )
13:       {
14:        $old_categoryid = trim( GetQueryString( "com_categoryid" ) );
15:        $old_cats = trim( InsertVariable( "OLD_PRODUCT_CATEGORIES" ) );
16:        $old_cats = explode( "\n" , $old_cats );
17:        if( IsArray( $old_cats ) == true )
18:        {
19:         foreach( $old_cats as $key => $val )
20:         {
21:          $list = explode( "|" , $val );
22:          $old_id = ( isset( $list[0] ) ? $list[0] : "" );
23:          $new_id = ( isset( $list[1] ) ? $list[1] : "" );
24:          if( $old_categoryid == $old_id )
25:          {
26:           $_GET["com_categoryid"] = "";
27:           $_GET["com_category"] = FindInRecordsViaRequest( $new_id , "productcategory" , "rowsid" , "menucode" );
28:           break;
29:          }
30:         } 
31:        }
32: 
33:        $get_brands = GetQueryString( "brand" );
34: 
35:        if( IsArray( $get_brands ) == true )
36:        {
37:         $old_brands = trim( InsertVariable( "OLD_PRODUCT_BRANDS" ) );
38:         $old_brands = explode( "\n" , $old_brands );
39:         if( IsArray( $old_brands ) == true )
40:         {
41:          foreach( $old_brands as $key => $val )
42:          {
43:           $list = explode( "|" , $val );
44:           $old_brandid = ( isset( $list[0] ) ? $list[0] : "" );
45:           $new_brandid = ( isset( $list[1] ) ? $list[1] : "" );
46:           $pos = InArrayKey( $old_brandid , $get_brands );
47:           if( $pos != false )
48:           {
49:            $get_brands[$pos[0]] = $new_brandid;
50:           }
51:          } 
52:          $_GET["brand"] = $get_brands;
53:         } 
54:        }
55:        
56:        if( isset( $_GET["sort"] ) == true )
57:        {
58:         $_GET["sort"] = "";
59:        }
60: 
61:        $uncode = GetQueryString( "uncode" );
62:        if( $uncode == "true" )
63:        {
64:         $_GET["txt_search"] = Replace( GetQueryString( "keyword" ) , "-" , " " );
65:        }
66: 
67:       }
68: 
69:       global $val_block , $val_block_page;
70:       $get_page = TrimArray( Ucase( GetQueryString( "page" ) ) );
71:       $get_stock = trim( GetQueryString( "stock" ) );
72:       
73:       $get_sortby = trim( GetQueryString( "sortby" ) );
74:       switch( $get_sortby )
75:       {
76:        case "0":
77:         $order_by = "siteprice = 0 , products.visitors DESC";
78:        break;
79: 
80:        case "1":
81:         $order_by = "siteprice = 0 , products.regdatesolar DESC, products.regtime DESC";
82:        break;
83: 
84:        //case "2":
85:        //break;
86: 
87:        case "":
88:        case "3":
89:         $order_by = "siteprice = 0 , products.discount DESC , products.siteprice ASC , products.regdatesolar DESC, products.regtime DESC";
90:        break;
91: 
92:        case "4":
93:         $order_by = "siteprice = 0, products.siteprice ASC";
94:        break;
95: 
96:        case "5":
97:         $order_by = "siteprice = 0, products.siteprice DESC";
98:        break;
99: 
100:        default:
101:         $order_by = "siteprice = 0, products.siteprice ASC";
102:        break;
103:       }
104: 
105:       $val_block = ReturnProductListModuleValOnSite( $get_page , null , $order_by , array() , $get_stock );
106:       
107:       $val_block_page = array(
108:                                     "value" => $active_product_categories ,
109:                                     "exclusions" => $exclusions_product_categories,
110:                                     "page" => GetQueryString("pagenum"),
111:                                     "page_format" => "<li><a href='{page_number_url->none}'>{page_number->ConvertToFaNumber}</a></li>" , 
112:                                     "page_format_selected" => "<li class='active'><a href='{page_number_url->none}'>{page_number->ConvertToFaNumber}</a></li>" , 
113:                                     "total_show_pages" => 5 , 
114:                                     "rows_per_page" => 24 ,
115:                                     "page_key" => "pagenum",
116:                                     "sort_key" => "sort" ,
117:                                     "use_search_word" => false ,
118:                                     "order_by" => $order_by,
119:                                     "query_string" => GetPageNumberQuery( "POSTGET" , "pagenum" , "sort" , null , array( "smallimagepath" , "com_categoryid" , "___" , "cat" , "lang" , "range_price_from" , "range_price_to" , "price_from" , "price_to" , "method" ) ) ,
120:                                     "template_query_strings" => $template_query_strings ,
121:                                     "seo_url_querystrings" => array(
122:                                                                     "page_number->urlencode" => "{page_number->urlencode}" ,
123:                                                                     "productcategory-code->urlencode" => FindRecordViaRequest( "productcategory" , "menucode" , "code" , GetQueryString( "com_category" ) , 1 ) ,
124:                                                                    ),
125: 
126:                               );
127: 
Array
(
    [type] => 2
    [message] => mysqli_fetch_row() expects parameter 1 to be mysqli_result, null given
    [file] => /home/cyber/public_html/core/libraries/Database_Functions.php
    [line] => 524
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [16] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/mod_products.php / class: mod_products / object:  / type: ::
    [19] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [22] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [23] => function: RunModule / line: 10 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [24] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [25] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [26] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [27] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [28] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [29] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [30] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [31] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [32] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT COUNT(1) AS count_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))) as products LIMIT 0,1
Error Sql:
SELECT COUNT(1) AS count_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))) as products LIMIT 0,1
Error Sql:
SELECT COUNT(1) AS count_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))) as products LIMIT 0,1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT COUNT(1) AS count_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))) as products LIMIT 0, 1
Error Sql:
SELECT COUNT(1) AS count_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))) as products LIMIT 0, 1
Error Sql:
SELECT COUNT(1) AS count_ 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))) as products LIMIT 0, 1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT COUNT(1) as count_ 
FROM (SELECT * 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products) as _p
Error Sql:
SELECT COUNT(1) as count_ 
FROM (SELECT * 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products) as _p
Error Sql:
SELECT COUNT(1) as count_ 
FROM (SELECT * 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))  ) as products) as _p
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT * 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))
ORDER BY siteprice = 0,products.discount DESC,products.siteprice ASC,products.regdatesolar DESC,products.regtime DESC LIMIT 24, 24 ) as products
Error Sql:
SELECT * 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))
ORDER BY siteprice = 0,products.discount DESC,products.siteprice ASC,products.regdatesolar DESC,products.regtime DESC LIMIT 24, 24 ) as products
Error Sql:
SELECT * 
FROM (SELECT products.rowsid,products.id,products.productid,products.category,products.title,products.name,products.code,products.siteprice,products.discount,products.minprice,products.maxprice,products.tax,products.units,products.priceoptions,products.smallimagepath,products.status,products.label,productcategory.menucode,productcategory.title as productcategorytitle,productcategory.showing as productcategoryshowing,productcategory.code as productcategorycode,productcategory.rowsid as productcategoryid 
FROM products 
INNER JOIN productcategory USE INDEX(index_productcategory) ON products.category=productcategory.menucode 
WHERE (products.showing='YES' AND productcategory.showing='YES'  AND ((( ( ( products.category LIKE '02%' OR products.category LIKE '02' OR products.category LIKE '%:02,%' OR products.category LIKE '%:02' ) ) OR ( ( products.subcategorieslist LIKE '02%' OR products.subcategorieslist LIKE '02' OR products.subcategorieslist LIKE '%:02,%' OR products.subcategorieslist LIKE '%:02' ) )) AND ( ( ( products.smallimagepath NOT LIKE '-' ) )) AND ( ( ( TRIM(products.smallimagepath) <> '' ) ))) ))
ORDER BY siteprice = 0,products.discount DESC,products.siteprice ASC,products.regdatesolar DESC,products.regtime DESC LIMIT 24, 24 ) as products
1: 
2:       global $WriteProductBox , $CreateProductBox;
3:       
4:       //----------------------------------------------------
5: 
6:       $CreateProductBox = function( $vars ){
7:        return CreateProductBox( $vars );
8:       };
9: 
10:       //----------------------------------------------------
11: 
12:       $WriteProductBox = function( $vars ) {
13:        global $CreateProductBox;
14:        return $CreateProductBox( $vars );
15: 
16:        /*
17:        $rowsid = $vars["rowsid"];
18:         $memkey = "CACHE_PRODUCT_BOX_ROWSID_" . $rowsid;
19:         $output = ( IsMemCacheKey( $memkey ) == false ?
20:                     PutMemCache( $memkey , $CreateProductBox( $vars ) )
21:                     :
22:                     GetMemCache( $memkey )
23:                   );
24:         return $output;
25:        */
26:       };
27: 
28:      
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [16] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/mod_products.php / class: mod_products / object:  / type: ::
    [19] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
1: 
2:       global $active_product_categories , $exclusions_product_categories;
3:       $active_product_categories = InsertVariable( "ACTIVE_PRODUCT_CATEGORY_LIST" );
4:       $active_product_categories = explode( "\n" , $active_product_categories );
5:       $active_product_categories = TrimArray( $active_product_categories );
6: 
7:       $exclusions_product_categories = InsertVariable( "EXCLUSIONS_PRODUCT_CATEGORY_LIST" );
8:       $exclusions_product_categories = explode( "\n" , $exclusions_product_categories );
9:       $exclusions_product_categories = TrimArray( $exclusions_product_categories );
10:       
11:       $old_site = GetQueryString( "old_site" );
12:       if( trim( Ucase( $old_site ) ) == "TRUE" )
13:       {
14:        $old_categoryid = trim( GetQueryString( "com_categoryid" ) );
15:        $old_cats = trim( InsertVariable( "OLD_PRODUCT_CATEGORIES" ) );
16:        $old_cats = explode( "\n" , $old_cats );
17:        if( IsArray( $old_cats ) == true )
18:        {
19:         foreach( $old_cats as $key => $val )
20:         {
21:          $list = explode( "|" , $val );
22:          $old_id = ( isset( $list[0] ) ? $list[0] : "" );
23:          $new_id = ( isset( $list[1] ) ? $list[1] : "" );
24:          if( $old_categoryid == $old_id )
25:          {
26:           $_GET["com_categoryid"] = "";
27:           $_GET["com_category"] = FindInRecordsViaRequest( $new_id , "productcategory" , "rowsid" , "menucode" );
28:           break;
29:          }
30:         } 
31:        }
32: 
33:        $get_brands = GetQueryString( "brand" );
34: 
35:        if( IsArray( $get_brands ) == true )
36:        {
37:         $old_brands = trim( InsertVariable( "OLD_PRODUCT_BRANDS" ) );
38:         $old_brands = explode( "\n" , $old_brands );
39:         if( IsArray( $old_brands ) == true )
40:         {
41:          foreach( $old_brands as $key => $val )
42:          {
43:           $list = explode( "|" , $val );
44:           $old_brandid = ( isset( $list[0] ) ? $list[0] : "" );
45:           $new_brandid = ( isset( $list[1] ) ? $list[1] : "" );
46:           $pos = InArrayKey( $old_brandid , $get_brands );
47:           if( $pos != false )
48:           {
49:            $get_brands[$pos[0]] = $new_brandid;
50:           }
51:          } 
52:          $_GET["brand"] = $get_brands;
53:         } 
54:        }
55:        
56:        if( isset( $_GET["sort"] ) == true )
57:        {
58:         $_GET["sort"] = "";
59:        }
60: 
61:        $uncode = GetQueryString( "uncode" );
62:        if( $uncode == "true" )
63:        {
64:         $_GET["txt_search"] = Replace( GetQueryString( "keyword" ) , "-" , " " );
65:        }
66: 
67:       }
68: 
69:       global $val_block , $val_block_page;
70:       $get_page = TrimArray( Ucase( GetQueryString( "page" ) ) );
71:       $get_stock = trim( GetQueryString( "stock" ) );
72:       
73:       $get_sortby = trim( GetQueryString( "sortby" ) );
74:       switch( $get_sortby )
75:       {
76:        case "0":
77:         $order_by = "siteprice = 0 , products.visitors DESC";
78:        break;
79: 
80:        case "1":
81:         $order_by = "siteprice = 0 , products.regdatesolar DESC, products.regtime DESC";
82:        break;
83: 
84:        //case "2":
85:        //break;
86: 
87:        case "":
88:        case "3":
89:         $order_by = "siteprice = 0 , products.discount DESC , products.siteprice ASC , products.regdatesolar DESC, products.regtime DESC";
90:        break;
91: 
92:        case "4":
93:         $order_by = "siteprice = 0, products.siteprice ASC";
94:        break;
95: 
96:        case "5":
97:         $order_by = "siteprice = 0, products.siteprice DESC";
98:        break;
99: 
100:        default:
101:         $order_by = "siteprice = 0, products.siteprice ASC";
102:        break;
103:       }
104: 
105:       $val_block = ReturnProductListModuleValOnSite( $get_page , null , $order_by , array() , $get_stock );
106:       
107:       $val_block_page = array(
108:                                     "value" => $active_product_categories ,
109:                                     "exclusions" => $exclusions_product_categories,
110:                                     "page" => GetQueryString("pagenum"),
111:                                     "page_format" => "<li><a href='{page_number_url->none}'>{page_number->ConvertToFaNumber}</a></li>" , 
112:                                     "page_format_selected" => "<li class='active'><a href='{page_number_url->none}'>{page_number->ConvertToFaNumber}</a></li>" , 
113:                                     "total_show_pages" => 5 , 
114:                                     "rows_per_page" => 24 ,
115:                                     "page_key" => "pagenum",
116:                                     "sort_key" => "sort" ,
117:                                     "use_search_word" => false ,
118:                                     "order_by" => $order_by,
119:                                     "query_string" => GetPageNumberQuery( "POSTGET" , "pagenum" , "sort" , null , array( "smallimagepath" , "com_categoryid" , "___" , "cat" , "lang" , "range_price_from" , "range_price_to" , "price_from" , "price_to" , "method" ) ) ,
120:                                     "template_query_strings" => $template_query_strings ,
121:                                     "seo_url_querystrings" => array(
122:                                                                     "page_number->urlencode" => "{page_number->urlencode}" ,
123:                                                                     "productcategory-code->urlencode" => FindRecordViaRequest( "productcategory" , "menucode" , "code" , GetQueryString( "com_category" ) , 1 ) ,
124:                                                                    ),
125: 
126:                               );
127: 
Array
(
    [type] => 2
    [message] => mysqli_fetch_row() expects parameter 1 to be mysqli_result, null given
    [file] => /home/cyber/public_html/core/libraries/Database_Functions.php
    [line] => 524
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [16] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/mod_products.php / class: mod_products / object:  / type: ::
    [19] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [22] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [23] => function: RunModule / line: 8 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [24] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [25] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [26] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [27] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [28] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [29] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [30] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [31] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [32] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [33] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [34] => function: RunModule / line: 10 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [35] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [36] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [37] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [38] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [39] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [40] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [41] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [42] => function: preg_replace_callback / line: 1064 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [43] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db
1: 
2:     global $val_block , $val_block_page;
3: 
4:     /*
5:     if( IsEmpty( $val_block_page ) == true )
6:     {
7:      RunModule( "object" , "/tpl/site/list-product/products_valblock.tpl" , "" , 1 , "" , "" );
8:     } 
9:     */
10:     RunModule( "object" , "/tpl/site/list-product/products_valblock.tpl" , "" , 1 , "" , "" );
11:     
12:     $val_block_minprice = $val_block;
13:     $val_block_maxprice = $val_block;
14: 
15:     $val_block_minprice["order_by"] = "siteprice=0 , products.siteprice ASC";
16:     $val_block_maxprice["order_by"] = "siteprice=0 , products.siteprice DESC";
17: 
18:     Unset( $val_block_minprice["advance_search_sql"]["price_from"] );
19:     Unset( $val_block_minprice["advance_search_sql"]["price_to"] );
20:     Unset( $val_block_maxprice["advance_search_sql"]["price_from"] );
21:     Unset( $val_block_maxprice["advance_search_sql"]["price_to"] );
22: 
23:     $min_sql_statement = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_FIND_BY_SEARCH_pagenumber" , $val_block_minprice , 1 , "{SQL_STATEMENT}" , null , false ) );
24:     $max_sql_statement = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_FIND_BY_SEARCH_pagenumber" , $val_block_maxprice , 1 , "{SQL_STATEMENT}" , null , false ) );
25: 
26:     //$minprice = GetValueRecordViaRequest( Replace( $min_sql_statement , array( " * " , "#LIMIT#" ) , array( " MIN(siteprice) as min_ " , "LIMIT 0,1" ) ) . " WHERE siteprice > 0" , "min_" );
27:     $minprice = GetValueRecordViaRequest( Replace( $min_sql_statement , array( " * " , "#LIMIT#" , "ORDER BY siteprice =0,products.siteprice ASC,products.regdatesolar DESC" ) , array( " MIN(siteprice) as min_ " , "" , "" ) ) . " WHERE siteprice > 0" , "min_" );
28: 
29:     //$maxprice = GetValueRecordViaRequest( Replace( $max_sql_statement , array( " * " , "#LIMIT#" ) , array( " MAX(siteprice) as max_ " , "LIMIT 0,1" ) ) . " WHERE siteprice > 0" , "max_" );
30:     $maxprice = GetValueRecordViaRequest( Replace( $max_sql_statement , array( " * " , "#LIMIT#" , "ORDER BY siteprice =0,products.siteprice DESC,products.regdatesolar DESC" ) , array( " MAX(siteprice) as max_ " , "" , "" ) ) . " WHERE siteprice > 0" , "max_" );
31:  
32:     /*
33:     Unset( $val_block["advance_search_sql"]["price_from"] );
34:     Unset( $val_block["advance_search_sql"]["price_to"] );
35:     $minmax_sql_statement = trim( InsertModuleBlock( "products" , "PRODUCTS_LIST_CATEGORY_FIND_BY_SEARCH_COUNT" , $val_block , 1 , "{SQL_STATEMENT}" ) );
36:     $minprice = GetValueRecord( Replace( $minmax_sql_statement , "COUNT(*)" , "MIN(siteprice)" ) . " WHERE siteprice > 0"  , "count_" );
37:     $maxprice = GetValueRecord( Replace( $minmax_sql_statement , "COUNT(*)" , "MAX(siteprice)" ) . " WHERE siteprice > 0"  , "count_" );
38:     */
39:     
40:     $range_price_from = ConvertToRial( Int( GetQueryString( "range_price_from" ) ) );
41:     if( $range_price_from > 0 && $range_price_from >= $minprice && $range_price_from <= $maxprice )
42:     {
43:      $minprice = $range_price_from;
44:     }
45: 
46:     $range_price_to = ConvertToRial( Int( GetQueryString( "range_price_to" ) ) );
47:     if( $range_price_to > 0 && $range_price_to >= $minprice && $range_price_to <= $maxprice )
48:     {
49:      $maxprice = $range_price_to;
50:     }
51: 
52:     $minprice = ConvertToToman( $minprice );
53:     $maxprice = ConvertToToman( $maxprice );
54: 
55:     return "
56:           <input type='hidden' value='" . ( $minprice ) . "' id='range_price_from' name='range_price_from'>
57:           <input type='hidden' value='" . ( $maxprice ) . "' id='range_price_to' name='range_price_to'>
58: 
59:           <input type='hidden' value='" . Quote( trim( GetQueryString( "price_from" ) ) == "" ? "" : GetQueryString( "price_from" )  ) . "' id='price_from' name='price_from'>
60:           <input type='hidden' value='" . Quote( trim( GetQueryString( "price_to" ) ) == "" ? "" : GetQueryString( "price_to" )  ) . "' id='price_to' name='price_to'>
61: 
62:          ";
63:    
Array
(
    [type] => 2
    [message] => mysqli_select_db() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 111
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [16] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/mod_products.php / class: mod_products / object:  / type: ::
    [19] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [22] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [23] => function: RunModule / line: 8 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [24] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [25] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [26] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [27] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [28] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [29] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [30] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [31] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [32] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_AUTO_SAVE_KEYWORDS' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_AUTO_SAVE_KEYWORDS' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'SETTING_AUTO_SAVE_KEYWORDS' LIMIT 0,1
1: 
2:          global $output , $term , $com_product_status_options , $auto_save_keywords;
3:          $output = "";
4:          $term = GetQueryString( "txt_search" , "POSTGET" , false );
5:          $auto_save_keywords = ( GetSetting( "SETTING_AUTO_SAVE_KEYWORDS" ) == "1" ? true : false );
6:         
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [10] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [11] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [12] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [13] => function: load_tpl / line: 25 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [14] => function: preg_replace_callback / line: 284 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [15] => function: addmodule_tpl / line:  / file:  / class: template / object:  / type: ::
    [16] => function: add_module / line: 478 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/mod_products.php / class: mod_products / object:  / type: ::
    [19] => function: check_template_param / line: 29 / file: /home/cyber/public_html/core/modules-php5.6/mod_products/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT * 
FROM banners 
WHERE TRIM(path)<>'' AND TRIM(path)<>'-' AND showing='YES'  AND location='ADS_PRODUCTS_TOP' AND startdatesolar<='1403/04/25' AND expiredatesolar>='1403/04/25' AND ((categorieslist LIKE '%:P,%') OR (categorieslist LIKE '%:P') OR TRIM(categorieslist)='' OR categorieslist IS NULL  OR (categorieslist LIKE '%:P')) AND ( TRIM(brandslist)='' OR brandslist IS NULL ) 
ORDER BY regdatesolar DESC,rowsid DESC LIMIT 0, 1
Error Sql:
SELECT * 
FROM banners 
WHERE TRIM(path)<>'' AND TRIM(path)<>'-' AND showing='YES'  AND location='ADS_PRODUCTS_TOP' AND startdatesolar<='1403/04/25' AND expiredatesolar>='1403/04/25' AND ((categorieslist LIKE '%:P,%') OR (categorieslist LIKE '%:P') OR TRIM(categorieslist)='' OR categorieslist IS NULL  OR (categorieslist LIKE '%:P')) AND ( TRIM(brandslist)='' OR brandslist IS NULL ) 
ORDER BY regdatesolar DESC,rowsid DESC LIMIT 0, 1
Error Sql:
SELECT * 
FROM banners 
WHERE TRIM(path)<>'' AND TRIM(path)<>'-' AND showing='YES'  AND location='ADS_PRODUCTS_TOP' AND startdatesolar<='1403/04/25' AND expiredatesolar>='1403/04/25' AND ((categorieslist LIKE '%:P,%') OR (categorieslist LIKE '%:P') OR TRIM(categorieslist)='' OR categorieslist IS NULL  OR (categorieslist LIKE '%:P')) AND ( TRIM(brandslist)='' OR brandslist IS NULL ) 
ORDER BY regdatesolar DESC,rowsid DESC LIMIT 0, 1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT landingbrand 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT landingbrand 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT landingbrand 
FROM brands 
WHERE id = '' LIMIT 0,1
Error Sql:
SELECT landingcategory 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT landingcategory 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT landingcategory 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
1: 
2:  global $page_landing_brand , $page_landing_category;
3:  $page_landing_brand = CheckIsPageForLandingBrand();
4:  $page_landing_category = CheckIsPageForLandingCategory();
5: 
6:  if( $page_landing_brand === true )
7:  {
8:   //return RunModule( "object" , "/tpl/site/list-product/siteproducts_brandlanding_body.tpl" , "" , 1 , "" , "" );
9:  }
10: 
11:  if( $page_landing_category === true )
12:  {
13:   //return RunModule( "object" , "/tpl/site/list-product/siteproducts_catlanding_body.tpl" , "" , 1 , "" , "" );
14:  }
15:  
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [10] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [11] => function: InsertOfflineTemplate / line: 9 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [12] => function: RunModule / line: 185 / file: /home/cyber/public_html/core/libraries/Insert_Functions.php / class:  / object:  / type: 
    [13] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [14] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [15] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [16] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [19] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SELECT * 
FROM productcategory 
WHERE showing='YES'  
ORDER BY menucode ASC,sortlevel ASC,upmenuid ASC
Error Sql:
SELECT * 
FROM productcategory 
WHERE showing='YES'  
ORDER BY menucode ASC,sortlevel ASC,upmenuid ASC
Error Sql:
SELECT * 
FROM productcategory 
WHERE showing='YES'  
ORDER BY menucode ASC,sortlevel ASC,upmenuid ASC
1: 
2:          global $page_landing_brand;
3: 
4:          if( $page_landing_brand === false )
5:          {
6:          
7:          $active_product_categories = array();
8: 
9:          /*
10:          $category = ( trim( GetQueryString( "com_category" ) ) != "" ?
11:                        GetQueryString( "com_category" )
12:                        :
13:                        ( trim( GetQueryString( "cat" ) ) != "" ? 
14:                          FindRecordViaRequest( "productcategory" , "code" , "menucode" , GetQueryString( "cat" ) )
15:                          :
16:                          FindRecordViaRequest( "productcategory" , "rowsid" , "menucode" , GetQueryString( "com_categoryid" ) )
17:                        )
18: 
19:                      );
20:          */
21:          $category = GetProductCategoryCodeFromQueryString();
22:          
23:          //$active_product_categories[] = GetRootMenu( $category );
24:  
25:          $exclusions_product_categories = InsertVariable( "EXCLUSIONS_PRODUCT_CATEGORY_LIST" );
26:          $exclusions_product_categories = explode( "\n" , $exclusions_product_categories );
27:          $exclusions_product_categories = TrimArray( $exclusions_product_categories );
28: 
29:          $result = "";
30: 
31:          $template = "[ev" . "al]" .
32:                      "global \$code,\$url_cat,\$rowsid,\$menucode;" .
33:                      "\$rowsid = Int( \"{productcategory-rowsid->Int}\" );" .
34:                      "\$code = \"{productcategory-code->ReplaceJQuote(true,false,false)}\";" .
35:                      "\$menucode = \"{productcategory-menucode->ReplaceJQuote(true,false,false)}\";" .
36:                      "\$template_query_strings['code'][2]['productcategory-code->urlencode'] = urlencode( \$code );" .
37:                      
38:                      //"\$url_cat = ConvertToSeoUrl( '/templates/101cyber-v2/fa-IR/products.php?page=products&cat=' . urlencode( \$code ) . '&action=search&tpl=' , \$template_query_strings );" .
39:                      "\$url_cat = CreateProductCategoryLink( \$menucode )['url'];" .
40:                      "    
41: 
42:                       return ( \$rowsid > 0 ? \"
43:                       <li data-title='{productcategory-title->Quote}' value='{productcategory-menucode->Quote}' class='item-level{productcategory-menucode->GetProductMenuLevel} \" . 
44:                                   ( GetQueryStringForFieldValue( 'com_category' ) == '{productcategory-menucode->Quote}' ||  
45:                                     GetQueryStringForFieldValue( 'com_categoryid' ) == '{productcategory-rowsid->Quote}' || 
46:                                     GetQueryStringForFieldValue( 'cat' ) == \$code ? 'active' : ''
47:                                   )
48:                        . \"'>
49:                        <a href='\$url_cat'>
50:                        {productcategory-menucode->SpaceOnProductMenuStructure('_','-',space(2))}{productcategory-title->Quote}
51:                        </a>
52:                       </li>
53:                       \"
54:                       :
55:                       ''
56:                       );
57:                      " .
58:                      "[/ev" . "al]";
59:                      
60:          if( trim( GetParentMenu( $category ) ) == "" )
61:          {
62:           $active_product_categories = array();
63:           $active_product_categories[] = $category;
64:           $val = ArrayToString( Array( 
65:                                       "value" => $active_product_categories ,
66:                                       "order_by" => "menucode ASC,sortlevel ASC" ,
67:                                       "exclusions" => $exclusions_product_categories ,
68:                                       )
69:                               );
70: 
71:           $result .= trim( InsertModuleBlock( "productcat" , "PRODUCT_CATEGORY_DIRECTSUBITEMS_FIND_BY_MENUCODE" , $val , -1 , $template ) );
72:          }
73:          else
74:          {
75:           
76:           $active_product_categories = array();
77:           $active_product_categories = GetProductCategoryLevels( $category );
78:           
79:           if( GetProductMenuLevel( $category ) >= 4 )
80:           {
81:            $active_product_categories = UnsetByValue( GetLastArrayElement( $active_product_categories ) , $active_product_categories );
82:           }
83:           
84:           if( IsArray( $active_product_categories ) == true )
85:           {
86:            $val = ArrayToString( Array( 
87:                                        "value" => $active_product_categories ,
88:                                        "order_by" => "menucode ASC,sortlevel ASC" ,
89:                                        "exclusions" => $exclusions_product_categories ,
90:                                        )
91:                                );
92: 
93:            $result .= trim( InsertModuleBlock( "productcat" , "PRODUCT_CATEGORY_ITEMS_FIND_BY_MENUCODE" , $val , -1 , $template ) );
94:           } 
95: 
96:           if( GetProductMenuLevel( $category ) < 4 )
97:           {
98:            $val = ArrayToString( Array( 
99:                                        "value" => $category ,
100:                                        "order_by" => "menucode ASC,sortlevel ASC" ,
101:                                        "exclusions" => $exclusions_product_categories ,
102:                                        )
103:                                );
104:            $result .= trim( InsertModuleBlock( "productcat" , "PRODUCT_CATEGORY_DIRECTSUBITEMS_FIND_BY_MENUCODE" , $val , -1 , $template ) );
105:           }
106:           else
107:           { 
108:            $val = ArrayToString( Array( 
109:                                       "value" => GetParentMenu( $category ) ,
110:                                       "order_by" => "menucode ASC,sortlevel ASC" ,
111:                                       "exclusions" => $exclusions_product_categories ,
112:                                       )
113:                               );
114:            $result .= trim( InsertModuleBlock( "productcat" , "PRODUCT_CATEGORY_DIRECTSUBITEMS_FIND_BY_MENUCODE" , $val , -1 , $template ) );
115:           } 
116: 
117:          }
118:          
119:          return $result;
120:          }
121:         
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 129 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
    [10] => function: eval / line: 930 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [11] => function: InsertOfflineTemplate / line: 9 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php(930) : eval()'d code / class:  / object:  / type: 
    [12] => function: RunModule / line: 185 / file: /home/cyber/public_html/core/libraries/Insert_Functions.php / class:  / object:  / type: 
    [13] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [14] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [15] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [16] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [17] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [18] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [19] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [20] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [21] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================
Error Sql:
SELECT menucode,title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT menucode,title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SELECT menucode,title,code,url,landingcategory 
FROM productcategory 
WHERE menucode = '' LIMIT 0,1
Error Sql:
SHOW TABLES 
FROM 101cyber_db
Error Sql:
SHOW TABLES 
FROM 101cyber_db

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'BOX_SITE_ADDRESS_V2' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'BOX_SITE_ADDRESS_V2' LIMIT 0,1
Error Sql:
SELECT type 
FROM variables 
WHERE varname = 'BOX_SITE_ADDRESS_V2' LIMIT 0,1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'BOX_SITE_ADDRESS_V2' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'BOX_SITE_ADDRESS_V2' LIMIT 0,1
Error Sql:
SELECT varvalue 
FROM variables 
WHERE varname = 'BOX_SITE_ADDRESS_V2' LIMIT 0,1

Warning: mysqli_connect(): (HY000/2002): Connection refused in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 56

Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67

Warning: mysqli_errno() expects parameter 1 to be mysqli, bool given in /home/cyber/public_html/core/classes/mysqli_instance.class.php on line 67
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'LINE_TO_BR_BOX_SITE_ADDRESS' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'LINE_TO_BR_BOX_SITE_ADDRESS' LIMIT 0,1
Error Sql:
SELECT value,options 
FROM settings 
WHERE varname = 'LINE_TO_BR_BOX_SITE_ADDRESS' LIMIT 0,1
1: 
2:              $address = "";
3:              $address = Replace( $address , array( "<br>" , "<br />" , "<br/>" ) , "\n" );
4:              $address = TrimArray( explode( "\n" , $address ) );
5:              $address = AddFilter( $address , "strip_tags" );
6:              $address = "<p class='contact-item'>" . implode( "</p><p class='contact-item'>" , $address ) . "</p>";
7:              return $address;  
8:             
Array
(
    [type] => 2
    [message] => mysqli_query() expects parameter 1 to be mysqli, bool given
    [file] => /home/cyber/public_html/core/classes/mysqli_instance.class.php
    [line] => 224
)
Array
(
    [0] => function: RunModule / line: 130 / file: /home/cyber/public_html/templates/101cyber-v2/fa-IR/products.php / class:  / object:  / type: 
    [1] => function: RunObject / line: 25 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [2] => function: RunObject_PHP506 / line: 16 / file: /home/cyber/public_html/core/libraries/RunObject.php / class:  / object:  / type: 
    [3] => function: addmodule / line: 136 / file: /home/cyber/public_html/core/libraries/RunObject.php / class: template / object:  / type: ::
    [4] => function: add_module / line: 463 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class: template / object:  / type: ::
    [5] => function: require / line: 520 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [6] => function: get_module / line: 40 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/mod_object.php / class: mod_object / object:  / type: ::
    [7] => function: check_template_param / line: 28 / file: /home/cyber/public_html/core/modules-php5.6/mod_object/helper.php / class: template / object:  / type: ::
    [8] => function: preg_replace_callback / line: 1186 / file: /home/cyber/public_html/core/classes/templates-php5.6.class.php / class:  / object:  / type: 
    [9] => function: add_code / line:  / file:  / class: template / object:  / type: ::
)
=======================================================

    CYBER

    • فیلترها