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

"Fatal Error" when trying to upgrade to new version

Started by cmhardware, August 22, 2012, 23:35:10 PM

Previous topic - Next topic

cmhardware

I have been having some issues with virtuemart: not all of my products are showing, the pictures are causing error reports, most recently my site says "Notice: Trying to get property of non-object in /var/www/vhosts/courtneymorgan.com/httpdocs/administrator/components/com_virtuemart/models/user.php on line 142" at the top of the storefront.

I tried to upgrade to the most recent version hoping this would help, but now I recieve the error: "Fatal error: Cannot pass parameter 2 by reference in /var/www/vhosts/courtneymorgan.com/httpdocs/administrator/components/com_virtuemart/liveupdate/classes/download.php on line 40"
when I try to upgrade to the current verion of virtuemart.

Any help is appreciated

Thank you!

bytelord

Hi,

Please try the following:

Download the tar.gz files from http://dev.virtuemart.net/projects/virtuemart/files and do a manual update from Joomla Backend ... Extensions -> Extensions Manager.
First upgrade the core VM and after AIO extensions.

hope helps you out!

Regard
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

cmhardware

When uploading the AIO extension, I received this error:

Warning: require(/var/www/vhosts/courtneymorgan.com/httpdocs/plugins/search/virtuemart/virtuemart.php) [function.require]: failed to open stream: No such file or directory in /var/www/vhosts/courtneymorgan.com/httpdocs/tmp/install_50351d22ca3cb/script.vmallinone.php on line 323

Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/courtneymorgan.com/httpdocs/plugins/search/virtuemart/virtuemart.php' (include_path='.:') in /var/www/vhosts/courtneymorgan.com/httpdocs/tmp/install_50351d22ca3cb/script.vmallinone.php on line 323


Any suggestions?!

Thank you for the help!

bytelord

Hello,

Please post your PHP, VM and joomla versions.

Thank you
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

cmhardware

PHP Built On Linux host.yourfreehosting.com 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64

Database Version: 5.1.54

Database Collation: utf8_general_ci

PHP Version: 5.2.16

Joomla! Version: Joomla! 1.7.5 Stable [ Ember ] 02-Feb-2012 14:00 GMT

Joomla! Platform Version: Joomla Platform 11.2.0 Stable+Modified [ Omar ] 27-Jul-2011 00:00 GMT

jenkinhill

Joomla 1.7.5 is way past end of life and has known security issues. Upgrade to J2.5.6 is highly recommended.  VM2.0.10 has not been tested on J1.7 for obvious reasons.

Also PHP 5.2.16 is too old. For Joomla 1.7/2.5 absolute minimum required is 5.2.4 - http://www.joomla.org/technical-requirements.html
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

cmhardware

Thanks for the information. I've inherited this site with the task of trying to update it. How would I go about upgrading to the most current versions?

Thank you!!!

jenkinhill

Upgrade of Joomla is easy as it has a built-in updater in the Extensions manager. Your host needs to update the php version - or you need to find a better hosting service. I suspect that limitations in php configuration prevente a proper install of the aio component. I use the settings listed here and have had no issues with any installations: http://forum.virtuemart.net/index.php?topic=102045.msg339125#msg339125
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

cmhardware

When I look under extensions manager, it says "there are no updates available." Is there somewhere else I should be looking for the joomla updates?

As for the php, we have already been in the market to switch to a new host.

Thank you!

cmhardware

I found the joomla update, but recieved another error message:

-1 - An error has occurred.
Copy failed

Any ideas?

jenkinhill

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