Update from v3.0.0 RC6 -> v3.0.2

Phoca Cart - complex e-commerce extension
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

Hi,

I read different topic but I messed something.

I'ts possible to update from v3.0.0 RC6 directly to latest stable version v3.0.2?

I'm running jf Simone template on my website and it comes with phoca chart 3.0.0 rc6.

I Understood that i have to read careffully this article: viewtopic.php?f=44&t=57836&p=146206#p146206

but in my case I don't know wich steps to follow

P.S. Thanks for sharing this great tool! :-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Jan »

Hi, will be not so easy.

RC6 is a development version and there was no automatic update between development version, so I would recommend:

1) Install the stable and update database manually:
administrator\components\com_phocacart\install\sql\mysql\install.utf8.sql

All SQL starting from:

Code: Select all

-- ---------
-- RC6 -> RC7
-- ---------
should get your database prefix (-- comments should be removed) and they should be run in your database tool - e.g. in phpMyAdmin to update database tables and columns

2) Then you can install 3.0.1 and 3.0.2 (there are update scripts which should be automatically update the database but it depends on Joomla! extension manager - I would recommend to install it step by step - there are only two versions now - so you will be sure the database will be automatically updated)

Simone template: there were some changes in outputs, I am now preparing new vesion of Phoca Cart and I will prepare a patch for Simone template too - so maybe it will be better you will wait for next version of Phoca Cart. :idea:

Jan
If you find Phoca extensions useful, please support the project
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

thanks for quick response and for the support
I'm going to make a try
I'll tell you how is going!
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

everytime I click on download button from the various releases he points me always on the latest version v3.0.2.
It seems I can download only that!

other system info :
Joomla! 3.7.1 Stable
PHP 5.6.29
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Jan »

If you find Phoca extensions useful, please support the project
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

thanks so much!
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

coming with new update!

1 - installed stable version v3.0.0
2 - dowloaded an offline version of the install.utf8.sql file
3 - removed comment + changed prefix whit "my database prefix"
4 - updated database manually, first for RC6->RC7; and so on thill the RC9.1 -> STABLE.

***When I updated database from RC6->RC7 I run into a error:

Query SQL:
INSERT INTO `Shop_phocacart_groups` (`id`, `title`, `published`, `display_price`, `ordering`, `type`) VALUES (1, 'COM_PHOCACART_DEFAULT', '1', '1', '1', '1');

message from MySQL:
#1062 - Duplicate entry '1' for key 'PRIMARY'

5 - For other database update everything went whell

**RESULT on website:

Most of the things seems to works, but
**I run into a Fatal error when I click onto a product from the category for moving to product-view:

Call to undefined method PhocacartRenderJs::renderPhSwapImageInitialize() in /membri/shopbimbo/public_html/templates/jf_simone/html/com_phocacart/item/default.php on line 198

the resulting page is missing the Simone template, I have blank BG plus photo and description.

6 - I avoided to install 3.0.1 for the moment.

Do you have some ideas on how to solve?

thanks
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

Other news
I was able to update the three patches of JF Simone for Phocacart, JFSimone patch8 -8.1 -9.0, followed istruction from the JF website.

Result:
The problem still persists, when I try to open a product display page, it shows a blank page with images and product description, but it lacks all the features of Simone template

Fatal error: Call to undefined method PhocacartRenderJs::renderPhSwapImageInitialize() in /membri/shopbimbo/public_html/templates/jf_simone/html/com_phocacart/item/default.php on line 201
Marloon
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 20 Dec 2017, 14:02

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Marloon »

Unfortunately the problem comes back!! :-(
But I understood wath Happens :-)

The problem is related to "product -> attributes"

If you add attribute like "color" or "size" when you try to open a product page everything is wrong and you miss the feature of Simone theme!

if you leave "product -> attributes" empty without add enything, phocacart works well!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Update from v3.0.0 RC6 -> v3.0.2

Post by Jan »

Hi, I will try to prepare the patch for Simone as soon as possible.

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