An error occurred in script '/var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php' on line 10:
mysqli_connect(): (HY000/1045): Access denied for user 'ecommercetwo'@'localhost' (using password: YES)
mysqli_connect(): (HY000/1045): Access denied for user 'ecommercetwo'@'localhost' (using password: YES)
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_connect(): (HY000/1045): Access denied for user 'ecommercetwo'@'localhost' (using password: YES)
[2] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php
[3] => 10
[4] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[page_title] => Sales Items
)
)
)
[1] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php
[line] => 10
[function] => mysqli_connect
[args] => Array
(
[0] => localhost
[1] => ecommercetwo
[2] => Stacy1964!
[3] => ecommercetwo
)
)
[2] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[line] => 7
[args] => Array
(
[0] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php
)
[function] => require
)
)
An error occurred in script '/var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php' on line 13:
mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
[2] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php
[3] => 13
[4] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[page_title] => Sales Items
[dbc] =>
)
)
)
[1] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php
[line] => 13
[function] => mysqli_set_charset
[args] => Array
(
[0] =>
[1] => utf8
)
)
[2] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[line] => 7
[args] => Array
(
[0] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/includes_2/mysql.inc.php
)
[function] => require
)
)
An error occurred in script '/var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php' on line 9:
mysqli_query() expects parameter 1 to be mysqli, boolean given
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[3] => 9
[4] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[page_title] => Sales Items
[dbc] =>
)
)
)
[1] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[line] => 9
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => CALL select_sale_items(true)
)
)
)
An error occurred in script '/var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php' on line 11:
mysqli_num_rows() expects parameter 1 to be mysqli_result, null given
mysqli_num_rows() expects parameter 1 to be mysqli_result, null given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_num_rows() expects parameter 1 to be mysqli_result, null given
[2] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[3] => 11
[4] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[page_title] => Sales Items
[r] =>
[dbc] =>
)
)
)
[1] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[line] => 11
[function] => mysqli_num_rows
[args] => Array
(
[0] =>
)
)
)
An error occurred in script '/var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html' on line 2:
Undefined variable: category
Array
(
[0] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html
[line] => 2
[function] => my_error_handler
[args] => Array
(
[0] => 8
[1] => Undefined variable: category
[2] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html
[3] => 2
[4] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[page_title] => Sales Items
[r] =>
[dbc] =>
)
)
)
[1] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[line] => 15
[args] => Array
(
[0] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html
)
[function] => include
)
)
Undefined variable: category
Array
(
[0] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html
[line] => 2
[function] => my_error_handler
[args] => Array
(
[0] => 8
[1] => Undefined variable: category
[2] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html
[3] => 2
[4] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[page_title] => Sales Items
[r] =>
[dbc] =>
)
)
)
[1] => Array
(
[file] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/sales.php
[line] => 15
[args] => Array
(
[0] => /var/www/html/dukesnuz/d/phppercolate_7/ecom-2/ch_11/views/noproducts.html
)
[function] => include
)
)
Unfortunately there are no products to list in this category. Please use the links at the top of the page to continue shopping. We apologize for the inconvenience.