News:

Looking for documentation? Take a look on our wiki

Main Menu

upgrade from 3.0.8 [SOLVED]

Started by guardiano78, June 15, 2016, 16:31:01 PM

Previous topic - Next topic

guardiano78

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

jenkinhill

#1
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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

guardiano78

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?

jenkinhill

If the files are using the same names then for Category Layout etc do you show "No override"
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

guardiano78

#4
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' )

GJC Web Design

this isn't an error.. it is just a time and memory usage read out
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

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' )
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

guardiano78

Hello,
I had forgotten that he had made changes in the file administrator\components\com_virtuemart\tables\products.php

it works now, thanks.