News:

Looking for documentation? Take a look on our wiki

Main Menu

[Solved;install Core, then AIO]Upgrade to 3.0.8 broke backend

Started by donter, April 21, 2015, 11:51:02 AM

Previous topic - Next topic

donter

Hi all, I have a Joomla 3.4.1 + VM 3.0.6.2 setup, and just got an update notification for 3.0.8.
I updated the AIO component first, and all I got was a white page with the error:
Fatal error: Call to undefined method vRequest::vmSpecialChars() in /<clipped>/public_html/administrator/modules/mod_vmmenu/helper.php on line 57

Frontend works ok it seems, but right after I login to the backend I get the white page and error, nothing else.
I went into helper.php and changed line 57 from this:
$vmComponentItem->link = vRequest::vmSpecialChars(trim($vmComponentItem->link));
to this:
$vmComponentItem->link = trim($vmComponentItem->link);
And now the backend works again.

My question is:
1. What is the risk of running my shop like this?
2. Is there a way to fix the original problem?

Cheers,
Donter

Milbo

No, shouldnt be a problem, because it is only used in the BE menu. But actually, you should always install first the Core, then the AIO. Then you wouldnt had the problem.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

donter

Thanks. I always forget which one should be done first. Too bad Joomla does not allow descriptions in their update manager..
So, after upgrading Core, and re-enabling the vRequest::vmSpecialChars() function, it's fine :)

Cheers,
Donter

sealion

I also had the same problem - it was because for some reason the Joomla update manager was saying that I needed to update the AIO component to 3.0.8, but for some reason did not mention the main Virtuemart component. I was in a hurry, and thought that I had already updated the main component, and just needed to update the AIO component - leading to my problem.

But I don't think there is a problem with the update site for the main component, it is showing up now, so I think all is fine.

baqpad

Quote from: sealion on April 22, 2015, 16:39:01 PM
I also had the same problem - it was because for some reason the Joomla update manager was saying that I needed to update the AIO component to 3.0.8, but for some reason did not mention the main Virtuemart component. I was in a hurry, and thought that I had already updated the main component, and just needed to update the AIO component - leading to my problem.

But I don't think there is a problem with the update site for the main component, it is showing up now, so I think all is fine.

Same thing here. Joomla didn't advise to update to VM 3.0.8 just mentioned AIO update. I update the AIO first, no problema, but when tried manually VM core 3.0.8 update did get the following error from Joomla installer: 'Duplicate entry 'address_2' for key 'name' SQL=ALTER TABLE `xxxxx_virtuemart_userfields` ADD UNIQUE KEY `name` (`name`)' and 'Error while instaling the component'.
Any idea what can be done? Stucked now with this update.

J! 3.4.1
VM 3.0.6.2

Edit: Sorry, found a solution here: http://forum.virtuemart.net/index.php?action=post;quote=445923;topic=129551.0;last_msg=445923