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

[partially solved] Upgrading AIO from 3.0.2 to 3.0.3 not working on J 2.5.28

Started by SteP[IT], January 15, 2015, 11:38:41 AM

Previous topic - Next topic

SteP[IT]

I need to test VM 3.0.3 an Joomla 2.5.28 to see if I can let the website customer start from this step before also upgrading Joomla, but the AIO upgrade from 3.0.2 to 3.0.3 doesn't work: it gives back a "Unable to write entry" error. The 3.0.2 AIO version installs correctly.
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

SteP[IT]

J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

GJC Web Design

it normally means a permission problem - folder or file

dig into the Joomla file that is displaying the message - see how i did it for a similar problem here:
http://www.gjcwebdesign.com/joomla-virtuemart-tips/785-joomla-an-error-has-occurred-copy-file-failed.html

then you can see what file is not being able to be written
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

SteP[IT]

Following that suggestion (thanks for that), I have found that the initial problem was probably related to the used archive type (3.0.2 AIO is a zip, 3.0.3 is a tar.gz). Then I have rezipped its content in a zip file, but another problem arised during the AIO installation, it gave back an error:

[quote][quote]Fatal error: Call to undefined method VirtueMartModelUpdatesMigration::updateJoomlaUpdateServer() in /var/www/www-plugged-data/www-toolware/tmp/install_54ba6d175af3c/com_virtuemart.3.0.3_ext_aio(1)/script.vmallinone.php on line 542 [/quote][/quote]

To get the installation working I had to comment out in script.vmallinone.php all lines having that call (lines 176, 245 and 542). In that way the installation ended up correctly and the AIO has been installed.

It seems to be a bug to be fixed.
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

GJC Web Design

appears your server can't handle tar.gz so zipping was the correct thing to do

I have installed many many 3.0.3 during testing and live sites and have never seen the error you mention ->VirtueMartModelUpdatesMigration::updateJoomlaUpdateServer

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

Daniel Sjöstrand

I had the exact same problem. I didn't use the Zip file

Tryed commenting out all lines containing:
$umimodel->updateJoomlaUpdateServer( 'module', 'mod_vmmenu', $dst   );

And the AIO installed. I don't know if this affects functionallity though.... Seems like a bug to me also.

Thankyou for the tip about commenting out these lines! :)

Milbo

use the aio 3.0.6.2,

the real reason was that the AIO did not create folders.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Daniel Sjöstrand

*FrEck*

After doing this last thing friday I thought everythung was fine. never checked the site...
Unfortunately there must be some major error here, because now the frontpage says this:

Fatal error: Call to undefined method shopFunctionsF::sortLoadProductCustomsStockInd()

* I've checked the filepremissions.
* Uninstalled, re-installed the component (AIO)
* Tryed installing AIO 3.0.6_extract_first.zip instead of aio 3.0.6.2
* Tryed commenting out the three lines that causes the error at install...
* Tryed installing the AIO manually


- Update -
After clearing the tmp folder and editing install files from 3.0.6 I was able to get the front end to work again...


VM 3.0.2
Joomla 3.4.0



GJC Web Design

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

Milbo

Quote from: Daniel Sjöstrand on March 08, 2015, 21:47:27 PM
Fatal error: Call to undefined method shopFunctionsF::sortLoadProductCustomsStockInd()

Means that the Core is not updated.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Daniel Sjöstrand

Milbo

Thank you for this (and not saying that i'm an idiot)

I *Facepalm* idiot in some late-night foggy mind failed the install of VM core before updating the AIO.

I think this was due to Joomla auto update - "There is a new update - install it Yes/no"
I clicked Update and thought it was what I was suppesed to do. Now I realise I should have updated Joomla core first

ha ha ha