VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Tikkiro on April 22, 2014, 17:08:36 PM

Title: Latest update has "killed" front end shop :(
Post by: Tikkiro on April 22, 2014, 17:08:36 PM
Hi
I've just installed the 2.6.0 update to my working live site only to have the shop disappear completely from the front end leaving you with just a blank screen (no site/menu etc-nothing!).  I'm now working on my test site (ok I know - should have done it this way round first, but haven't ever had such a problem before  :( ) and have tried various things like changing to a default template (Beez & Rhuk-M) to no avail.  I've dumped temp files & caches etc but still can't get it up.  Only good thing is that everything's still there in the Admin side (albeit with some minor issues - layouts etc) and if I put the shop offline at least the message shows up.

Spec as follows:
PHP Built On    Linux web111.extendcp.co.uk 2.6.32-431.1.2.el6.x86_64 #1 SMP Sun Nov 24 09:37:37 EST 2013 x86_64
Database Version    5.5.35
Database Collation    utf8_general_ci
PHP Version    5.4.25

I've also tried viewing it on different browsers to no avail either.

I know it's likely a minor glitch somewhere preventing it from loading - anyone any ideas on how to fix it fairly quickly.  I'm not in any major panic on it - my shop's not overly busy & the glitch is unlikely to cause any huge problems but would still like to just figure out how to resolve it for future.

Thanks  :D
ROmayne
Gentle Touch Cards (http://www.kitsandcards.co.uk/index.php/handmade-cards)
Title: Re: Latest update has "killed" front end shop :(
Post by: jenkinhill on April 22, 2014, 18:00:11 PM
Blank page FAQ - http://forum.virtuemart.net/index.php?topic=121692.0
Title: Re: Latest update has "killed" front end shop :(
Post by: Tikkiro on April 23, 2014, 16:35:36 PM
Thanks for your patience (as ever!) Jenkin - promise I did do some searches prior but errantly didn't think to check the FAQs again :(.

Anyway - having now got some error msgs to work with I'm as stumped as ever as I've zilch idea what this relates to.

Notice: Trying to get property of non-object in /home/sites/kitsandcards.co.uk/****/administrator/includes/application.php on line 276 Warning: Creating default object from empty value in /home/sites/kitsandcards.co.uk/****/administrator/includes/application.php on line 276 Notice: Undefined property: stdClass::$params in /home/sites/kitsandcards.co.uk/****/administrator/includes/application.php on line 277
(I'm working on my test site currently to try & prevent causing any further damage to the live site).

It did throw up some errors with respect to the "Latest news" module but removing that hasn't fixed everything else, so unsure where to go from here. 

I'm presuming it's linked in some way to the VM update as both sites lost the shop alone after the update.

(Is this a vital update or could I revert back to the prior version without problems?).

Thanks again - truly appreciate your time/help as always Jenkin. :)
Title: Re: Latest update has "killed" front end shop :(
Post by: GJC Web Design on April 23, 2014, 20:22:48 PM
Those 3 are just warnings and notices  - they won't cause a white screen

Quoteif I put the shop offline at least the message shows up.

means that it is VM causing it - have you asked your host if their Apache error files show something as it sounds like it is failing at this level.

Could be as simple as the update didn't fully complete.

Did you use the live updater or install manually from Joomla?

And no - an update to 2.6.0 isn't nesscesary - as I read it there are no security or bug fixes
Title: Re: Latest update has "killed" front end shop :(
Post by: jenkinhill on April 23, 2014, 20:44:30 PM
Yes it does sound like a failed installation so you have files missing or some corruption. As there is access from the backend I'd update again - using Joomla's extension manager, certainly not the live update....  The lesson again is never to update a live site.  The notice & warning may already have been there as you are using PHP5.4+

There are some bugfixes & enhancements in 2.6 as well as some increased security for encryption of card/customer data. The list (although not complete) is on http://virtuemart.net/news/latest-news/456-virtuemart-are-proud-to-release-vm2-6
Title: Re: Latest update has "killed" front end shop :(
Post by: Milbo on April 24, 2014, 10:11:12 AM
Enable the vmdebug. It suppresses the fatal errors.
Title: Re: Latest update has "killed" front end shop :(
Post by: Tikkiro on April 24, 2014, 16:18:31 PM
Thanks guys - you were all right - I did as suggested & reinstalled everything manually and while the version on my test site's still got some major issues (won't render the admin side properly to let me into product descriptions or editing etc) the more important LIVE site works fully once again!! 

Can't tell you how much I appreciate your time, effort & input - I know this was probably an issue maybe dealt with before but I couldn't find an exact match in my searches etc.   

I'm not overly worried on the test site version - at least I can play about with it a bit more & see if I can fix it in time, but just so glad the live site did sort itself out.

THANK YOU!!!
Title: Re: Latest update has "killed" front end shop :(
Post by: bichito on May 03, 2014, 14:45:09 PM
Hi guys,,.. reading the above, the same thing happened to me.. it looked like the install never completed. I did install 2.6.0 from the extensions install to try fix it but the blank page continues to show. From the manu, I can access any of the VM menu links and they all work, but as soon as I choose VM default's frontpage layout, I land on a blank page.

Any clues?
Title: Re: Latest update has "killed" front end shop :(
Post by: GJC Web Design on May 03, 2014, 14:56:17 PM
The option seems to be to re-install manually via the Joomla installer - it does appear that the update - which is after all just writing new files and running a script - doesn't complete via the live update.

I have seen this on a few servers .. I have seen cpanel servers that have a nightly security script that sets files with 'config' in their name to 400 permissions - meaning nothing can over write them so the install fails.

Have you tried Milbo's suggestion?

QuoteEnable the vmdebug. It suppresses the fatal errors.

other wise, with the backup that of course you made before updating ) ready by your side.. try a re-install from the joomla installer

At least then if you get a failure you will get a message : e.g. Copy file failed

if so see here:  http://www.gjcwebdesign.com/joomla-virtuemart-tips/785-joomla-an-error-has-occurred-copy-file-failed.html
Title: Re: Latest update has "killed" front end shop :(
Post by: bichito on May 03, 2014, 15:23:35 PM
Thanks! I will try that and see what happens.
Title: Re: Latest update has "killed" front end shop :(
Post by: GJC Web Design on May 04, 2014, 13:20:53 PM
see http://forum.virtuemart.net/index.php?topic=123667.0