Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2018-09-09 19:45:27

dchew
Member
From: Northeast Ohio
Registered: 2016-05-15
Posts: 38
Website

Errors during upgrade

I have the following errors:

In https://www.davechewphotography.com/backlight/
Warning: require_once(../backlight/modules/module-framework/Framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/31/14016031/html/backlight/index.php on line 8

Fatal error: require_once() [function.require]: Failed opening required '../backlight/modules/module-framework/Framework.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/31/14016031/html/backlight/index.php on line 8

In https://www.davechewphotography.com/bac … installer/

Parse error: syntax error, unexpected T_CONST in /home/content/31/14016031/html/backlight/installer/lib/Installer.php on line 10

I copied the root .htaccess and index.php files over and the /backlight/.htaccess, env.php.skel, index.php files. Also folders /backlight/installer and /backlight/modules. Not /backlight/custom or /backlight/data.

Dave

Offline

#2 2018-09-09 19:51:40

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Errors during upgrade

Hi Dave, Backlight 2 requires PHP 5.4 or newer.  We recommend at least 5.6, because it provides more secure password encryption.  The T_CONST error comes up for hosts running PHP 5.2.  Unfortunately, the error comes up earlier than we check and advise on the version.

Can you change your PHP version in your control panel to 5.6 or newer?  If you're using Bluehost, the setting should be available under 'PHP Config'.  Changing it on other hosts should be similar.  Once changed, visit https://www.davechewphotography.com/baklight/installer/ again to proceed with installation.

Offline

#3 2018-09-09 20:06:02

dchew
Member
From: Northeast Ohio
Registered: 2016-05-15
Posts: 38
Website

Re: Errors during upgrade

Thanks Ben I will check. Using Godaddy not Bluehost. Started with them and I've been too lazy to change...

Dave

Offline

#4 2018-09-09 21:13:02

dchew
Member
From: Northeast Ohio
Registered: 2016-05-15
Posts: 38
Website

Re: Errors during upgrade

That worked! I have one more minor problem: I must have something somewhere that links to the old Okapi modules. I get this error from the  galleries page: https://www.davechewphotography.com/galleries/
Something went wrong
Unable to find the module standard-album-set.
Have you removed this from backlight/designer/modules? If so, either copy the module back, or change the template used by this album. in EngineFactory.php on line 404

I can't seem to find it. All my templates say "Pangolin...", for page type. I'd rather not have to install the old Okapi modules if I don't have to.

Dave

Offline

#5 2018-09-09 21:18:48

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Errors during upgrade

Hi Dave,  It looks like the template used for your 'galleries' Top-level Gallery is using Okapi.  To change it, visit Designer -> Assign Templates, and choose a Pangolin Album Set template for Galleries.

Offline

#6 2018-09-09 21:34:44

dchew
Member
From: Northeast Ohio
Registered: 2016-05-15
Posts: 38
Website

Re: Errors during upgrade

Couldn't find any templates using Okapi, but I went through and re-saved the galleries page and it works now. Thank you very much.

Dave

Offline

#7 2018-09-09 21:37:02

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Errors during upgrade

Hi Dave, I'm glad to hear you solved it.

Offline

Board footer

Powered by FluxBB