Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2095

Phoca Cart • Re: Version Details Page

$
0
0
Hi, the communication is still the same:

The Beta was in fact as stable because it was tested properly and it only missed the new Joomla mail templates integration, so it was safe to use it. But between development versions the update of database does not work (as these are still the same versions and the update feature cannot differentiate between them). So in such case some SQL queries need to be run after update.

Such can be found here:
administrator/components/com_phocacart/update/sql/mysql/5.0.0.sql

In fact, it is a trivial copy paste operation, for example, let's say your system tells you that change_tax column is missing in your database:

So, just open this file:

administrator/components/com_phocacart/update/sql/mysql/5.0.0.sql

find the "change_tax" string

ALTER TABLE `#__phocacart_shipping_methods` ADD COLUMN `change_tax` tinyint(1) NOT NULL DEFAULT '0';

Replace to your database prefix (e.g. jos_):

ALTER TABLE `jos_phocacart_shipping_methods` ADD COLUMN `change_tax` tinyint(1) NOT NULL DEFAULT '0';

and open on your server phpMyAdmin and paste (run) this command, so the column will be updated.

Joomla has in administration "fix database" feature but this may not always work, so it is better just copy the query (change the prefix) and run in phpMyAdmin.

If you have problems in this area, just paste the error message in this forum, so we can write here the right query.

Jan

Statistics: Posted by Jan — 15 Apr 2025, 15:37



Viewing all articles
Browse latest Browse all 2095