Jump to content
Larry Ullman's Book Forums

[Error] => Procedure Ecommerce2.Get_Shopping_Cart_Contents Does Not Exist


Recommended Posts

Hello

 

I have a problem with cart.php

 

is there anybody can help me fixing this errors Please.

 

An error occurred in script 'C:\xampp\htdocs\SERVER\commerce\html\cart.php' on line 81:

mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given

 

Array

(

[0] => Array

(

[function] => my_error_handler

[args] => Array

(

[0] => 2

[1] => mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given

[2] => C:\xampp\htdocs\SERVER\commerce\html\cart.php

[3] => 81

[4] => Array

(

[GLOBALS] => Array

*RECURSION*

[_POST] => Array

(

)

 

[_GET] => Array

(

[sku] => O2

[action] => add

)

 

[_COOKIE] => Array

(

[sESSION] => ba0249306d8d4ca114d87bd61d5270a0

)

 

[_FILES] => Array

(

)

 

[live] =>

[contact_email] => you@example.com

[uid] => ba0249306d8d4ca114d87bd61d5270a0

[page_title] => Coffee - Your Shopping Cart

[dbc] => mysqli Object

(

[affected_rows] => -1

[client_info] => mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $

[client_version] => 50007

[connect_errno] => 0

[connect_error] =>

[errno] => 1305

[error] => PROCEDURE ecommerce2.get_shopping_cart_contents does not exist

[field_count] => 0

[host_info] => localhost via TCP/IP

[info] =>

[insert_id] => 0

[server_info] => 5.5.8

[server_version] => 50508

[sqlstate] => 42000

[protocol_version] => 10

[thread_id] => 20

[warning_count] => 0

)

 

[pid] => 2

[sp_type] => other

[r] =>

)

 

)

)

 

[1] => Array

(

[file] => C:\xampp\htdocs\SERVER\commerce\html\cart.php

[line] => 81

[function] => mysqli_num_rows

[args] => Array

(

[0] =>

)

 

)

 

)

 

 

Your Shopping Cart

Your shopping cart is currently empty.

 

Thanks

Link to comment
Share on other sites

Hello Larry.

I think it's different the one I posted last week. it looks the problem relates into shopping cart and wish list clicking one of them gives me this error.

 

Thanks

Link to comment
Share on other sites

Right. It's the same problem--a stored procedure doesn't exist--but with a different stored procedure. As the error message clearly states, the stored procedure get_shopping_cart_contents() does not exist in the database. You have to create it. In other words, do whatever you did in the other thread to get that one working.

Link to comment
Share on other sites

Right. It's the same problem--a stored procedure doesn't exist--but with a different stored procedure. As the error message clearly states, the stored procedure get_shopping_cart_contents() does not exist in the database. You have to create it. In other words, do whatever you did in the other thread to get that one working.

 

 

Thank you very much. That what I'll do.

 

 

Best wishes.

Link to comment
Share on other sites

 Share

×
×
  • Create New...