News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Manual upgrade to Virtuemart 3.0.18?

Started by bobdev, September 23, 2016, 11:52:13 AM

Previous topic - Next topic

bobdev

Hello everyone,
I have a problem in upgrading to Virtuemart 3.0.18 and it is related to the configuration of my php environment. The hosting service in which my site is installed has set a quite low php max_execution_time value (50 seconds) and it seems it is not enough to allow the upgrade process to complete.
I tried to upgrade virtuemart in my development machine and it works fine. The provider of the hosting service said they will not change max_execution_time, not even for allowing me to complete the upgrade, as a result I cannot upgrade virtuemart to version 3.0.18.
Is there a way I can manually upgrade virtuemart to version 3.0.18, including database changes?

Thank you.

GJC Web Design

QuoteThe provider of the hosting service said they will not change max_execution_time

I know what I would tell the host!  why stay???

you could try running the queries manually  -- look at

public function update ($loadVm = true) {

administrator\components\com_virtuemart\install\script.virtuemart.php

or just get the local DB the same as the live.. update and use that DB

but I know which one I would do...
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

bobdev

Quote from: GJC Web Design on September 23, 2016, 13:18:35 PM
I know what I would tell the host!  why stay???

you could try running the queries manually  -- look at

public function update ($loadVm = true) {

administrator\components\com_virtuemart\install\script.virtuemart.php

or just get the local DB the same as the live.. update and use that DB

but I know which one I would do...

Thank you for your answer and help. I totally agree with you about what one should do or say when the host is giving such a poor support. And I told them, of course!
The fact is my client wants to stay there and I need to upgrade the site. I also thought about manually copying the files from the development machine, but I am not sure which directories and files I should copy (besides the obvious ones, of course)
I also thought about copying all the local virtuemart tables to the live site and this is very easy, of course. My concern is about the files/folders/settings in my development machine to be copied to the live server.

Thank you.

GJC Web Design

I would

1. Akeeba the live site
2. install locally
3. update
4. reinstall in a subfolder on the host
5. if all OK shift it live

if 4 fails then you need to do it manually .. all vm files and the db
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

bobdev

Quote from: GJC Web Design on September 23, 2016, 13:58:15 PM
if 4 fails then you need to do it manually .. all vm files and the db

This is what I thought I would do. to copy all the vm files and db, provided I knew all the vm file names.

GJC Web Design

just look at the installer  .. 2 folders
but it isn't going to do the completely necessary table updates

that is what is hitting the process limit
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

bobdev

Quote from: GJC Web Design on September 23, 2016, 14:51:17 PM
just look at the installer  .. 2 folders
but it isn't going to do the completely necessary table updates

that is what is hitting the process limit

Thank you for your support, time and help. I in fact took a look at the package files and it seems part of the table updates is missing in 3.0.18 distribution. I guess the rest is in the 3.0.17 series.
I guess I can end up doing a bare copy of the files in the 2 folders of the installer and then restore all virtuemart tables backed up from my development machine.

GJC Web Design

still don't see why u don't

1. Akeeba the live site
2. install locally
3. update
4. reinstall in a subfolder on the host
5. if all OK shift it live

then everything is done
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

bobdev

Quote from: GJC Web Design on September 23, 2016, 22:28:29 PM
still don't see why u don't

1. Akeeba the live site

I tried to use Akeeba but, unfortunately, it is giving me a HTTP 500 Internal server error during the backup process.

GJC Web Design

due to the crap host server

I would just tell my client get a decent host or bye .. or are they in to self flagellation?

who is it?  Hostgator et la?
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

bobdev

Quote from: GJC Web Design on September 24, 2016, 16:02:40 PM
due to the crap host server

I would just tell my client get a decent host or bye .. or are they in to self flagellation?

who is it?  Hostgator et la?

I am absolutely aware my client's host is absolutely crap! They are giving me quite a hard time with their limitations!

GJC Web Design

I can not think of a single reason to keep a bad host.. good hosts cost exactly the same and are far cheaper in the long run because the client doesn't need to pay u all these extra hours to do the simplest of procedures

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

bobdev

Quote from: GJC Web Design on September 24, 2016, 23:21:48 PM
I can not think of a single reason to keep a bad host.. good hosts cost exactly the same and are far cheaper in the long run because the client doesn't need to pay u all these extra hours to do the simplest of procedures

I agree 100% with you.