#1 February 21, 2018 5:28am

Terrra-Robin
Member
Registered: February 7, 2016
Posts: 61

Problems after updating to version

Hi,

We're excited to install the new update with the SMTP mailer! Unfortunately, when we installed it, the CMS is crashed.
We get an empty nav bar and can't edit anything. In the updates before we never had any problem, so I'm curious if you guys know what's going on.

This is ther error we got:
Notice: Undefined index: sites in /home/deparelnew/domains/deparelverloskundigenpraktijk.nl/public_html/core/admin/router.php on line 164

Link to screenshot: https://imgur.com/xkt4GuB

Thanks in advance!

Offline

#2 February 21, 2018 8:57am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Problems after updating to version

Try adding

$bigtree["config"]["sites"] = array();

to your /custom/environment.php file and see if that makes a difference.

Offline

#3 February 21, 2018 10:40am

Terrra-Robin
Member
Registered: February 7, 2016
Posts: 61

Re: Problems after updating to version

We're a step further now. The error code is gone!  But the BigTree CMS is still only showing the top bar and a few empty buttons, as in the screenshot. We've experienced this issue on another installation as well, so I think it could be a common thing.

Do you have an idea what else it could be?

Offline

#4 February 21, 2018 10:45am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Problems after updating to version

I've never seen anything like that, unfortunately! And I'm guessing you have errors turned on since that Notice popped up. I'd be happy to take a look with FTP access if you're comfortable PM'ing me that.

Offline

#5 February 21, 2018 11:03am

Terrra-Robin
Member
Registered: February 7, 2016
Posts: 61

Re: Problems after updating to version

Hmm, maybe something with writing rights then?
Thanks! I've PM'd you the FTP credentials.

Offline

#6 February 21, 2018 11:23am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Problems after updating to version

I think I actually just figured this out after upgrading another site -- on PHP instances that are running below 7.0 but have support for the Locale class, BigTree is improperly loading a library that requires PHP 7.0.

Changing line 1555 of /core/inc/bigtree/cms.php to:

if (class_exists("Locale") && version_compare(PHP_VERSION, "7.0.0") >= 0) {

should fix the issue!

I'll be making an emergency 4.2.21 release later today with this fix and another (not critical) bug fix.

Offline

#7 February 21, 2018 11:41am

Terrra-Robin
Member
Registered: February 7, 2016
Posts: 61

Re: Problems after updating to version

Perfect. It worked! Thanks fot the quick help!

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.