Problem with table 'xxx_phocacart_order_products'

Phoca Cart - complex e-commerce extension
ScaleBXL
Phoca Member
Phoca Member
Posts: 46
Joined: 14 Feb 2024, 14:20

Problem with table 'xxx_phocacart_order_products'

Post by ScaleBXL »

Hi Jan,

I have a problem, here's the error message and I can't update de database:

Table 'xxxx_phocacart_order_products' has the wrong type or attributes for column 'default_price' with type DECIMAL(15,. (From file 6.1.0.sql.)

I can't change ordering the products,
and all the tabs in the products administration are broken (all the tabs are displaying in "General Options tab")
and I can't delete or create product attributs (only one solution : duplicate one product with attribute and modify them)

and all that problems since the Joomla update to 6.1.0

Any idea?
ScaleBXL
Phoca Member
Phoca Member
Posts: 46
Joined: 14 Feb 2024, 14:20

Re: Problem with table 'xxx_phocacart_order_products'

Post by ScaleBXL »

This hasn't resolved anything
User avatar
Nidzo
Phoca Expert
Phoca Expert
Posts: 501
Joined: 07 Nov 2018, 14:55

Re: Problem with table 'xxx_phocacart_order_products'

Post by Nidzo »

Be patient.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49365
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with table 'xxx_phocacart_order_products'

Post by Jan »

Hi, when you run this:
ALTER TABLE `#__phocacart_order_products` MODIFY `default_price` DECIMAL(15, 4) NOT NULL DEFAULT '0';
(changing #__ to your own prefix), and the column as 15,4, you still get the error message?

Can you post a screenshot which error message it is?

Jan
If you find Phoca extensions useful, please support the project
Post Reply