VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: webbie65 on May 02, 2014, 12:01:13 PM

Title: White side after migration from 2.06d to 2.6
Post by: webbie65 on May 02, 2014, 12:01:13 PM
Hello, in my shop i tried to upgrade the virtuemart shop with one click.
After that there happend nothing, the upgrade button is still in virtuemart,
but i could see a few seconds, that there was a window, but as i said, it seems, that it was not updating.
So later i worked with the side in the frontend and everything was white. Backend is still ok, but i cannot see anything
in the frontend. So i have no backup, what to do now? The php version 5.3.3, it seems it is not enough for the new version.

Is there anything i can do, to make it undo now? Maybe new installation with old virtuemart version or anything to delete in the database maybe?
It would be great, if you could help me!
Title: Re: White side after migration from 2.06d to 2.6
Post by: GJC Web Design on May 02, 2014, 15:16:39 PM
The min requirement is php 5.3.10  which isn't in fact a very new version...

can't you ask your host to upgrade to at least this?

Or in most cPanel hosting you can choose your php version.

Worst comes to worst you would have to try and replace the VM files by ftp to an older version - but really - a backup is the absolute minimum before doing anything on a site..

make sure you make a backup before you try anything else

database shouldn't be touched - it is the files - what did u upgrade from?
Title: Re: White side after migration from 2.06d to 2.6
Post by: bichito on May 03, 2014, 14:20:10 PM
Hi there. Same happened to me. I clicked on the update found. Click to update to VM 2.6.0 and nothing happened. The buttons stills shows as if no update was carried out and everything works fine but the frontpage of the store which does not show. When I access the storefront.. a I get a blank page, however, if from the template's front I click on any of the products, I can access them so it appears that it is an error related to VM frontpage. My PHP is 5.3.38. I have not done any install nor touch any code, and I know I should have backed up the site, I just thought such a small upgrade would not caused any issues from a well developed component, but I was wrong.

Any ideas?
Title: Re: White side after migration from 2.06d to 2.6
Post by: GJC Web Design on May 03, 2014, 14:41:29 PM
As Milbo pointed out - if you switch on VM debugging in the VM admin it suppresses the fatal error and you should see the error printed

Do all the normal white screen research - log files etc - lots of posts on here and Jenks always has the links to 500 error debugging posts on his posts about this
Title: Re: White side after migration from 2.06d to 2.6
Post by: jenkinhill on May 03, 2014, 15:34:00 PM
Like this: http://forum.virtuemart.net/index.php?topic=121692.0
Title: Re: White side after migration from 2.06d to 2.6
Post by: carfaja on May 03, 2014, 18:10:57 PM
I have the same problem, I have installed joomla 2.5.19, PHP 5.3.27 and the log_error I get the following line:

[03-May-2014 15:32:10 UTC] PHP Fatal error:  Class 'vmRequest' not found in /home/misitio/public_html/plugins/vmcustom/specification/specification.php on line 98

I check the line and the following appears:

if ($keyword = vmRequest::uword('custom_specification_name1', null, ' ')) {
$db = JFactory::getDBO();
if ($this->_name != $this->GetNameByCustomId($custom_id)) return;
$keyword = '"%' . $db->getEscaped( $keyword, true ) . '%"' ;
$where[] = $this->_name .'.`custom_specification_default1` LIKE '.$keyword;
$PluginJoinTables[] = $this->_name ;


Thank you very much for your help
Title: Re: White side after migration from 2.06d to 2.6
Post by: GJC Web Design on May 03, 2014, 20:04:45 PM
seems odd that that class is missing as it's used throughout VM although new for 2.6.0

can you check if it's in the folder administrator/components/com_virtuemart/helpers  (vrequest.php)

Title: Re: White side after migration from 2.06d to 2.6
Post by: jenkinhill on May 03, 2014, 20:56:26 PM
carfaja did you also install/update the aio component?

I did find this: http://forum.virtuemart.net/index.php?topic=123237.
Title: Re: White side after migration from 2.06d to 2.6
Post by: webbie65 on May 07, 2014, 15:52:27 PM
Problem is solved. Thank you very much! I installed it again completly new over my old installation and upgraded also the aim tool. So it works.
Title: Re: White side after migration from 2.06d to 2.6
Post by: GJC Web Design on May 07, 2014, 15:58:59 PM
Yes - I'm pretty sure it's a failing live update which then "just" updates the AOI

see  http://forum.virtuemart.net/index.php?topic=123667.msg422208#msg422208