VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: guardiano78 on June 15, 2016, 16:31:01 PM

Title: upgrade from 3.0.8 [SOLVED]
Post by: guardiano78 on June 15, 2016, 16:31:01 PM
Hello,
i'm trying to upgrade my virtuemart from 3.0.8 to latest version.
Before doing this, i did the override of all tmpl pages of modules and component.
I tested my override and works fine.
Now i try to install component and modules of the latest version but my override was ignored.
what am I doing wrong?

Thanks!

joomla 3.5.1 - virtuemart 3.0.8
Title: Re: upgrade from 3.0.8
Post by: jenkinhill on June 15, 2016, 16:42:14 PM
I assume that the template overrides are correctly placed, eg templates/[yourJoomlaTemplate]/html/com_virtuemart/productdetails/  for productdetails tmpl overrides and that sublayouts are in templates/[yourJoomlaTemplate]/html/com_virtuemart/sublayouts/ and all files still have their default names?

Check that you have the right settings on Configuration/Templates/Shopfront Settings
Title: Re: upgrade from 3.0.8
Post by: guardiano78 on June 15, 2016, 16:55:07 PM
Hi, thank you for response.
I'm sure that my override works fine, because before update, i tested it making little modifications for all single file and checking if pages results is correct.

Quote
Check that you have the right settings on Configuration/Templates/Shopfront Settings
[\QUOTE]
What do you mean? About template in use?
Title: Re: upgrade from 3.0.8
Post by: jenkinhill on June 15, 2016, 18:23:24 PM
If the files are using the same names then for Category Layout etc do you show "No override"
Title: Re: upgrade from 3.0.8
Post by: guardiano78 on June 15, 2016, 19:09:57 PM
In fact, before proceeding with the update it all works.
in joomla I set the report of errors: developer
for example in product detail page i have this error:

# Time    Memory Function Location
1 0.0009 143456 {main}( ) ..\index.php:0
2 0.0781 2480952 JApplicationCms->execute( ) ..\index.php:49
3 0.0781 2481056 JApplicationSite->doExecute( ) ..\cms.php:257
4 0.1423 4214032 JApplicationSite->dispatch( ) ..\site.php:230
5 0.1475 4251104 JComponentHelper::renderComponent( ) ..\site.php:191
6 0.1520 4351408 JComponentHelper::executeComponent( ) ..\helper.php:380
7 0.1529 4400720 require_once( 'C:\xampp\htdocs\website\components\com_virtuemart\virtuemart.php' ) ..\helper.php:405
8 0.2056 6544064 JControllerLegacy->execute( ) ..\virtuemart.php:124
9 0.2056 6544088 VirtueMartControllerProductdetails->display( ) ..\legacy.php:728
10 0.2109 6751008 VirtueMartViewProductdetails->display( ) ..\productdetails.php:55
11 0.5444 13572800 VmView->display( ) ..\view.html.php:339
12 0.5444 13573056 JViewLegacy->loadTemplate( ) ..\vmview.php:37
13 0.5474 13638136 include( 'C:\xampp\htdocs\website\templates\beez3\html\com_virtuemart\productdetails\default.php' ) ..\legacy.php:670
14 0.5526 13642992 shopFunctionsF::renderVmSubLayout( ) ..\default.php:144
15 0.5536 13675648 include( 'C:\xampp\htdocs\website\templates\beez3\html\com_virtuemart\sublayouts\stockhandle.php' )
Title: Re: upgrade from 3.0.8
Post by: GJC Web Design on June 15, 2016, 22:17:01 PM
this isn't an error.. it is just a time and memory usage read out
Title: Re: upgrade from 3.0.8
Post by: jenkinhill on June 15, 2016, 23:42:35 PM
And it does show that your override files are being used:
include( 'C:\xampp\htdocs\website\templates\beez3\html\com_virtuemart\productdetails\default.php' )   
include( 'C:\xampp\htdocs\website\templates\beez3\html\com_virtuemart\sublayouts\stockhandle.php' )
Title: Re: upgrade from 3.0.8
Post by: guardiano78 on June 17, 2016, 12:09:09 PM
Hello,
I had forgotten that he had made changes in the file administrator\components\com_virtuemart\tables\products.php

it works now, thanks.