When I apply the update I get the following error:
1054
Unknown column 'change_tax' in 'field list'
Phocacart beta75 -> 87 update
- Benno
- Phoca Hero

- Posts: 9957
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phocacart beta75 -> 87 update
Hi,
backup your Database first and then run this query:
Kind regards,
Benno
backup your Database first and then run this query:
Code: Select all
ALTER TABLE `#__phocacart_shipping_methods` ADD COLUMN `change_tax` tinyint(1) NOT NULL DEFAULT '0';
Benno
- Jan
- Phoca Hero

- Posts: 49125
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phocacart beta75 -> 87 update
Great, thank you Benno for this information. Unfortunately the database update does not work between different Beta versions.
If you find Phoca extensions useful, please support the project
- sulpher
- Phoca Professional

- Posts: 142
- Joined: 28 Feb 2017, 09:45
Re: Phocacart beta75 -> 87 update
Hello,
I am using beta79. And there were older beta versions earlier. I just installed the latest beta at that moment over existing ones.
I do not see the issue described in this topic or could not reproduce it.
Should the user performs this DB query after the update to beta 87 or keep it as is if no problem occurs?
I am using beta79. And there were older beta versions earlier. I just installed the latest beta at that moment over existing ones.
I do not see the issue described in this topic or could not reproduce it.
Should the user performs this DB query after the update to beta 87 or keep it as is if no problem occurs?
- Benno
- Phoca Hero

- Posts: 9957
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phocacart beta75 -> 87 update
@sulpher,
Just check whether the column 'change_tax' already exists in the table '#__phocacart_shipping_methods'. If 'Yes' everything is fine, if 'No' create it with the above database query. Note that you first replace '#_' with your database prefix:
Kind regards,
Benno
Just check whether the column 'change_tax' already exists in the table '#__phocacart_shipping_methods'. If 'Yes' everything is fine, if 'No' create it with the above database query. Note that you first replace '#_' with your database prefix:

Kind regards,
Benno
- sulpher
- Phoca Professional

- Posts: 142
- Joined: 28 Feb 2017, 09:45
Re: Phocacart beta75 -> 87 update
Oh, yes... The dev site have had this column while another site had not...
Thank you so much for explanations, Benno!
Thank you so much for explanations, Benno!
- Benno
- Phoca Hero

- Posts: 9957
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phocacart beta75 -> 87 update
You're welcome!
Kind regards,
Benno
Kind regards,
Benno
