Problem with table 'xxx_phocacart_order_products'

Phoca Cart - complex e-commerce extension
ScaleBXL
Phoca Member
Phoca Member
Posts: 48
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: 48
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: 503
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: 49371
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
ScaleBXL
Phoca Member
Phoca Member
Posts: 48
Joined: 14 Feb 2024, 14:20

Re: Problem with table 'xxx_phocacart_order_products'

Post by ScaleBXL »

https://imgur.com/a/WqMqp5F
Image

First one, the error message in database mainenance
Second, you will see in my product edition, the attribute are just below the editor, and same thing for all the other tabs
Third, Alter table MySQL returned an empty result
User avatar
Nidzo
Phoca Expert
Phoca Expert
Posts: 503
Joined: 07 Nov 2018, 14:55

Re: Problem with table 'xxx_phocacart_order_products'

Post by Nidzo »

ScaleBXL wrote: 23 Apr 2026, 10:11 https://imgur.com/a/WqMqp5F
Image

First one, the error message in database mainenance
Second, you will see in my product edition, the attribute are just below the editor, and same thing for all the other tabs
Third, Alter table MySQL returned an empty result
Solved - https://phoca.cz/forum/viewtopic.php?p=187179#p187179
Install 6.1.0Beta12 https://github.com/PhocaCz/PhocaCart/re ... Beta12.zip
ScaleBXL
Phoca Member
Phoca Member
Posts: 48
Joined: 14 Feb 2024, 14:20

Re: Problem with table 'xxx_phocacart_order_products'

Post by ScaleBXL »

Hi,

Thanks it resolve the database error, but I must always check in some phoca cart tables in Mantenance Global Check-in.

No effect in product edition, I can't create, delete attributes, and all the tabs are destructured
If I create a new product I have all the tabs, even those that shouldn't be displayed but I can't create, delete attributes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49371
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with table 'xxx_phocacart_order_products'

Post by Jan »

Hi, what do you mean with desctructured tabs?
If you find Phoca extensions useful, please support the project
Post Reply