Jump to content

Order Step2 blank page


Recommended Posts

Weird problem... I thought my new shop was working fine but this morning I encountered an issue.

 

A guest who created a basket and starts the Order Process (checkout) runs into a blank page at Step2.

 

A registered Client doing the same can order as normal.

 

Why does my shop has this error for non registered visitors?? this is 1.5 and it is supposed to work. In Step2 the guest should be able to register himself and complete the ordering process 

 

 

usefull info: I disabled Guest account to checkout. I have another shop in 1.4 and there everything is working fine with same checkout policy

Link to comment
Share on other sites

which I did and I see exactly the same text appearing on the top of the screen with "guest" and "registered customer" where PS goes true for the latter but not for the guest.

 

Remark: I'm not a debugging/error handler expert... I get this: Is this an error message??

 

Strict Standards: Declaration of Cart::updateQty() should be compatible with CartCore::updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = 'up', $id_address_delivery = 0, Shop $shop = NULL, $auto_add_cart_rule = true) in/home/<myusr>/public_html/override/classes/Cart.php on line 155

 

 

Underneath there are some warnings

Link to comment
Share on other sites

Hi Michael

 

This error is because of a override cart class. Please make sure that "updateQty" function of the cart class in override/classes/Cart.php folder have same parameters as of "updateQty" function in classes/Cart.php.

 

 

Thanks

Link to comment
Share on other sites

thanks guys!

 

I am a noob on this override stuff... what does it mean? can I turn it off or isn't it a good idea? Can a theme bring override?

Is it something to enable/disbale in backoffice? or in files via ftp?

Link to comment
Share on other sites

Strict Standards: Declaration of Product::updateProductAttribute() should be compatible with ProductCore::updateProductAttribute($id_product_attribute, $wholesale_price, $price, $weight, $unit, $ecotax, $id_images, $reference, $id_supplier, $ean13, $default, $location, $upc, $minimal_quantity, $available_date) in/home/<mydir>/public_html/override/classes/Product.php on line 451

Link to comment
Share on other sites

Hi

 

i have changed the 

public	function updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = 'up')

to

public function updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = 'up',$id_address_delivery = 0, Shop $shop = null, $auto_add_cart_rule = true)

add some more parameters as of "updateQty" function in classes/Cart.php

 

seems your override have the PS 1.4 version files.

for what purposes you use this override?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...